The technology blog



« Renaming a logical volume | How to find parent and child process »

Rename a volume group in HP-UX

Easy AdSense by Unreal


Unmount all the file systems from the volume group

# umount /mount_point

Disable the volume group

# vgchange -a n /dev/vgName

Export a volume group whilst creating a map file and extracting VGID off the disks.

#vgexport -s -v -m /tmp/vgName.map vgName (-m Create map file, -v in verbose mode, -s vgid)

Recreate the volume group as described here.

NOTE: Since you have the VGID information in the map file you can skip some of the steps and proceed to the necessary step as decribed here

Import the volume group

# vgimport -s -v -m /tmp/vgName.map vgName

Activate the newly created volume group.

# vgchange -a y /dev/vgName

Assuming you have not touched /etc/fstab file, you can just run -

# mount -a (”mount -a” to mount all or use “mountall” or use individual mount point)

Rename a volume group in HP-UX
Share and Enjoy:

Posted by Haresh Madnani on October 14, 2009.

Tags: , , , , , ,

Categories: LVM

0 Responses

Leave a Reply

« Renaming a logical volume | How to find parent and child process »




Recent Posts


Pages



Hi, my name is Haresh Madnani and I am from UK.

I have been into IT for more than 15 years. I have worked as a Unix and SAN Administrator on different platforms and SAN infrastructure. Website Desinging, Blogging, SEO is my hobby.

If you have any questions, feel free to contact me.

Share and Enjoy:

About The technology blog

more →