On Thursday June 1, [EMAIL PROTECTED] wrote:
> > Just to set the record straight, no layering of RAID arrays works
> > with the 2.2patch set.
> >
>
> That's interesting since I have several systems with 1 over 0
> including one which is one large partition mirrored as with a pair of
> smaller disks in a 0.
>
> Both of these systems seem to work well with any disk removed from
> the raid sets. They are all 2.2.14 with the ...b1 patch
>
> I don't have a clue what happens if a disk fails in service, but
> manually removing and replacing doesn't seem to bother the raid set
> IF autostart is used on the first layer. Without autostart, the array
> would not start
>
> The config files from these systems are in the
> Boot+Root+Raid+lilo Howto at the Linux Documentation Project
Odd.
I just tried out the scenario for my self.
2.2.14 with the b1 patch.
raidtab as below.
I pulled out /dev/sdc1 and the filesystem ground to a halt.
It kept trying to access sdc1, failing, re-trying etc, ad-infinitum.
There are periodic
md: bug in file md.c, line 485
messages in syslog.
cat /proc/mdstat shows:
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md2 : active raid1 md1[1] md0[0] 71119616 blocks [2/2] [UU] resync=2% finish=316.1min
md1 : active raid0 sdd1[1] sdc1[0] 71119680 blocks 32k chunks
md0 : active raid0 sdb1[1] sda1[0] 71119680 blocks 32k chunks
unused devices: <none>
which shows that it hasn't noticed that anything has failed.
I am trying
raidsetfaulty /dev/md2 /dev/md1
to try to tell the raid1 set that one of the raid0's has failed, but
as yet it hasn't completed.
Admittedly it isn't smoke and flames, or even an Oops, but it is less
than I would demand of a RAID-1 system.
NeilBrown
/etc/raidtab:
raiddev /dev/md0
raid-level 0
nr-raid-disks 2
chunk-size 32
device /dev/sda1
raid-disk 0
device /dev/sdb1
raid-disk 1
raiddev /dev/md1
raid-level 0
nr-raid-disks 2
chunk-size 32
device /dev/sdc1
raid-disk 0
device /dev/sdd1
raid-disk 1
raiddev /dev/md2
raid-level 1
chunk-size 32
nr-raid-disks 2
device /dev/md0
raid-disk 0
device /dev/md1
raid-disk 1