From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k7DEe7mE017929 for ; Sun, 13 Aug 2006 10:40:07 -0400 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id k7DEdtvc002604 for ; Sun, 13 Aug 2006 10:40:01 -0400 Received: by ug-out-1314.google.com with SMTP id c2so1247299ugf for ; Sun, 13 Aug 2006 07:39:55 -0700 (PDT) Message-ID: Date: Sun, 13 Aug 2006 14:39:55 +0000 From: "newzen newzen" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_122774_29301242.1155479995027" Subject: [linux-lvm] Howto? Change from VolGroup00 to VolGroupXX on boot disk. Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm@redhat.com ------=_Part_122774_29301242.1155479995027 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_122774_29301242.1155479995027 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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


------=_Part_122774_29301242.1155479995027--