LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   to add spare disk (https://www.linuxquestions.org/questions/linux-newbie-8/to-add-spare-disk-878398/)

somsharan 05-02-2011 02:54 PM

to add spare disk
 
Hi every one
I need a shell script which add's spare disk or device(extra space) to the existing filesystem??


plz help me out,,,,,,

MS3FGX 05-02-2011 06:02 PM

Adding another drive to the existing filesystem is as easy as mounting it to a partition within the existing filesystem. It is just one command, a script is not really necessary.

Unless you are talking about something more specific, like LVM?

somsharan 05-03-2011 02:38 AM

ya it's like lvm itself but but here i add the spare disk or device to the file system created by me using mdadm...
but i need the shell script which does adding on executing and the disk no should increment on each execution the incremented value
should be stored ...... and use for another execution of that script...


All times are GMT -5. The time now is 05:44 AM.