hi, i need to create a new physical volume in ubuntu server 11.04 by using commands.... any one have ideas about it?
i trying this commands:
sudo pvcreate /dev/sda6 but i can't createa physical volumes..
on 12/13/2012 – Made popular on 12/13/2012
Is it possible to create a volume group from a logical volume instead of a physical volume? If so, are there any pitfalls in doing so?
Installing OpenStack Compute on a a system that already has all of the physical volumes assigned to a singe volume group. The nova-volume service requires a separate volume group, as described in the documentation.
I'm planning to use LVM for KVM, and when I try to create a VG it fails, so how can I create my VG and LV ?
[root@server ~]# vgcreate virtual-machines /dev/sda
Device /dev/sda not found (or ignored by filtering).
Unable to add physical volume '/dev/sda' to volume group 'virtual-machines'.
[root@server ~]# df -h
Filesystem Size Used Avail Use% Mounted on
I apologize is this isn't an appropriate post for the 'advanced' UNIX, so please let me know if I should post this under UNIX for dummies, but here's my problem in a nutshell: I having problems creating a mirrored logical volume.
I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group.
I don't think you can resize an LVM PV with parted so I suspect that you will need to create a new partition alongside the existing one, then use pvcreate to create a new physical volume and a... [by TrevorH]
I want to try using LVM snapshots for backups. I'm working on an older CentOS 5 box, but I'm not sure if I can do it. From what I read, it seems like I need extra space on the physical disk in which to create a new volume. Is that the case? To me, from looking at the LVM command output, it looks like everything is full...
I'm installing Ubuntu Server 12.04.2 LTS so it can run OpenStack, and I have an 'OS' physical volume/volume group that automounts at boot, so the LUKS obviously asks for the passphrase for that at boot, but the 'cinder-volumes' physical volume & subsequent volume group doesn't have anything to mount, so I don't know how to make the prompt to decrypt it happen.