linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Need some information and help on mdadm in order to support it on IBM z Systems
@ 2008-04-11 12:28 Jean-Baptiste Joret
  2008-04-11 14:39 ` Bill Davidsen
  0 siblings, 1 reply; 8+ messages in thread
From: Jean-Baptiste Joret @ 2008-04-11 12:28 UTC (permalink / raw)
  To: linux-raid

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.

Best regards / Mit freundlichen Gruessen / Cordialement / Cordiali Saluti 

Jean-Baptiste Joret - Linux on System Z 
Phone: +49 7031 16-3278 / ITN: 39203278 - eMail: joret@de.ibm.com 

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-04-20 16:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-11 12:28 Need some information and help on mdadm in order to support it on IBM z Systems Jean-Baptiste Joret
2008-04-11 14:39 ` Bill Davidsen
2008-04-14 11:05   ` Jean-Baptiste Joret
     [not found]     ` <4804F9FD.4070606@tmr.com>
2008-04-16 15:20       ` Jean-Baptiste Joret
2008-04-18  9:46         ` Mario 'BitKoenig' Holbe
2008-04-18 13:45           ` David Lethe
2008-04-20 13:41             ` Peter Grandi
2008-04-20 16:24               ` David Lethe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).