I have been testing TSM bare metal restore of SLES9 s390 by using another
SLES9 s390 and mounting the Linux to be restored volumes on to /mnt and
have successfully restored the SLES9 and booted no problem. The problem I
have is that the Linux I used to recover the failed Linux instance both had
the same volume group name so I had to create a unique volume group name
for the Linux to be restored. Now that I have the recovered Linux up and
running I want to rename the group name from xvg1 back to vg1.

Any thoughts on how I can rename my volume group when it is an active
volume group ?

My filesystems show vg1 on the recovered Linux but show xvg1 on the
vgdisplay and lvdisplay:

Filesystem            Size  Used Avail Use% Mounted on
/dev/dasda1            97M   73M   20M  79% /
tmpfs                 251M     0  251M   0% /dev/shm
/dev/mapper/vg1-usr   3.0G  835M  2.0G  30% /usr
/dev/mapper/vg1-var   248M   87M  149M  37% /var
/dev/mapper/vg1-opt   179M  115M   55M  68% /opt
/dev/mapper/vg1-opt.xxxxxx
                      3.0G   63M  2.8G   3% /opt/xxxxxx
/dev/mapper/vg1-opt.xxxxxx.ff
                      485M   17M  444M   4% /opt/xxxxxx/ff
/dev/mapper/vg1-opt.xxxxxx.zzzz
                      2.0G   33M  1.9G   2% /opt/xxxxxx/zzzz
/dev/mapper/vg1-home  194M   17M  168M  10% /home
/dev/mapper/vg1-tmp   194M   17M  168M   9% /tmp


 --- Volume group ---
  VG Name               xvg1
  System ID
  Format                lvm2
  Metadata Areas        3
  Metadata Sequence No  10
  VG Access             read/write
  VG Status             resizable
  MAX LV                255
  Cur LV                9
  Open LV               9
  Max PV                255
  Cur PV                3
  Act PV                3
  VG Size               13.65 GB
  PE Size               4.00 MB
  Total PE              3494
  Alloc PE / Size       2415 / 9.43 GB
  Free  PE / Size       1079 / 4.21 GB
  VG UUID               xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

LV Name                /dev/xvg1/usr
  VG Name                xvg1
  LV UUID                xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                3.00 GB
  Current LE             768
  Segments               2
  Allocation             next free (default)
  Read ahead sectors     0
  Block device           253:8

TIA .........................

Regards,
Terry L. Spaulding
IBM Global Services
[EMAIL PROTECTED]

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to