LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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

Reply
 
Search this Thread
Old 03-03-2008, 04:11 PM   #1
tmort
Member
 
Registered: Feb 2006
Posts: 33

Rep: Reputation: 15
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.

Is there a way to do this?

Thanks
 
Old 03-03-2008, 04:38 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
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: Reputation: 61
........

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:

Brian

Last edited by Brian1; 03-03-2008 at 04:43 PM.
 
Old 03-03-2008, 04:40 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,126

Rep: Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985
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
 
Old 03-07-2008, 05:00 AM   #4
masterclassic
Member
 
Registered: Jun 2007
Distribution: Knoppix
Posts: 140

Rep: Reputation: 23
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Copy hard disk or partition image to another system using a network and netcat LXer Syndicated Linux News 0 08-12-2007 03:11 PM
Copy files from Windows partition to Linux partition Shibumgeorge Linux - Software 3 04-20-2007 10:08 AM
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee Suse/Novell 20 10-31-2005 07:30 AM
What is the code to copy a file from my windows partition to my linux partition? THEBIGFISH Linux - Newbie 3 03-15-2004 10:14 PM
Copy contents of one partition to another. cparker15 Linux - Software 1 06-26-2003 01:17 PM


All times are GMT -5. The time now is 09:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration