Stilby
June 25th, 2007, 09:50 AM
I've been working with LVM2 for some time under FC3, 4, Ubuntu 6.10. I recently installed Ubuntu 7.04 64bit Server on the same machine that I've been previously using LVM with [fresh install], however other than during install it is not possible to create Physical Volumes for LVM.
Example:
cfdisk /dev/sdc [create 1 partition on type 8e, Linux LVM and write changes]
pvcreate /dev/sdc1
Physical volume "/dev/sdc1" successfully created [that's what it says, but...]
pvdisplay
[..and I only see sdb1, which I created at install.]
I even dismantled a previous Volume Group:
lvremove vg0
vgremove vg0
cfdisk /dev/sdc [no changes made, just checking]
...
sdc1 Primary Linux LVM
pvdisplay
[..and I only see sdb1, which I created at install.]
I've run apt-get update
followed by apt-get upgrade
...but there was no LVM update installed.
Either pvdisplay doesn't work [but does display pv's created at install] or pvcreate doesn't work.
Am I missing something?
Example:
cfdisk /dev/sdc [create 1 partition on type 8e, Linux LVM and write changes]
pvcreate /dev/sdc1
Physical volume "/dev/sdc1" successfully created [that's what it says, but...]
pvdisplay
[..and I only see sdb1, which I created at install.]
I even dismantled a previous Volume Group:
lvremove vg0
vgremove vg0
cfdisk /dev/sdc [no changes made, just checking]
...
sdc1 Primary Linux LVM
pvdisplay
[..and I only see sdb1, which I created at install.]
I've run apt-get update
followed by apt-get upgrade
...but there was no LVM update installed.
Either pvdisplay doesn't work [but does display pv's created at install] or pvcreate doesn't work.
Am I missing something?