Koozali.org: home of the SME Server

turning on RAID on non-boot disk

Dan Smith

turning on RAID on non-boot disk
« on: June 17, 2003, 12:32:29 AM »
Hello all
I've done a pretty good search through the forum messages, and can't find an answer to this one - if it's there, just post the link and I'll be on my merry way...

I've got a 5.6 server (latest release) with a IDE 2 gig drive connected as the /boot disk/partition to the motherboard controller.  I've got a 120 Gig drive connected to a PCI controller (I think it's a SIIG brand) and split into several partitions, mounted at various points in the filesystem.  It's been running pretty flawlessly this way as a samba/webserver for months now.  I'm realizing I'm feeling uncomfortable without a backup for the data on the 120G drive, so I'd like to add a second 120G disk (they're damn cheap these days) to the PCI controller and turn on software RAID across just those 2 disks.  I'm not overly concerned about backing up the 2G drive - I figure I can just image it onto the big disk and let RAID do its magic.  I don't have a current way to backup/restore the 120G drive.

Is there an easy way to turn on & "sync-up" a second disk as a RAID mirror without going through the whole backup - reintall - restore hassle since I'm not turning on RAID across the boot disk?

James Pybus

Re: turning on RAID on non-boot disk
« Reply #1 on: June 17, 2003, 11:21:44 PM »
Not to good on raid but managed to get my second scsi controller working with 3 x 9.10 gb drives as raid 0 today!

Have a look at the man pages for
raid0run
raidhotremove
raidstart
raidhotadd
raidreconf
raidstop
raidhotgenerateerror
raidsetfaulty
mkraid

and in /usr/share/doc/raidtools-1.00.2/

I had to setup my drives in /etc/raidtab and then run mkraid /dev/{raiddevice}

HTH
James