Avevo il sistema in "degraded array" con raid1.

Ho spento il pc, aggiunto il secondo disco (perfettamente identico al
primo, modello e partizioni)

Al riavvio ho dato un:

# mdadm --add /dev/md0 /dev/hdg1

ed è cominciato il sync (che è durato 1 ora)

Ma al reboot, il nuovo disco non lo vuole e torna in degraded mode.

Ecco un estratto di dmesg:
---------------------------------------------------------------------------------
hde: attached ide-disk driver.
hde: 490234752 sectors (251000 MB) w/16384KiB Cache, CHS=30515/255/63, UDMA(33)
hdg: attached ide-disk driver.
hdg: 490234752 sectors (251000 MB) w/16384KiB Cache, CHS=30515/255/63, UDMA(33)
Partition check:
 /dev/ide/host2/bus0/target0/lun0: p1 p2 p3
 /dev/ide/host2/bus1/target0/lun0: p1 p2 p3
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: raid1 personality registered as nr 3
 [events: 00000014]
md: bind<ide/host2/bus0/target0/lun0/part1,1>
md: ide/host2/bus0/target0/lun0/part1's event counter: 00000014
md0: former device ide/host2/bus1/target0/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/host2/bus0/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
--------------------------------------------------------------------------------------------------------

Ma perchè? il disco hdg è perfettamente funzionante, è riconosciuto al
boot, e lo posso montare e smontare tranquillamente.
Perchè dice che "md0: former device ide/host2/bus1/target0/lun0/part1
is unavailable" ?

Ha qualcosa a che fare col superblock? Come faccio l'update del
superblock dei 2 dischi?

Se lo riaggancio all'array con mdadm funziona, fa il sync, ma al
riavvio lo perdo...


-- 
PicoStreamer - the real WEB live streaming software
vinz486.com

Rispondere a