[linux-lvm] metadata too large for circular buffer - any way to increase PV metadatasize?

John Leach john at johnleach.co.uk
Thu Aug 7 20:45:46 UTC 2008


On Thu, 2008-08-07 at 20:52 +0100, Alasdair G Kergon wrote:
> And if you have problems making space in the metadata to add the PV to it,
> a workaround is to temporarily use in-filesystem metadata:
> 
>   create a metadata dir in a local filesystem (NOT an LV), and place an up-to-date
>   backup copy of the metadata there (from vgcfgbackup)
> 
>   update lvm.conf to start using this metadata (metadata/dirs)
>   - use verbose display options to check it's doing this
> 
>   pvcreate as in my last message to remove the too-small metadata area
>   - you're now relying entirely on the in-filesystem metadata
> 
>   add the new PVs to the VG as before
> 
>   revert the lvm.conf change

Will this work with clustered LVM?  If so, I take it all nodes will have
to be configured to use in-filesystem metadata?

Thanks,

John.
-- 
http://johnleach.co.uk




More information about the linux-lvm mailing list