[NCLUG] I was stupid. Learn from my pain.

Grant Johnson grant at amadensor.com
Wed Sep 3 20:42:49 MDT 2014


It was definitely the fdisk /dev/md0.   Sine it then had partitions, it 
looked at the partitions instead of the whole device.   Luckily removing 
the partitions let it use the whole disk again.


On 09/03/2014 03:54 PM, Sean Reifschneider wrote:
> I think the issue here may have been the "fdisk /dev/md0".  I would
> normally fdisk the /dev/sd[bc] sort of devices, set the partitions to type
> "fd" (RAID autodetect, from memory), then create the RAID array on those
> partitions.  Then I would pvcreate /dev/md1 or whatever it ends up being.
> Then add that PV to your volume group.
>
> Note that LVM writes meta-data to the END of the device, and fdisk writes
> to the beginning.  So you can end up in a state where you have both,
> because one doesn't overwrite the other.  When I've gotten into funny
> states before, I've overwritten the beginning AND the end of the device and
> started over.
>
> Sean
> _______________________________________________
> NCLUG mailing list       NCLUG at lists.nclug.org
>
> To unsubscribe, subscribe, or modify
> your settings, go to:
> http://lists.nclug.org/mailman/listinfo/nclug
>



More information about the NCLUG mailing list