Howto? Change from VolGroup00 to VolGroupXX on boot disk.

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

 



Hi, again

[root@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@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@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


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux