Re: RAID 1: Can't mirror drives

From: Leonard den Ottolander (leonardjo_at_hetnet.nl)
Date: 07/29/03

  • Next message: Leonard den Ottolander: "Re: RAID 1: Can't mirror drives"
    To: redhat-list@redhat.com
    Date: Tue, 29 Jul 2003 01:21:02 +0200
    
    

    Hi Cosmo,

    > doesn't mention that you can't mirror a mounted partition or address the
    > issue of how to set up mirrors w/ production drives that have existing
    > data.

     Setting up RAID arrays on a running system works the same as before
    installation, but you have to use free partitions. If you want to add a
    partition with data to an array you will have to move the data before
    proceeding to create the array.

    > I'd like to get as much relevant info as possible to avoid blowing my
    > system away and being very sorry...

     Have a look at http://www.tldp.org for docs.

    > ps: I'm surprised to be informed that one can't mirror a mounted drive.
    > Doesn't a recovery from a failed RAID drive involve replacing a bad
    > drive with a good one, and then re-mirroring the new one from an
    > existing on-line copy - w/o taking the original off-line?

     The point is that you did not setup the array yet. hda2 is mounted as
    hda2, not as part of the array md0. So you need to unmount it, create
    the array and then remount the array.

    Bye,
    Leonard.

    --
    How clean is a war when you shoot around nukelar waste?
    Stop the use of depleted uranium ammo!
    End all weapons of mass destruction.
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Leonard den Ottolander: "Re: RAID 1: Can't mirror drives"

    Relevant Pages

    • Re: LSI MegaRAID SAS 9240-4i hangs system at boot
      ... Squeeze, AFAIK, don't do automatic alignment on AF drives. ... Those who want to boot from disks in an md array ... arrays from bare AF disks avoids partition misalignment. ... Local SGI XFS ...
      (Debian-User)
    • [Summary] saving disksuite info while rebuilding server
      ... "Caution - If a full install of Solaris is performed, ... make sure you have tape backups of everything. ... I had an old workgroup storage array with six 18G drives formatted RAID5 ...
      (SunManagers)
    • Re: LSI MegaRAID SAS 9240-4i hangs system at boot
      ... misalignment on advanced format drives. ... That 800TB is carved up into a handful of multi-hundred TB XFS ... A single level md striped array is any linux raid containing disks. ...
      (Debian-User)
    • Re: LSI MegaRAID SAS 9240-4i hangs system at boot
      ... TB disks to it. ... Should I first create an empty array with "mdadm --create ... Don't partition the drives before creating your md array. ... RAID arrays containing partitions are bad. ...
      (Debian-User)
    • Re: LSI MegaRAID SAS 9240-4i hangs system at boot
      ... TB disks to it. ... Should I first create an empty array with "mdadm --create ... Don't partition the drives before creating your md array. ... RAID arrays containing partitions are bad. ...
      (Debian-User)