[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] lvm/devfs bug?



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?





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]