[linux-lvm] "pvchange --uuid" failed when PV is in use

Alasdair G Kergon agk at redhat.com
Tue May 24 17:41:11 UTC 2005


On Tue, May 24, 2005 at 09:32:11PM +0900, Shinn'ya Hoshino wrote:
> I tried to "pvchange --uuid /dev/sdc1" to change of PV UUID.
> But FAILED to change PV UUID on PV metadata, only changed on VG
> metadata. I'm trying to correct source code, please help.
 
I'd hoped to extend vg_write to handle this, but it got too
complicated and I didn't complete it.

I've checked an alternative fix into CVS.
  (Treats it like vgreduce + pvchange -u + vgcfgrestore then
   optimises most of the intermediate steps away)

Alasdair
-- 
agk at redhat.com




More information about the linux-lvm mailing list