On Wed, 25 May 2011, Oliver Ruebenacker wrote:

    Hello,

On Wed, May 25, 2011 at 10:30 AM, Michael Schwendt <mschwe...@gmail.com> wrote:
On Wed, 25 May 2011 10:25:50 -0400, OR wrote:

[root@averroes oliver]# pvs
  PV         VG         Fmt  Attr PSize  PFree
  /dev/sda2  VolGroup00 lvm2 a-   74.31g 32.00m
  /dev/sdb5  VolGroup00 lvm2 a-   34.34g 32.00m

Have you tried to rename a VG by UUID?

[root@averroes oliver]# blkid /dev/sdb5
/dev/sdb5: UUID="F1c2yO-Yc8e-Rdwv-FIxB-wcBZ-aKW6-5mG52I" TYPE="LVM2_member"
[root@averroes oliver]# vgrename
F1c2yO-Yc8e-Rdwv-FIxB-wcBZ-aKW6-5mG52I VolGroup00laptop
 Volume group "F1c2yO-Yc8e-Rdwv-FIxB-wcBZ-aKW6-5mG52I" not found

That is the UUID of the physical volume, not the volume group. vgdisplay should give you the right UUIDs if you can work out which one is which.

        Michael Young
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to