[linux-lvm] Setup for RAID1 with LVM

Brent Harding bharding at doorpi.net
Thu Nov 15 13:36:01 UTC 2001


Can it be done to just a partition? I suppose raid devices are considered
whole disks no matter what portion of various partitions they take up.
At 10:10 AM 11/15/01 -0600, you wrote:
>>>>>> "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<
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm at sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
>





More information about the linux-lvm mailing list