<DIV>Thanks - I now see a post you make last year and I think this is exactly the situation</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV>Another cause of problems could be if people created a whole-disk PV <BR>on a device that actually held a partition table - i.e. they<BR>ignored the partition table, even though the kernel would still be using it.<BR><BR>>From 2.00.29, lvm2 tries to detect partitioned devices and stop you<BR>using them directly as PVs unless you remove the partition table first.<BR>(i.e. if it's partitioned, only the partitions can be PVs, not the whole<BR>disk device)</DIV>
<DIV> </DIV></BLOCKQUOTE>
<DIV dir=ltr>I can remove the partition table, but dont I still have to do something with the sectors residing on the other partitions? If I delete the partition table, LVM would assume the entire disk is formatted the same, but there will still be sectors at the beginning and end that were left over from the boot and swap partitions.</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Thanks, John</DIV>
<DIV dir=ltr><BR><B><I>Alasdair G Kergon <agk@redhat.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">No - I'm suggesting you need to check if any *whole device* PVs like hdd <BR>actually have partition tables on them, and if so, remove them.<BR><BR>Alasdair<BR><BR>_______________________________________________<BR>linux-lvm mailing list<BR>linux-lvm@redhat.com<BR>https://www.redhat.com/mailman/listinfo/linux-lvm<BR>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/<BR></BLOCKQUOTE>