[PLUG] Linux RAID1 question
Carlos Konstanski
ckonstanski at pippiandcarlos.com
Mon Nov 2 17:35:35 UTC 2009
On Mon, 2 Nov 2009, Joe Pruett wrote:
> Date: Mon, 2 Nov 2009 09:30:22 -0800 (PST)
> From: Joe Pruett <joey at clean.q7.com>
> Reply-To: "General Linux/UNIX discussion and help; civil and on-topic"
> <plug at lists.pdxlinux.org>
> To: "General Linux/UNIX discussion and help; civil and on-topic"
> <plug at lists.pdxlinux.org>
> Subject: Re: [PLUG] Linux RAID1 question
>
>> Is it possible to take an ordinary, non-RAIDed hard drive, and turn it
>> into a mirror without losing any data, using linux software RAID?
>
> i'm assuming you have one disk with data and one spare. the safe way is
> to create a broken mirror with the spare drive and "missing" as the
> other piece. then copy all the data from the current drive to the mirror.
> then reboot off the mirror and add the original drive to the mirror so it
> can resync. this involves lots of fdisk, mdadm, tar/rsync/cp, etc. so you
> really need to know what you're doing.
Your assumptions re: disk configuration are correct. I will try it!
The ability to create a broken mirror is key. Thanks.
Carlos
More information about the PLUG
mailing list