linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mitchell Laks <mlaks@verizon.net>
To: linux-raid@vger.kernel.org
Subject: convert degraded raid1 drive to ext3 format
Date: Mon, 10 Jan 2005 02:02:50 -0500	[thread overview]
Message-ID: <200501100202.50532.mlaks@verizon.net> (raw)

Hi,

Only a newbie could ask this question. Guess what, I really am!

I have 4 hard drives on my ssytem to store data. currently i use raid5.

I am seriously considering using raid1 instead of raid5. 
But  I only need raid1 while data is being initially collected on the server. 
So  I would like to use raid1 (with ext3 format) initially and then convert 
to standard ext3 drives.if this is possible.

i have 4 drives  
/dev/hda, /dev/hdc, /dev/hde, /dev/hdg

What I would like to do is use 
stage 1)     /hda and /hdg as  a raid initially and leave /dev/hdc, /dev/hde 
alone
then use
stage 2)    /hdc and /hdg as a raid and use "/hda as if it were a ext3 drive"
then use
stage 3)   /hde and  /hdg as a raid and use "/hda and /hdc as if there were 
ext3 drives"

Now i see easily that I can run at stage3) 

/dev/md0 --      /hda alone in degraded mode
/dev/md1 ----  /hdc alone in degraded mode
/dev/md2 ---    /hde and /hdg together.

if i do raidsetfaulty to /dev/hdg and raidhotremove /dev/hdg each time and add 
it to the new /dev/md1 and /dev/md2 as I need them.

But i would prefer REAL ext3 drives instead of degraded /dev/md0 and /dev/md1 
(i think???). In place of /dev/md0 and /dev/md1.

So my question is: I s it possible to "convert a degraded raid1  consisting of 
a single hard drive over to a standard ext3 format drive (ie /dev/md0 is only 
one drive so can it become ext3) ?" without doing something like rsync of the 
data on /dev/md0  to a fresh drive "the new /dev/hda" ???

Thanks,
Mitchell Laks



             reply	other threads:[~2005-01-10  7:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-10  7:02 Mitchell Laks [this message]
2005-01-10 16:40 ` convert degraded raid1 drive to ext3 format Guy
2005-01-10 22:54   ` Mitchell Laks

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=200501100202.50532.mlaks@verizon.net \
    --to=mlaks@verizon.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).