Charles Koprowski
2016-09-28 13:51:43 UTC
get an up-to-date metadata backup (vgcfgbackup)
pvcreate --restorefile pointing at a copy of that backup file
requesting 0 metadata areaspvcreate --restorefile pointing at a copy of that backup file
and specifying the same uuid as it had before
vgcfgrestore from the backup file
This doesn't look like something you can do with the volume group activevgcfgrestore from the backup file
[root testnode0 ~]# pvcreate --restorefile san-metadata -u
fTLglk-j1C1-02Z7-8k6l-DTAm-2WNj-9ZGT19 --metadatacopies 0 /dev/hdb -ff
Really INITIALIZE physical volume "/dev/hdb" of volume group "san" [y/n]? y
Can't open /dev/hdb exclusively. Mounted filesystem?
Is that right, or am I missing something?
I know it's been a long time but, Did you found out a solution for this ?
I'm trying to follow the same scenario to increase the metadatasize and got
stuck at the same point.
Thanks
Charles
--
Charles Koprowski
Systems & Networks
<http://www.audaxis.com/>
***@audaxis.com
Tel : +33 3 20 63 88 70 <+33+3+20+63+88+70>
GSM : +33 6 29 32 63 33 <+33+6+29+32+63+33>
<http://twitter.com/audaxis>
<http://www.linkedin.com/company/audaxis>
Charles Koprowski
Systems & Networks
<http://www.audaxis.com/>
***@audaxis.com
Tel : +33 3 20 63 88 70 <+33+3+20+63+88+70>
GSM : +33 6 29 32 63 33 <+33+6+29+32+63+33>
<http://twitter.com/audaxis>
<http://www.linkedin.com/company/audaxis>