[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] Converting from LVM to LVM on RAID1 (WAS: no subject)
- From: dean gaudet <dean-list-linux-lvm arctic org>
- To: LVM general discussion and development <linux-lvm redhat com>
- Subject: Re: [linux-lvm] Converting from LVM to LVM on RAID1 (WAS: no subject)
- Date: Mon, 4 Jul 2005 10:12:43 -0700 (PDT)
it's not a good idea, but you could use raid1 without a superblock... did
i mention it's not a good idea?
normally you want the raid1 superblock... which lives at the end of the
partition. you can't blindly convert an LVM pv to a raid1 device without
ensuring the physical extent at the end of the pv isn't in use. i don't
see any way to shrink a pv -- so i don't think you'll be able to convert
an existing lvm pv to a raid1 device.
however there's nothing stopping you from creating a raid1 device on a
second disk (and specify "missing" for the other raid device(s)... see
mdadm man page), creating a pv/vg/lv on top of that raid1, then copying
the filesystems over... doing grub/lilo/whatever magic... and trying to
boot it.
if it works, you can convert the old disk into the second component of the
raid.
there's probably several docs already explaining this sort of procedure
without lvm involved... (for example there's one supplied with debian
mdadm at /usr/share/doc/mdadm/rootraiddoc.97.html)
-dean
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]