[linux-lvm] lvm/devfs bug?

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

 



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?



_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux