Hello

I did remove sdq1 from my 6-device autodetecting kernel 2.2.11-raid5-set.
Now there's no way, 
to bring it back. 'No spare-disk' it says. What do I need to do?
I tried to rearange the sequenze in /etc/raidtab (device 0 to the bottom)
I added a spare-disk in raidtab.
Please see the boot-messages at the bottom.

Thanks
Urs


--------------------------------------------
running: <sdr1><sdq1><sdp1><sdl1><sdk1><sdj1>
now!
sdr1's event counter: 0000001a
sdq1's event counter: 00000008
sdp1's event counter: 0000001a
sdl1's event counter: 0000001a
sdk1's event counter: 0000001a
sdj1's event counter: 0000001a
md: superblock update time inconsistency -- using the most recent one
freshest: sdr1
md: kicking non-fresh sdq1 from array!
unbind<sdq1,5>
export_rdev(sdq1)
md0: max total readahead window set to 640k
md0: 5 data-disks, max readahead per data-disk: 128k
raid5: device sdr1 operational as raid disk 1
raid5: device sdp1 operational as raid disk 5
raid5: device sdl1 operational as raid disk 0
raid5: device sdk1 operational as raid disk 2
raid5: device sdj1 operational as raid disk 4
raid5: md0, not all disks are operational -- trying to recover array
raid5: allocated 6350kB for md0
raid5: raid level 5 set md0 active with 5 out of 6 devices, algorithm 2
RAID5 conf printout:
 --- rd:6 wd:5 fd:1
 disk 0, s:0, o:1, n:0 rd:0 us:1 dev:sdl1
 disk 1, s:0, o:1, n:1 rd:1 us:1 dev:sdr1
 disk 2, s:0, o:1, n:2 rd:2 us:1 dev:sdk1
 disk 3, s:0, o:0, n:3 rd:3 us:1 dev:[dev 00:00]
 disk 4, s:0, o:1, n:4 rd:4 us:1 dev:sdj1
 disk 5, s:0, o:1, n:5 rd:5 us:1 dev:sdp1
 disk 6, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
 disk 7, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00] 
....

 disk 11, s:0, o:0, n:0 rd:0 us:0 dev:[dev 00:00]
md: updating md0 RAID superblock on device
sdr1 [events: 0000001b](write) sdr1's sb offset: 2048192
md: recovery thread got woken up ...
md0: no spare disk to reconstruct array! -- continuing in degraded mode
md: recovery thread finished ...
sdp1 [events: 0000001b](write) sdp1's sb offset: 2048192
sdl1 [events: 0000001b](write) sdl1's sb offset: 2048192
sdk1 [events: 0000001b](write) sdk1's sb offset: 2048192
sdj1 [events: 0000001b](write) sdj1's sb offset: 2048192
.
... autorun DONE.  
 
------------------ This is raidtab --------------------------------------
raiddev                 /dev/md0
raid-level              5
nr-raid-disks           6
persistent-superblock   1
chunk-size              32
parity-algorithm        left-symmetric

# only added later, after building raidset!
nr-spare-disks          1
 device                  /dev/sdo1
spare-disk              0
 
device                  /dev/sdr1
raid-disk               1
device                  /dev/sdk1
raid-disk               2
device                  /dev/sdq1
raid-disk               3
device                  /dev/sdj1
raid-disk               4
device                  /dev/sdp1
raid-disk               5
device                  /dev/sdl1
raid-disk               0                    

Reply via email to