(no subject)
Is there a utility to convert an existing ext2fs to a lvm or do I have to due a complete new install???
Pierre
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
Quoted 3 lines
Is there a utility to convert an existing ext2fs to a lvm or do I have to due a complete new install???
if you aren't re-using the same acerage, just create the new LVM and cpio -p the data from old to new. if you want to re-use the disk space then you'll have to back it up, make the LVM's and restore the contents.
Signature · 3 lines
Steven Lembark 2930 W. Palmer St.
Chicago, IL 60647
[email protected] 800-762-1582That was my orginal options too. I was hoping some had an "in place" way of doing it.
Thanks
Quoted 5 lines · --- Steven Lembark
Quoted 2 lines
Is there a utility to convert an existing ext2fs
to a
Quoted 1 line
lvm or do I have to due a complete new install???
Quoted 19 lines
if you aren't re-using the same acerage, just create the
new LVM and cpio -p the data from old to new. if you want
to re-use the disk space then you'll have to back it up,
make the LVM's and restore the contents.Signature · 10 lines
Steven Lembark 2930 W. Palmer St. Chicago, IL 60647 [email protected] 800-762-1582 _______________________________________________ linux-lvm mailing list [email protected] http://lists.sistina.com/mailman/listinfo/linux-lvm
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
Quoted 2 lines · Pierre
Is there a utility to convert an existing ext2fs to a lvm or do I have to due a complete new install???
It may be possible to use parted to do this. I don't think it is 100% finished, but I _think_ it can do "move start of filesystem" kind of work. It will NOT do the LVM creation, and you will need to manually figure out how much space to put at the beggining of the PV for LVM metadata. After that, you will also need to create an LV which is using exactly the correct PEs to hold the filesystem.
I would make a backup first.
Cheers, Andreas
Signature · 3 lines
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert