Thanks for the help on this everyone. I have another question about SW RAID and FAI. I found this online http://svn.debian.org/wsvn/fai/people/mugwump/lvmraid/examples/simple/disk_c onfig/MIRRORED?op=file&rev=0&sc=0
Is this the current way to set this up? I think I need to do this in "/srv/fai/config/disk_config/FAIBASE": disk_config sda primary swap 2000 rw ; raid(1,md0) primary /boot 500 rw ; -c -j ext3 raid(1,md1) primary / 5000 rw,errors=remount-ro ; -c -j ext3 raid (1,md2) logical /var/log 10000 rw ; -c -j ext3 raid(1,md3) logical /var/log/apache 0- rw ; -c -j ext3 raid(1,md4) disk_config sdb primary - 2000 ; raid(1,md0) primary - 500 ; raid(1,md1) primary - 5000 ; raid(1,md2) logical - 10000 ; raid(1,md3) logical - 0- ; raid(1,md4) to get this result: config# cat /proc/mdstat Personalities : [raid1] md4 : active raid1 sda6[0] sdb6[1] 55512512 blocks [2/2] [UU] md3 : active raid1 sda5[0] sdb5[1] 9767424 blocks [2/2] [UU] md2 : active raid1 sda3[0] sdb3[1] 4883648 blocks [2/2] [UU] md1 : active raid1 sda2[0] sdb2[1] 489856 blocks [2/2] [UU] md0 : active raid1 sda1[0] sdb1[1] 1951744 blocks [2/2] [UU] Is this correct? Thanks Ralph Ralph Crongeyer <[EMAIL PROTECTED]> wrote: >Thanks for the info, I'll give it a try. >As far as the software RAID setup goes, I don't know? >This is the first time I've set up a SW Raid. However doing it this way if > >one set gets out of sync only that set needs to resync vs the entire disk. > >Does anyone else have any advice on this? > >Thanks! > >Ralph > >Henning Sprang <[EMAIL PROTECTED]> wrote: >>On 1/16/07, Ralph Crongeyer <[EMAIL PROTECTED]> wrote: >>> [...] >>> I want to have the last logical partition use the remaining disk space, >>is >>> this correct just 0- ? >> >>Looks good, I am not sure if zero values work well, if not you might >>do something like 10- >>Do you see an error when you try this? Which one? >> >>And, maybe a bit OT, and maybe I have just no enoughj knowledge about >>SW RAID, but when doing RAID, isn't it better to take the full disks >>and make the sw raid on them, then partition above the md devices >>instead of paritioning the raw device, and doing sw raid for single >>paritions (as it looks what you want to do here)? >> >>Henning >> >> > > > > >