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

Re: raid 1 recovery



hi ya

you only have "data" mirrored as raid1

if either hda or hdc dies.. you wil NOT be able to 
keep running

hda1  must also be "fd filesystem" type in fdisk

that is why you are having so much trouble
when you disconnect hda1 or hdc1
	-- you do NOT have the "linux distro" installed as raid1
	( just mirroring of user data /home )

all partitions are "fd" type

/     should be /dev/md0  == hda1 + hdc1
/tmp  should be /dev/md1  == hda2 + hdc2
/var  should be /dev/md2  == hda3 + hdc3
/usr  should be /dev/md3  == hda5 + hdc5
/home should be /dev/md4  == hda6 + hdc6

-- if you are paranoid, and have an older bios..
	you'd probably want /boot too but newer bios dont have
	those 1024clylinder boot problems

- stick swap in there too 
	- though i dont see any point to mirroring swap...

-- now you have what you were orinally looking for..
	- boot off of hda1  or /dev/hdc1

more fun raid stuff
	http://www.1U-Raid5.net
	( 1.2TB raid5 in 1U ... 8x 160GB each )

c ya
alvin


On Sun, 13 Oct 2002, david hong wrote:

> 
> HDA
> ----
> hda1 /        ext2
> hda2 /swap
> hda3 /home    fd filetyepe
> 
> HDC
> ---
> hdc1 /        ext2
> hdc2 /swap
> hdc3 /home    fd filetype
> 
> /dev/md0:  hda3 + hdc3
> 
> 
> /etc/raidtab:
> raiddev /dev/md0
>         raid-level 1
>         nr-raid-disks 2
>         nr-spare-disks 0
>         chunk-size 4
>         persistent-superblock 1
>         device /dev/hda3
>         raid-device 0
>         device /dev/hdc3
>         raid-device 1



Reply to: