Skip to contentSkip to conversation

pvcreate error

linux-lvm richard turner 1 participant 1 message Jan 6, 2003

lore
Share & tools
lore
#0 lore raw

i am trying to create a physical volume on /dev/hdb using:
pvcreate -ff -y /dev/hdb

the following error is generated:
pvcreate -- device "/dev/hdb" has a partition table

my understanding is that pvcreate looks in /proc/partitions for partition information. currently /proc/partitions does not show any partitions for hdb (target1). i have tried:
dd if=/dev/zero of=/dev/hdb bs=1k count=1
blockdev --rereadpt /dev/hdb

nothing indicates that there is a partition table on /dev/hdb, however pvcreate is still detecting one.

i am using lvm 1.0.1. is this a known issue with version 1.0.1? is there something i am missing that pvcreate is detecting?