[linux-lvm] pvcreate -- device "/dev/hdc" has a partition table: force check bypass?

Donald Gordon don at dis.org.nz
Fri Jan 10 18:51:01 UTC 2003


Hi

I'm trying to setup LVM, but have run into trouble:

unibus:~# blockdev --rereadpt /dev/hdc;dmesg|tail -n 1
 /dev/ide/host0/bus1/target0/lun0: unknown partition table
unibus:~# pvcreate /dev/hdc
pvcreate -- device "/dev/hdc" has a partition table

as you can see, Linux knows that there's no partition, yet pvcreate
insists that there is; this was after dd-ing 1GB of /dev/zero over the
start of the disk, too :-(

Is there any way to force a bypass of this partition table test?

don




More information about the linux-lvm mailing list