[linux-lvm] Setup for RAID1 with LVM

Jason L Tibbitts III tibbs at math.uh.edu
Thu Nov 15 10:09:02 UTC 2001


>>>>> "FC" == Ferenc Csuk <Csuk> writes:

FC> [...]  when we start pvcreate /dev/md0 we get the following error:
FC> invalid partition type 0x83 for /dev/md0" (must be
FC> 0x8e). Unfortunatelly we can´t change it using fdisk.

The manual page for pvcreate says:

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

 - J<




More information about the linux-lvm mailing list