LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   LVM question (https://www.linuxquestions.org/questions/linux-server-73/lvm-question-946453/)

ProtoformX 05-23-2012 07:32 AM

LVM question
 
The documentation for LVM is not really clear on this so I maybe someone here knows..

I have a server that has multiple partitions in a VG called 'storage' if I add another lv (logical volume) to that volume group what will happen?

To phrase the question better, will LVM allow me to add logical volumes to a volume group without destroying the data on the rest of the logical volumes within that volume group? if so how do I do that?

syg00 05-23-2012 07:45 AM

Yes - if the vg has sufficient space.
There is a good how-to on tldp.org. It may look dated, but it's still good.

ba.page 05-24-2012 01:20 PM

assuming you care about your data: might I suggest that you test vg creation in a virtual environment before trying it on your physical?

catkin 05-25-2012 01:44 AM

Quote:

Originally Posted by ProtoformX (Post 4685554)
... will LVM allow me to add logical volumes to a volume group without destroying the data on the rest of the logical volumes within that volume group? if so how do I do that?

lvcreate


All times are GMT -5. The time now is 04:08 AM.