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

Problemi ripristino raid software



Un saluto a tutti.

In breve il mio problema: avevo un serverino che fungeva da backup con 1 disco su cui è installato il s.o. ed 3 dischi (da 120 Mb), i primi due in raid 1 ed il secondo come spare. Ad un certo punto mi è saltata la scheda madre ed ho dovuto trasferire i dischi su un'altra macchina simile.
Risultato: NON HO PIU' il RAID...

Questi i risultati da /proc/mdamd e andando in query sui dischi:

------------------------------------------------------------------------------------

Se interrogo /proc/mdadm-->

-bash-2.05b# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5] [multipath]
read_ahead 1024 sectors
md0 : active raid1 hdb1[0]
     120053632 blocks [2/1] [U_]

unused devices: <none>

-------------------------------------------------

Interroganto i singoli dischi:

-bash-2.05b# mdadm -E /dev/hdb1
/dev/hdb1:
         Magic : a92b4efc
       Version : 00.90.00
          UUID : fc0d7bda:e0a7c315:14fdfdb6:6bbcf837
 Creation Time : Tue Jan 20 10:19:03 2004
    Raid Level : raid1
   Device Size : 120053632 (114.49 GiB 122.93 GB)
  Raid Devices : 2
 Total Devices : 1
Preferred Minor : 0

   Update Time : Mon Jan  7 06:31:19 1980
         State : dirty, no-errors
Active Devices : 1
Working Devices : 1
Failed Devices : 0
 Spare Devices : 0
      Checksum : 60a7504e - correct
        Events : 0.57


     Number   Major   Minor   RaidDevice State
this     0       3       65        0      active sync   /dev/hdb1
  0     0       3       65        0      active sync   /dev/hdb1
  1     1       0        0        1      faulty removed


mentre


-bash-2.05b# mdadm -E /dev/hdc1
/dev/hdc1:
         Magic : a92b4efc
       Version : 00.90.00
          UUID : fc0d7bda:e0a7c315:14fdfdb6:6bbcf837
 Creation Time : Tue Jan 20 10:19:03 2004
    Raid Level : raid1
   Device Size : 120053632 (114.49 GiB 122.93 GB)
  Raid Devices : 2
 Total Devices : 3
Preferred Minor : 0

   Update Time : Wed Jul  7 16:18:16 2004
         State : dirty, no-errors
Active Devices : 2
Working Devices : 3
Failed Devices : 0
 Spare Devices : 1
      Checksum : 8ebc8806 - correct
        Events : 0.35


     Number   Major   Minor   RaidDevice State
this     1      22        1        1      active sync   /dev/hdc1
  0     0       3       65        0      active sync   /dev/hdb1
  1     1      22        1        1      active sync   /dev/hdc1
  2     2      22       65        2      spare   /dev/hdd1

----------------------------------------------------------------------------

Come vedete le informazioni registrate sui dischi non sono corrette ... ovvero sarebbero corrette quelle su hdc1 !!!


C'è una possibilità di risistemare il tutto senza
a) perdere i dati
b) ricostruire da zero il raid

Altra domanda: qualcuno sa cosa può essere successo, cosa NON devo fare la prossima volta per non ritrovarmi allo stesso punto?


Ancora grazie,
Alessandro F.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: