LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   lvm:didn't do pvcreate on partition, before adding it to volume group (https://www.linuxquestions.org/questions/linux-general-1/lvm-didnt-do-pvcreate-on-partition-before-adding-it-to-volume-group-536331/)

kpachopoulos 03-10-2007 01:40 PM

lvm:didn't do pvcreate on partition, before adding it to volume group
 
Hi,
i created a partition and then added it to a volume group, without however having previously declared it as a "physical volume". Now it seems to be working OK... Will i have any problems? If no, which is the reason of creating a "physical volume"?

Brian1 03-10-2007 02:13 PM

So you created a standard partition from say the fdisk command correct?

If so you will have no problems as far as usage go. Only lost is making smaller or bigger from the LVM tools.

Brian

kpachopoulos 03-10-2007 07:09 PM

Quote:

Originally Posted by Brian1
So you created a standard partition from say the fdisk command correct?

Yes

Quote:

Only lost is making smaller or bigger from the LVM tools.

Brian
Sorry, i don't understand this. Can you explain please?

Brian1 03-11-2007 08:22 AM

With LVM you can expand or shrink the logical partitions created within it. Also you can add additonal disc and create logical volume partitions one them and logical partitions within them. So now if one from disc 1 is getting to small you can create one on disc 2 and merge the two to create a span. This is hard to descibe. Best thing is to read the how-to on LVM. It is very long how-to. http://tldp.org/HOWTO/LVM-HOWTO/

Brian


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