restoration of LVM setup?
I am thinking about setting up LVM on my file server and would like to know
how easy it is to re-setup a LVM layout if I install a new distro. A few
times I have had one of the OS drives fail on me which required a fresh install of linux on a new drive. But since all my file storage drives were just single ext3 partitions I could mount them and the file server was back up in no time with no loss of important data.
How easy is it to do the same thing with a LVM setup?
bjz
Quoted 8 lines · Nova FIre
I am thinking about setting up LVM on my file server and would like to know
how easy it is to re-setup a LVM layout if I install a new distro. A few
times I have had one of the OS drives fail on me which required a fresh install of linux on a new drive. But since all my file storage drives were just single ext3 partitions I could mount them and the file server was back up in no time with no loss of important data.How easy is it to do the same thing with a LVM setup?
Presumably the new distro has LVM in, it is a question of scanning in the LVM metadata (vgscan) and activating the VG(s) (vgchange -ay).
Depending on the distro's upgrade support that works for basic filesystems on LVs (/usr, /opt, ...) as well.
Quoted 9 lines
bjz
_______________________________________________
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-I am currently using Mandrake 9.0, sso if I ever installed 9.0+ I should be able to see the VG with little problems. BTW, is the metadata stored on each one of the partitions in the VG? What if one of the drives in the VG died? Is the VG easially recoverable and will it still run? (minus the data lost on the down drive of course)..
Thanks for the help
bjz
Quoted 24 lines · Heinz J . Mauelshagen
Quoted 8 lines · Nova FIre
I am thinking about setting up LVM on my file server and would like to
know how easy it is to re-setup a LVM layout if I install a new distro. A few times I have had one of the OS drives fail on me which required a fresh install of linux on a new drive. But since all my file storage drives were just single ext3 partitions I could mount them and the file server was back up in no time with no loss of important data.How easy is it to do the same thing with a LVM setup?
Presumably the new distro has LVM in, it is a question of scanning in the LVM metadata (vgscan) and activating the VG(s) (vgchange -ay).
Depending on the distro's upgrade support that works for basic filesystems on LVs (/usr, /opt, ...) as well.
Quoted 7 lines
bjz
_______________________________________________
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/
Quoted 2 lines · B. J. Zolp
I am currently using Mandrake 9.0, sso if I ever installed 9.0+ I should be able to see the VG with little problems.
Never tried Mandarke myself but the asnswer is yes I guess ;)
Quoted 2 lines
BTW, is the metadata stored on each
one of the partitions in the VG? What if one of the drives in the VG died?
You need to replace it and restore the LVM metadata onto the new one. If you want to avoid such SPOF you can combine LVM with MD (i.e. RAID1).
Quoted 2 lines
Is the VG easially recoverable and will it still run? (minus the data lost on the down drive of course)..
We've got a partial activation feature in LVM2 which can activate the VG w/o any drive replacement.
Regards,
Heinz -- The LVM Guy --
Quoted 33 lines
Thanks for the help
bjz
Quoted 8 lines · Heinz J . Mauelshagen
Quoted 7 lines · Nova FIre
I am thinking about setting up LVM on my file server and would like to
know how easy it is to re-setup a LVM layout if I install a new distro. A few times I have had one of the OS drives fail on me which required a fresh install of linux on a new drive. But since all my file storage drives were just single ext3 partitions I could mount them and the file server was back up in no time with no loss of important data.Quoted 16 lines
Quoted 1 line
How easy is it to do the same thing with a LVM setup?
Presumably the new distro has LVM in, it is a question of scanning in the LVM metadata (vgscan) and activating the VG(s) (vgchange -ay).
Depending on the distro's upgrade support that works for basic filesystems on LVs (/usr, /opt, ...) as well.
Quoted 7 lines
bjz
_______________________________________________
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/
Quoted 5 lines
_______________________________________________
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/
*** 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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-