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

degraded array - former device is unavailable



Hi,

I've problem with software RAID 1. I've installed Debian 3.1 and everything went ok.The machine was running for few days, then it was halted due to power supply failure.

Then, after reboot, there is an error on md0 device as seen in /var/log/dmesg:

md0: former device ide/host0/bus0/target1/lun0/part1 is unavailable, removing from array!

When I look into /proc/mdstat or when I do:

# mdadm -D /dev/md0

I can see that only one disk is active. When I do:

# mdadm /dev/md0 -a /dev/hdb1

everything is ok, both disks are active.

Do you have any idea why is md0 not created correctly? Other arrays are created without any problem.


Thanks!

David Svejda



Additional info:
----------------
Devices and filesystem (all of them are ext3):

Filesystem          Mounted on
/dev/md0             /
/dev/md1             /boot
/dev/md3             /home
/dev/md7             /rest
/dev/md6             /tmp
/dev/md4             /usr
/dev/md5             /var


Relevant info from /var/log/dmesg:

---strip---
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
ICH5-SATA: IDE controller at PCI slot 00:1f.2
ICH5-SATA: chipset revision 2
ICH5-SATA: 100% native mode on irq 18
    ide2: BM-DMA at 0xdc00-0xdc07, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0xdc08-0xdc0f, BIOS settings: hdg:pio, hdh:pio
hda: HL-DT-ST RW/DVD GCC-4521B, ATAPI CD/DVD-ROM drive
hdb: ST3120022A, ATA DISK drive
blk: queue e0838c9c, I/O limit 4095Mb (mask 0xffffffff)
hdc: ST3120022A, ATA DISK drive
blk: queue e0838fb4, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hdb: attached ide-disk driver.
hdb: 234441648 sectors (120034 MB) w/2048KiB Cache, CHS=14593/255/63, UDMA(100)
hdc: attached ide-disk driver.
hdc: 234441648 sectors (120034 MB) w/2048KiB Cache, CHS=14593/255/63, UDMA(100)
Partition check:
 /dev/ide/host0/bus0/target1/lun0: p1 p2 < p5 p6 p7 p8 p9 p10 p11 >
 /dev/ide/host0/bus1/target0/lun0: p1 p2 < p5 p6 p7 p8 p9 p10 p11 >
 [events: 00000014]
md: bind<ide/host0/bus1/target0/lun0/part6,1>
 [events: 00000014]
md: bind<ide/host0/bus0/target1/lun0/part6,2>
md: ide/host0/bus0/target1/lun0/part6's event counter: 00000014
md: ide/host0/bus1/target0/lun0/part6's event counter: 00000014
md2: max total readahead window set to 124k
md2: 1 data-disks, max readahead per data-disk: 124k
raid1: device ide/host0/bus0/target1/lun0/part6 operational as mirror 0
raid1: device ide/host0/bus1/target0/lun0/part6 operational as mirror 1
raid1: raid set md2 active with 2 out of 2 mirrors
md: updating md2 RAID superblock on device
md: ide/host0/bus0/target1/lun0/part6 [events: 00000015]<6>(write) ide/host0/bus0/target1/lun0/part6's sb offset: 1951744 md: ide/host0/bus1/target0/lun0/part6 [events: 00000015]<6>(write) ide/host0/bus1/target0/lun0/part6's sb offset: 1951744
 [events: 00000024]
md: bind<ide/host0/bus1/target0/lun0/part1,1>
md: ide/host0/bus1/target0/lun0/part1's event counter: 00000024
md0: former device ide/host0/bus0/target1/lun0/part1 is unavailable, removing from array!
md0: max total readahead window set to 124k
md0: 1 data-disks, max readahead per data-disk: 124k
raid1: device ide/host0/bus1/target0/lun0/part1 operational as mirror 0
raid1: md0, not all disks are operational -- trying to recover array
raid1: raid set md0 active with 1 out of 2 mirrors
md: updating md0 RAID superblock on device
md: ide/host0/bus1/target0/lun0/part1 [events: 00000025]<6>(write) ide/host0/bus1/target0/lun0/part1's sb offset: 489856
md: recovery thread got woken up ...
md0: no spare disk to reconstruct array! -- continuing in degraded mode
md: recovery thread finished ...
---strip---




Reply to: