Copy Contents of LVM Partition to Another Partition With a Different File System
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Copy Contents of LVM Partition to Another Partition With a Different File System
I have two partitions on my hard drive and one of them is LVM format. There is also a lot of unallocated space on the hdd. I thought I could use gparted to manipulate the partitions but it cannot regognize the LVM partition.
I'd like to create a new partition using NTSF of FAT32 and copy the contents of the LMV partition to it and then get rid of the LMV partition and then expand the new partition to use all the space available.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
........
edit:
Miss understood question. Why not create a temporay partition ext2 and then mount the LVM and the new temp ext2 and copy the contents from one to the other. Then delete the LVM once you know you all the data correctly and then create new ext partition and move data to it or addtional ones. The only thing with moving to ntfs or vfat is lost of permissions of the files themselves. This is why you should stay as a linux type like ext3. Or you can reformat a USB drive to ext3 and copy that way. one thing I am not sure is if gparted can expand an NTFS partition to the left or the beginning. There are limits as to what gparted can do per filesystem of modification.
edit:
There is, but it'd be easier/safer to just create a new partition, and add that to LVM. Then just expand your current logical volume.
See the doco at tldp.org
Gparted can't manipulate LVM partitions. It *can* expand or shrink ntfs to any direction (using ntfstools, of course). But, as stated already, you loose permissions.
An external drive is always useful!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.