Fandom

The Sysadmin Wiki

Update metadata size for PV

157pages on
this wiki
Add New Page
Talk0 Share

Say we need to grew metadata size to 2048k:

* vgcfgbackup -v -f /path/to/file <vg_name>
* stop nfs server
* umount all LVs
* lvchange -an all LVs
* vgchange -an <vg_name>
* pvdisplay and note UUID and /dev/path
* pvcreate -ff --metadatasize 2048k [--metadatacopies 2] --uuid <UUID here> /dev/path
* vgcfgrestore -f /path/to/file -v <vg_name>
* pvs -o +pv_mda_free - just to check 
* vgchange -ay 
* lvchange -ay all LVs
* mount -a <vg_name>
* start nfs server

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.