LVM 1.1: Can't create PVs

Anthony Johnson <[email protected]> Mon, 26 Aug 2002 18:09:29 -0700
Newsgroups gmane.linux.lvm.bugs
Organization Storix Software
Message-ID <[email protected]>
1) pvcreate command fails telling me there is a partition table on
   the disk (hda) but the return code is still 0. Since the script
   thinks it succeeded, it continues to the vgcreate which then
   fails since there are no valid PVs specified.

2) I use "dd if=/dev/zero of=/dev/hda bs=1k count=10" but still
   get the same error from pvcreate. fdisk -l says there is
   no partition map on hda.

How can I condition the disk to allow pvcreate to use it?

 
----------------------------------------------
Anthony Johnson         1-619-702-6500
Storix Software         1-619-702-6501 (fax)
[email protected]      http://www.storix.com