LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-02-2011, 03:54 PM   #1
somsharan
LQ Newbie
 
Registered: Apr 2011
Location: banglore
Posts: 4

Rep: Reputation: 0
Smile 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,,,,,,
 
Old 05-02-2011, 07:02 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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?
 
Old 05-03-2011, 03:38 AM   #3
somsharan
LQ Newbie
 
Registered: Apr 2011
Location: banglore
Posts: 4

Original Poster
Rep: Reputation: 0
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup RAID 5 + 1 spare disk Laodiceans Linux - General 1 08-05-2010 04:17 AM
grub install on spare disk genese Linux - Software 6 02-14-2010 08:18 AM
add space to / when from spare space on disk ctsiow Linux - General 4 11-07-2007 08:55 AM
Add a spare SCSI hard drive twk Linux - Hardware 2 01-04-2007 03:01 PM
How do I add a spare to existing software RAID 5 ? philforrest Linux - Software 1 12-28-2003 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration