Broken RAID array ...

From: Nicolas CANIART (nicolas_at_caniart.net)
Date: 11/11/05

  • Next message: Robert Waldner: "Re: Window manager/desktop environment that's not RAM-intensive"
    Date: Fri, 11 Nov 2005 19:47:20 +0000
    To: debian-user@lists.debian.org
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hi all,

      It appears that for about a month my raid array is not working anymore
    (this is an evaluation after having inspected the content of each
    individual disk). I thinks it may be a bit longer. I was using raidtools
    but, as I'm under unstable, this package was removed and may not have
    been through that migration as well as I thought :(
    After some investigation i found that it does not recognize it any more
    because the two disks don't have the same UUID! as mdadm shows :

      % mdadm --examine --brief --scan --config=partitions
      ARRAY /dev/md0 level=raid1 num-devices=2 \
          UUID=b6065276:860e04ff:432f5364:f4db028c
      ARRAY /dev/md0 level=raid1 num-devices=2 \
          UUID=12e709d1:8df4e5d9:e6aa987f:b3b2318a

    As far as I can tell the disk actually used is /dev/sdb1 (sda1 content
    is outdated).
    I tried to force the array assembly but I got :

      % mdadm -A /dev/md0 --force
      md: md0 stopped.
      mdadm: /dev/sda1 has no super block - assembly aborted

    So I tried to make sda1 faulty, remove it then reinstall it; but I got :

      % mdadm --fail /dev/md0 /dev/sda1
      mdadm: cannot get array info for /dev/md0

    As far as I understand, it's because md0 is active... but I can't
    activate it; It's a dead lock !!

    To break this vicious circle, I thought I could reset sda1 UUID, but how
    can I know the one to use, or may I just rebuild the array (without
    loosing data of course !)
    Or may i use any tool to set proper super block on sda1 ?
    Is there a proper way to get myself out of that mess ?

    Thanks for your advice.
    Nicolas.

    PS : If some could explain how I get myself in that mess I would also
    greatly appreciate it ... so i won't do it again !

    - --
    I prefer encrypted mail.
    You can get my PGP public key(s) from :
      * The MIT's PGP Key Server : http://pgp.mit.edu/
      * My homepage : https://caniart.net/~nicolas/identity.html

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    iD8DBQFDdPVIBSZC/4e1wHMRArkVAJsFfsXL9KaS9A4AMv+XrT2OMTJR6QCfcBu0
    ZAKiiNoFvJz0rU1JvB2qI1Y=
    =zIoS
    -----END PGP SIGNATURE-----

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Robert Waldner: "Re: Window manager/desktop environment that's not RAM-intensive"

    Relevant Pages

    • Re: Persistent superblock on software RAID
      ... > array really is sda1 and sdb1. ... > I am able to mount with a live CD and assemble the RAID by hand (using sda1 ...
      (Debian-User)
    • Re: Need feedback on the A5200 storage array....
      ... they don't have the money for a big Hitachi array or a fast FC array with ... Use RAID5 on that kind of hardware. ... ten years or so) that had internal RAID5 controllers. ... I can't simply yank a disk and read its ...
      (comp.unix.solaris)
    • Re: HP EVA4000 / IBM DS4300 / EMC CX3-20/40
      ... Both EMC and EVA are great arrays and they will serve you well. ... disk array with the virtual raidsets on top. ... So, the system admin, and the DBAs had to create and manage lots of ...
      (comp.arch.storage)
    • Re: RAID 5 corruption, RAID 1 more stable?
      ... corruption to either the RAID array itself or the file system. ... The disk array to suffer so many errors (for example disk errors ... There is nothing the disk array can do if the host is broken and ...
      (comp.arch.storage)
    • Bug+fix: PDC20271 RAID detection fails
      ... My array was not detected by my kernel. ... the PDC RAID superblock, that is located at the start ... of the last track on the disk. ... is a multiple of track size and if not, ...
      (comp.os.linux.hardware)