Re: Need some information and help on mdadm in order to support it on IBM z Systems

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

 



Jean-Baptiste Joret wrote:
Hello,

I am trying to obtain information such as design document or anything that would describe the content of the metadata. I am evaluating the solution to determinate whether it is entreprise ready for use as a mirror solution and if we can support it at IBM. Also I am currently having quite a show stopper issue, where help would be appreciated. I have a RAID1 with 2 Harddisks, when I remove one hardisk (I put the chpids offline which is equivalent to telling the system that the drive is currently not available), the missing disk is marked as "faulty spare" when calling mdadm -D /dev/md0.
/dev/md0:
        Version : 01.02.03
  Creation Time : Fri Apr 11 11:11:59 2008
     Raid Level : raid1
     Array Size : 2403972 (2.29 GiB 2.46 GB)
  Used Dev Size : 2403972 (2.29 GiB 2.46 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Fri Apr 11 11:23:04 2008
          State : active, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 1
  Spare Devices : 0

           Name : 0
           UUID : 9a0a6e30:4b8bbe7f:bc0cad81:9fd46804
         Events : 8

    Number   Major   Minor   RaidDevice State
       0       0        0        0      removed
       1      94       21        1      active sync   /dev/dasdf1

       0      94       17        -      faulty spare   /dev/dasde1

When I put the disk back online it is not automatically reinserted into the array. The only thing that I have tried that worked was to do a hot remove followed by a hot add (mdadm /dev/md0 -r /dev/dasde1 and then mdadm /dev/md0 -a /dev/dasde1). Is that the correct way or is there any option to tell the disk is back an clean ? I don't like my solution verymuch as somtimes I get an error saying the superblock cannot be written.

Thank you very much for any help you can provide.

Start by detailing the versions of the kernel, mdadm, which superblock you use, and your bitmap configuration (or lack of it).

Best regards / Mit freundlichen Gruessen / Cordialement / Cordiali Saluti Jean-Baptiste Joret - Linux on System Z Phone: +49 7031 16-3278 / ITN: 39203278 - eMail: joret@xxxxxxxxxx
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



--
Bill Davidsen <davidsen@xxxxxxx>
 "Woe unto the statesman who makes war without a reason that will still
be valid when the war is over..." Otto von Bismark


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux