[linux-lvm] lvm/devfs bug?
Rich Turner
rich at storix.com
Tue Apr 8 14:22:01 UTC 2003
i am trying to create a physical volume using the entire disk /dev/sda1
and pvcreate is complaining that there is a partition table on the disk
when in fact there isnt.
# pvcreate -ff -v /dev/sda1
pvcreate --device "/dev/sda" has a partition table
i have tried many different things:
# dd if=/dev/zero of=/dev/sda bs=1024 count=10
# blockdev --rereadpt /dev/sda
# sfdisk -R /dev/sda1
i am able to confirm that /proc/partitions does not have a partition
entry for the disk but pvcreate still fails. i am using a devfs kernel
so i thought there might be some strange behavior between lvm and devfs.
is there a fix or known issues regarding lvm and devfs?
More information about the linux-lvm
mailing list