LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-23-2011, 05:06 AM   #1
GasPipe
Member
 
Registered: Jul 2009
Location: Finland
Distribution: Slackware64-current
Posts: 55

Rep: Reputation: 19
Set up software RAID1 on a running system


Hi,

I have a nas / server running Slackware64-13.37 with two raid arrays, one with 3x500GB disks and the other with 2x2TB disks. I also have 1x80GB hdd which contains the os.

I found a spare 250GB hdd from my closet and want to set up raid1 array from os hdd and that spare drive.
I know that I can't make use of the extra 170GB of space but I don't care as long as I have working installation on the other disk if that 80GB hdd breaks.

How can I set up that kind of raid1 without losing any data?

My boot loader is lilo.
 
Old 05-23-2011, 05:58 AM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
Yes you can...

Personally I'd have a look around see if you can get a matching 250Gb drive and create an Array out of that pair and then just rsync the OS across to it.

But you can partition the 250Gb drive to match an identical 80Gb partition and create the array (Even though it will be degraded to begin with). Then rsync the OS to it from the original drive and edit the new fstab to make mdx /. After that you'd shut down the machine, remove the 80Gb drive and boot from a boot disk but into your new /.

You should then be able to reinstall Lilo (after editing the config) and reboot the machine. Once you are happily running with / on your degraded RAID1 you can then partition your 80Gb drive and add it to the Array.

As I mentioned earlier, getting a second drive would be the safest method as you'd always have the 80Gb drive to fall back on.
 
  


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
LXer: How To Set Up Software RAID1 On A Running System (Ubuntu 10.04) LXer Syndicated Linux News 0 07-06-2010 12:00 PM
LXer: How To Set Up Software RAID1 On A Running LVM System (Ubuntu 10.04) LXer Syndicated Linux News 0 06-24-2010 03:00 PM
LXer: How To Set Up Software RAID1 On A Running System (Incl. GRUB Configuration) (Ce LXer Syndicated Linux News 0 09-24-2009 07:50 AM
LXer: How To Set Up Software RAID1 On A Running System (Debian Lenny) LXer Syndicated Linux News 0 08-30-2009 02:10 PM
LXer: How To Set Up Software RAID1 On A Running System (Incl. GRUB Configuration) (De LXer Syndicated Linux News 0 11-29-2007 02:20 PM


All times are GMT -5. The time now is 05:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration