[mythtv-users] Migrating LVM partition?
Richard Freeman
r-mythtv at thefreemanclan.net
Wed Dec 5 21:15:35 UTC 2007
Craig Huff wrote:
> How do I go about moving the /video partition, which is currently
> in an LVM on the old drive onto the new drive in a normal ext3
> partition and convert the LVM partition into a normal ext3 partition
> for other file storage?
>
I'd just do a cp -a to copy the files over. Then lvremove all the
logical volumes on that physical volume, vgreduce to remove the physical
volume from the volume group, and then pvremove (I think) to get rid of
the physical volume.
However, why do you want to get rid of LVM? If you use LVM on the new
drive then all you need to do is a pvmove to migrate your data to the
new drive. You can even do it while the system is in full use.
When I got some new drives the first thing I did was migrate everything
ONTO LVM. It makes any future changes SO much easier!
More information about the mythtv-users
mailing list