Re: problem when creating a volumegroup on an external drive

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

 



On 5/13/06, Joep Blom <jlblom@neuroweave.nl> wrote:
One last question: Why can't  I use "pvcreate /dev/sda" but have to use
"pvcreate /dev/sda1" (as the LV HOW-TO stated the former).
Hope you can help me out with this as well.

pvcreate man-page says that:
<quote>
For *whole disk devices only* the partition table must be erased,
which will effectively destroy all data on that disk. This can be done
by zeroing the first sector with:
 dd if=/dev/zero of=PhysicalVolume bs=512 count=1
</quote>

--
Markus Laire

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.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