[linux-lvm] Howto? Change from VolGroup00 to VolGroupXX on boot disk.

newzen newzen newzenca at gmail.com
Sun Aug 13 14:39:55 UTC 2006


Hi, again

[root at phamm ~]# lvm version
  LVM version:     2.02.01 (2005-11-23)
  Library version: 1.02.02 (2006-01-04)
  Driver version:  4.5.0
[root at phamm ~]# pvscan
  PV /dev/hda2   VG VolGroup00   lvm2 [7.88 GB / 32.00 MB free]
  Total: 1 [7.88 GB] / in use: 1 [7.88 GB] / in no VG: 0 [0   ]
[root at phamm ~]# vgdisplay
  --- Volume group ---
  VG Name               VolGroup00
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  7
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               7.88 GB
  PE Size               32.00 MB
  Total PE              252
  Alloc PE / Size       251 / 7.84 GB
  Free  PE / Size       1 / 32.00 MB
  VG UUID               KcM5Db-Rp6y-fn04-3WiM-RXID-XYs7-taWQfn


Im trying to change the vg name for my boot disk, as follow

reboot the computer with rescue disk ( Centos 4.3 ) and do not charge image
of my file system

lvm vgchange -an

lvm vgchange VolGroup00 VolGroupXX

then change

/etc/fstab, as apropiatte to VolGroupXX
and
/boot/grub/grub.conf in the same way

then im trying to restart but ...

found VolGroupXX using metadata type LVM2
unable to found volume group VolGroup00

so my question what im missing?

Please give me a help on this!!
Thanks in advance NewZen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060813/e91438bc/attachment.htm>


More information about the linux-lvm mailing list