Re: [fwd] md raid1 chokes when one disk is removed

From: Danny Howard (dannyman_at_toldme.com)
Date: 11/12/05

  • Next message: Rick Stevens: "Re: [Fedora] Re: X-related questions"
    Date: Fri, 11 Nov 2005 15:25:53 -0800
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Fri, Nov 11, 2005 at 02:25:35PM -0800, Rick Stevens wrote:
    > On Fri, 2005-11-11 at 14:16 -0800, Danny Howard wrote:

    > > Sweet! I can "fail" a disk and remove it thus:
    > > mdadm --fail /dev/md0 /dev/sdb1
    > > mdadm --fail /dev/md1 /dev/sdb2
    > > mdadm --fail /dev/md2 /dev/sdb3
    > > [ ... physically remove disk, system is fine ... ]
    > > [ ... put the disk back in, system is fine ... ]
    > > mdadm --remove /dev/md0 /dev/sdb1
    > > mdadm --add /dev/md0 /dev/sdb1
    > > mdadm --remove /dev/md1 /dev/sdb2
    > > mdadm --add /dev/md1 /dev/sdb2
    > > mdadm --remove /dev/md2 /dev/sdb3
    > > mdadm --add /dev/md2 /dev/sdb3
    > > [ ... md2 does a rebuild, but /boot and <swap> are fine -- nice! ... ]
    >
    > The RAID should go into degraded mode and continue to run. If you
    > pulled the disk out while the system was powered up AND the system isn't
    > hot swap-compatible (and most built-in SATA stuff isn't), then you've
    > confused the SCSI bus badly and I'd be amazed if it worked at all after
    > that. Your error messages indicate that's the case here.

    Rick,

    Given support of the OS, the drive is hot-swap. This works fine with
    FreeBSD, and this works fine with Linux if I tell md that the disk is
    failed. If the disk fails without me telling md, then md will react
    badly.

    > If, however, the SATA drives were in a hot swap-compatible enclosure and
    > you see the same problem, then something else is wrong and we'd need to
    > look at that a bit more closely.

    What do you suggest?

    Sincerely,
    -danny

    -- 
    http://dannyman.toldme.com/
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Rick Stevens: "Re: [Fedora] Re: X-related questions"

    Relevant Pages

    • slackware 9.1 software raid problem
      ... Setting up a RAID system with Slackware 8 is not extremely difficult once ... mirroring the root partition and booting from that mirror was not possible. ... Each disk is attached to a different IDE chain on the motherboard. ... The ability to boot from the Slackware 8 install CD. ...
      (alt.os.linux)
    • Re: large RAID volume partition strategy
      ... I've come up with three possibilities on organizing this disk. ... I don't plan to ever connect any other servers to this RAID unit. ... and make one FreeBSD file system on the whole partition. ...
      (freebsd-stable)
    • Re: Is it HighPoint, is it Seagate, or is it Windows 2000 Professional
      ... I have really learnt about the uses and limits of RAID. ... Use all the manufacturer recommended system recovery ... provisions -- Emergency Disk, have a DOS boot disk ready, ... what could cause Windows to suddenly change its mind ...
      (microsoft.public.win2000.setup)
    • LVM on SW RAID for sarge - success
      ... I've just had success migrating Debian Sarge to root on LVM on RAID. ... First make sure the SCSI BIOS boots from the first disk. ... I made reiserfs on all the filesystem partitions and completed the ... The remaining two disks were partitioned and used to create RAID arrays ...
      (Debian-User)
    • Re: Platzierung und Größe der Auslagerungsdatei
      ... der Controller steckt, ... Bei der Latency ist die Raptor um Faktor 1,4, bei der Seektime um Faktor ... We recommend that you plan to use less than 80% disk utilization at ... Raid 0 has the same cost as no raid. ...
      (microsoft.public.de.german.windows.server.general)