All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Timothy D. Lenz" <tlenz@vorgon.com>
To: linux-raid@vger.kernel.org
Subject: Removing drives
Date: Wed, 03 Mar 2010 20:19:11 -0700	[thread overview]
Message-ID: <4B8F26AF.7080308@vorgon.com> (raw)

Some time back I started setting up a couple of vdr computers with raid. 
The one with 3 500gb drives, I setup 2 raid 1 partitions with 1 spare fo 
boot and swap and used the rest of the 3 drives for a raid5 array. I had 
problems getting it to boot, and it was advised to change the raid 1 
arrays to 3 mirror which I did. Bu I got busy with other things and 
never tried to switch it to boot from the arrays. Since then I aquired a 
4th drive same size and model. I want to change md0/1 back to 2 drive 
mirrors and change md2 from raid5 to raid1 freeing up a drive which I 
then want use to with the new drive to create another raid1 array. 
Before I can install the new drive, I need to get it booting from md0 so 
I can remove the old ide drive.

I figure I need to shrink md0 and md1 and then fail the 3rd drive in 
each of those 2 arrays before changing them to 2 drive arrays? I find 
lots of stuff about adding drives, but not much about removing the 
drives or how to change them back to 2 drive arrays.

Once md0 and md1 are back to 2 drives and it's booting, then I'll 
install and format the new drive and copy the contents of md2 over. Then 
I need to remake md2 as a 2 drive raid1. Then copy the data back and 
i'll have 2 drives to make md3.

             reply	other threads:[~2010-03-04  3:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-04  3:19 Timothy D. Lenz [this message]
2010-03-04 22:45 ` Removing drives Michael Evans
2010-03-05 19:00   ` Timothy D. Lenz
2010-03-05 20:22     ` Michael Evans
     [not found]       ` <4B91DF69.5030804@vorgon.com>
2010-03-06  6:43         ` Michael Evans
     [not found]           ` <4B934FB2.3080104@vorgon.com>
2010-03-07  7:33             ` Michael Evans
2010-03-07 18:35               ` Timothy D. Lenz
2010-03-07 20:49                 ` Michael Evans
2010-04-29  2:55                   ` Timothy D. Lenz

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=4B8F26AF.7080308@vorgon.com \
    --to=tlenz@vorgon.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.