Re: [SLE] linux raid question

From: Chris Roubekas (croubekas_at_panafonet.gr)
Date: 06/10/05

  • Next message: Patrick Shanahan: "Re: [SLE] adding new SCSI drives to system without rebooting"
    To: <suse-linux-e@suse.com>
    Date: Fri, 10 Jun 2005 13:51:37 +0300
    
    

    I agree with Micheal.

    That is exactly what I had to do twice so far on a 200GB Raid-1 mirror
    and it worked just fine. The only part that I got annoyed with was having
    to wait for hours until the new drive was synched.... Bummer!

    Other than that, there is no magic into replacing a faulty drive when a
    Raid crashes. Just follow the steps that Micheal presents and you
    should be just fine.

    Just in case you are wondering what happens if your new drive is bigger
    than the exisiting old-good drive currently operating, no need to worry.
    You raid will still work but will occupy only the smaller drive's capacity.

    Hope that helps!
    Chris
    ----- Original Message -----
    From: "Michael James" <Michael.James@csiro.au>
    To: <hansdp@sagacit.com>; <suse-linux-e@suse.com>
    Sent: Friday, June 10, 2005 8:52 AM
    Subject: Re: [SLE] linux raid question

    > On Fri, 10 Jun 2005 05:54 am, Hans du Plooy wrote:
    > > I have a machine running two discs in a kernel based raid-1,
    > > and one of the discs go south, what are the steps involved in
    > > removing the one disc and getting the other one up and running again?
    > > Just change the fstab entries?
    >
    > It should still be running.
    > The mdadmd meta-disk monitor that you wisely set up
    > should have emailed you to tell you the raid has lost a mirror
    > and you can verify this by running
    > root> cat /proc/mdstat
    >
    >
    > > Then, if I have an identical disc as a replacement
    > > (say I was smart enough to buy three discs and keep one for incase ;-)
    > > how do I go about adding the second disc
    > > and creating a new raid without putting the
    > > installation and data on the good disc in any danger?
    >
    > Power off, swap the new disk in, boot up.
    > Dump the partition table with
    > root> fdisk -d /dev/<good-disk> | sfdisk /dev/<new-disk>
    >
    > DO NOT STUFF UP playing with either of those commands,
    > check what I've said first, I'm in a hurry and big guns make big holes.
    >
    > then man mdadmin should tell you the exact command
    > to hot-add the new partitions.
    >
    > cat /proc/mdstat
    > will tell you that one partition is rebuilding, the rest deferred.
    > Some time (hours) later all should be well.
    > YMMV
    >
    > michaelj
    >
    > --
    > Michael James michael.james@csiro.au
    > System Administrator voice: 02 6246 5040
    > CSIRO Bioinformatics Facility fax: 02 6246 5166
    >
    > Internet Explorer is fine for downloading Firefox,
    > but after that....
    >
    > --
    > Check the headers for your unsubscription address
    > For additional commands send e-mail to suse-linux-e-help@suse.com
    > Also check the archives at http://lists.suse.com
    > Please read the FAQs: suse-linux-e-faq@suse.com
    >
    >

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Patrick Shanahan: "Re: [SLE] adding new SCSI drives to system without rebooting"

    Relevant Pages

    • Re: [SLE] linux raid question
      ... > removing the one disc and getting the other one up and running again? ... should have emailed you to tell you the raid has lost a mirror ... DO NOT STUFF UP playing with either of those commands, ... will tell you that one partition is rebuilding, ...
      (SuSE)
    • Re: Problems setting up SATA drives and getting Windows XP to load on them.
      ... the cost of an extra disc for each disc. ... RAID is no replacement for backups. ... Disc drives do die, and just 'cos you have RAID ... Setting up SATA Drives on an ASUS Motherboard. ...
      (microsoft.public.windowsxp.setup_deployment)
    • Re: [SLE] Raid 0 speed question
      ... of your RAID device. ... If you use swap, my guess is that having it on a completely different HD, ... > shall I use the slower disc for the filesystems that get read more often ...
      (SuSE)
    • Re: [SLE] linux raid question
      ... >> removing the one disc and getting the other one up and running again? ... > well if you were using a raid card you would just stick in the new driver ... We also have two OSX servers, one with software raid (we tried the built OS ... I know the software will use the processor for cycles...but file serving ...
      (SuSE)
    • Mystery of RAID Part II
      ... two IDE 80 GB drives. ... software RAID 1 80 GB machine. ... Debian) on one disc, say disc 1, then setup RAID 1 across disc 1 and ... also talks about having one IDE disk per IDE bus. ...
      (comp.os.linux.setup)