[linux-lvm] How to place LVM2 metadata to other disks which don't belong to any volume group?

Peter Rajnoha prajnoha at redhat.com
Fri Dec 13 13:50:00 UTC 2013


On 12/13/2013 08:15 AM, George Brian wrote:
> Hi,
> 
> thank for your reply.
> 
> I read about "lvm.conf" and "man pvcreate" and practice like your
> instruction.
> but it's hard to meet my expection.
> 
> I do as follows:
> 1, setting lvm.conf to dirs
> 2, pvcreate --pvmetadatacopies 0
> 3, vgcreate on pv 
> Aborting vg_write: No metadata areas to write to!
> 

Make sure you have the "metadata" section uncommented for the
"dirs" setting to take effect.

-- 
Peter




More information about the linux-lvm mailing list