linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Jean-Baptiste Joret <JORET@de.ibm.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Need some information and help on mdadm in order to support it on IBM z Systems
Date: Fri, 11 Apr 2008 10:39:45 -0400	[thread overview]
Message-ID: <47FF7831.20707@tmr.com> (raw)
In-Reply-To: <OF9FBFD1B1.E511C96F-ONC1257428.004472D1-C1257428.004493A0@de.ibm.com>

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@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
>
>   


-- 
Bill Davidsen <davidsen@tmr.com>
  "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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-04-11 14:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47FF7831.20707@tmr.com \
    --to=davidsen@tmr.com \
    --cc=JORET@de.ibm.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).