copying lvm with the same name

Bill Crawford billcrawford1970 at gmail.com
Fri Mar 20 18:50:31 UTC 2009


On Friday 20 March 2009 18:29:33 Frank Cox wrote:
> On Fri, 20 Mar 2009 11:24:14 +0000
>
> Bill Crawford wrote:
> > You should probably be able to get some sense out of this by doing:
> >
> >     # vgrename 1dl8EY-s2Qe-W50Y-wU8V-nCRJ-5Upz-SEkJgp vg_sda2
>
> [frankcox at mutt temp]$ su -c "vgrename
> 1dl8EY-s2Qe-W50Y-wU8V-nCRJ-5Upz-SEkJgp vg_sda2" Password:
>   Volume group 1dl8EY-s2Qe-W50Y-wU8V-nCRJ-5Upz-SEkJgp not found.

Oh balls, that's the PV UUID, not the VG UUID. Back to square one.

You need to either temporarily pull sda2 out, and boot off a rescue disk to 
rename it, or vice versa. Or find out the UUID of the volume ... if you're 
lucky, "vgdisplay --verbose" *might* pick up the duplicate and show you the 
UUID for it.




More information about the fedora-list mailing list