LVM 1.0.1 to LVM2 upgrade path
Everyone,
I'm currently running on Linux 2.4.20 with LVM 1.0.1 26/11/2001 ... yes, it's outdated, but this is a production system and LVM has been (seemingly) stable without any issues.
I'm figuring I should consider upgrading to LVM2, but I don't want to just go "trying it" -- is there a specific upgrade path I have to take? Is LVM2 backward compatible with LVM1? Are there any "gotchas" and are they documented somewhere?
Any pointers to documentation would be appreciated. Meanwhile, I'm busy Googling ...
-- Dossy
Signature · 4 lines
Dossy Shiobara mail: [email protected] Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)
Quoted 10 lines · Dossy
Everyone,
I'm currently running on Linux 2.4.20 with LVM 1.0.1 26/11/2001 ... yes, it's outdated, but this is a production system and LVM has been (seemingly) stable without any issues.
I'm figuring I should consider upgrading to LVM2, but I don't want to just go "trying it" -- is there a specific upgrade path I have to take? Is LVM2 backward compatible with LVM1? Are there any "gotchas" and are they documented somewhere?
If this is production, you want to upgrade to LVM 1.0.6 because LVM2 is in beta still.
You should give LVM2 a try on some test system please.
It supports the LVM1 metadata (IOW: you can install it and use your volume groups created with LVM1). The only major feature missing in LVM2 is 'pvmove' which we are working on right now.
Quoted 3 lines
Any pointers to documentation would be appreciated. Meanwhile, I'm busy Googling ...
LVM2 is command line compatible with LVM1. The new features are (mostly) in the man pages comming with the LVN2 source distro. You need to get device-mapper from our website as well (see the usual README/INSTALL files).
Quoted 14 lines
-- Dossy
Signature · 10 lines
Dossy Shiobara mail: [email protected] Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70) _______________________________________________ linux-lvm mailing list [email protected] http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 15 lines
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Quoted 4 lines · Heinz J . Mauelshagen
If this is production, you want to upgrade to LVM 1.0.6 because LVM2 is in beta still. [...] The only major feature missing in LVM2 is 'pvmove' which we are working on right now.
Thanks. This is exactly the kind of detail I was looking for.
Quoted 2 lines
It supports the LVM1 metadata (IOW: you can install it and use your volume groups created with LVM1).
So, in order to upgrade to LVM2 there's no data conversion necessary, if I understand you correctly. That's very good news.
Quoted 1 line
You should give LVM2 a try on some test system please.
I might play around with it on my laptop (which runs Linux under VMware) -- this way, if anything goes wrong, I just lose a virtual disk and not real data. :-)
(VMware is great for "experimenting" with filesystem code. I haven't actually experimented with LVM under VMware yet, though. It'll be interesting ...)
Thanks for your time, Heinz. I appreciate it.
-- Dossy
Signature · 4 lines
Dossy Shiobara mail: [email protected] Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)
Quoted 6 lines · Dossy
Quoted 4 lines · Heinz J . Mauelshagen
If this is production, you want to upgrade to LVM 1.0.6 because LVM2 is in beta still. [...] The only major feature missing in LVM2 is 'pvmove' which we are working on right now.
Quoted 7 lines
Thanks. This is exactly the kind of detail I was looking for.
Quoted 2 lines
It supports the LVM1 metadata (IOW: you can install it and use your volume groups created with LVM1).
So, in order to upgrade to LVM2 there's no data conversion necessary, if I understand you correctly. That's very good news.
No, you can stick with the LVM1 metadata w/o ayn conversion. If you want to use the enhanced LVM2 metadata format you need to convert thought (see vgconvert). The LVM2 metadata format will give you atomic metadata updates for better system resilience.
Quoted 6 lines
Quoted 2 lines
You should give LVM2 a try on some test system please.
I might play around with it on my laptop (which runs Linux under VMware) -- this way, if anything goes wrong, I just lose a virtual disk and not real data. :-)
Yep, that's a way.
Quoted 20 lines
(VMware is great for "experimenting" with filesystem code. I haven't actually experimented with LVM under VMware yet, though. It'll be interesting ...)
Thanks for your time, Heinz. I appreciate it.
-- Dossy
Signature · 10 lines
Dossy Shiobara mail: [email protected] Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70) _______________________________________________ linux-lvm mailing list [email protected] http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 15 lines
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-