As described in the RAID5.HOWTO, I disconnected one of the SCSI disks.
The raid runs Ok after the rebooting.
My problem is that I can't recover the original full config.
No matter how I change the order of the raidtab, the disconnected-
and-later-reconnected disk is not included in the raid config.
The appended is my raidtab. The reconnected disk is /dev/sdd1.
Do I have to rerun mkraid to use /dev/sdd1 again?
--
sysuh
# cat /etc/raidtab
raiddev /dev/md0
raid-level 5
nr-raid-disks 4
nr-spare-disks 0
parity-algorithm left-symmetric
chunk-size 32
device /dev/sda1
raid-disk 0
device /dev/sdb1
raid-disk 1
device /dev/sdd1
raid-disk 3
device /dev/sdc1
raid-disk 2
# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md0 : active raid5 sdc1[2] sdb1[1] sda1[0] 12578496 blocks level 5, 32k
chunk, algorithm 2 [4/3] [UUU_]
unused devices: <none>