[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: copying lvm with the same name



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 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]