linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "berk walker" <berk@panix.com>
To: Robert Heinzmann <Robert.Heinzmann@gmx.net>, linux-raid@vger.kernel.org
Subject: Re: Migrating from SINGLE DISK to RAID1
Date: Tue, 01 Feb 2005 17:57:32 -0500	[thread overview]
Message-ID: <opsljjd6o7v40d6c@berk.site> (raw)
In-Reply-To: <41FFD1F8.3010101@gmx.net>

I seem to remember that one can create a degraded array.  Then copy over,  
and shoot the old disk and add it to the aray.
b-

On Tue, 01 Feb 2005 20:01:12 +0100, Robert Heinzmann  
<Robert.Heinzmann@gmx.net> wrote:

> Hello,
>
> can someone verify if the following statements are true ?
>
> - It's not possible to simply  convert a existing partition with a  
> filesystem on it to a raid1 mirror set.
>
> This may seem succesfull (filesystem can be mounted and must not be  
> checked), but it will cause data integrity problems. One of the last  
> Blocks of the device formaly used for file data will be used for the  
> raid superblock and so all data on this block will be not accessible  
> anymore.
>
> - Using a former disk of a raid1 array as a usual disk (not mounted as  
> degrated /dev/mdX, but instead mounted as /dev/sdX or /dev/hdX) is  
> successfull.
>
> This is because the MD device layer reports the device size as size of  
> disk - superblock offset during the creation of a filesystem on the MD  
> device. Thus the used size of the disk, when mounting it as /dev/sdX  
> /dev/hdX, is some KB smaller than it could be, but no data is lost.
>
> - Its always possible to use raid1 disks as regular disks (not taking  
> the md autodiscovery into concern). Using regular disks as raid disks  
> always requires data migration (new filesystem and copy).
>
> Thank you very much. I would really appreshiate some somments on this  
> one.
>
> Robert Heinzmann
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

      parent reply	other threads:[~2005-02-01 22:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-01 19:01 Migrating from SINGLE DISK to RAID1 Robert Heinzmann
2005-02-01 19:34 ` Mike Hardy
2005-02-01 21:40   ` Robert Heinzmann
2005-02-01 23:52   ` Alvin Oga
2005-02-01 19:41 ` Paul Clements
2005-02-01 22:57 ` berk walker [this message]

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=opsljjd6o7v40d6c@berk.site \
    --to=berk@panix.com \
    --cc=Robert.Heinzmann@gmx.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).