[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] raid creation after adding 2nd hdd



>>> I have done it before, but never noted the steps. Basicaly I
>>> created the partitions and dumped a config file in from a
>>> machine that already had raid.
>>> Upon reboot the rebuild started. I have 3 raid kits coming in
>>> from gerald soon to upgrade some machines, i'll post a step
>>> by step by then.
>> 
>> You need /etc/raidtab from a RaQ4r
>> You need to fdisk the current drive, setting partition type to
>> FD, where it is currently 83.
>> 
>> That may do it! SWAGing it!
> 
> can anyone provide /etc/raidtab from a RaQ4r?

I think I might just have one handy...

-----

$ cat /etc/raidtab
raiddev           /dev/md1
raid-level        1
nr-raid-disks     2
nr-spare-disks    0
chunk-size        4
device            /dev/hda1
raid-disk         0
device            /dev/hdc1
raid-disk         1

raiddev           /dev/md3
raid-level        1
nr-raid-disks     2
nr-spare-disks    0
chunk-size        4
device            /dev/hda3
raid-disk         0
device            /dev/hdc3
raid-disk         1

raiddev           /dev/md4
raid-level        1
nr-raid-disks     2
nr-spare-disks    0
chunk-size        4
device            /dev/hda4
raid-disk         0
device            /dev/hdc4
raid-disk         1

raiddev           /dev/md6
raid-level        1
nr-raid-disks     2
nr-spare-disks    0
chunk-size        4
device            /dev/hda6
raid-disk         0
device            /dev/hdc6
raid-disk         1

-----

There ya go.  That should be stock.. I don't think I've ever touched it.


Don Head
Hosting TAC/UNIX
SAVVIS Communications
www.savvis.net
SAVVIS, The Network That Powers Wall Street