- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rename vg , lv and mount point
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 12:08 AM
07-16-2002 12:08 AM
I need to rename mount point, logical volume and volume group. I know renaming mount point is easy, but what about the others ? How do I do it if I know it is empty ?
The system is running on cluster, so I believe I need to change the vginfo of /etc/cmcluster, any other things that I have missed out ?
Example :
From
/dev/dvlp01/lvol1 /dvlp01
To
/dev/vg01/lv0l4 /prod04
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 12:19 AM
07-16-2002 12:19 AM
Solutionvgexport -v -m /etc/lvmconf/dvlp01.map /dev/dvlp01
vi /etc/lvmconf/dvlp01.map # and adjust like you want
mkdir /dev/vg01
mknod /dev/vg01/group c 64 01010000
vgimport -v /dev/vg01 -m /etc/lvmconf/dvlp01.map
vgchange -ay vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 12:24 AM
07-16-2002 12:24 AM
Re: rename vg , lv and mount point
It this VG is part of a ServiceGuard package you will need to remove the "old" lvols/vg on the other nodes and import the new.
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 12:34 AM
07-16-2002 12:34 AM
Re: rename vg , lv and mount point
If the filesystem is not mounted :
# mv dvlp01 prod04
# vgexport -v -s -m vg01.mapfile dvlp01
# vi vg01.mapfile --> replace lvol1 with lv0l4
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# vgimport -v -s -m vg01.mapfile vg01
If the filesystem is used by a SG package :
- edit the cluster configuration file and replace /dev/dvlp01 with /dev/vg01
- edit the package configuration file to change the vg info : VG[0]=... LV[]...FS[]...
- report the odifications to all the nodes.
I the filesystem is not used by SG then edit the fstab andmodify it.
Fr??d??ric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 01:23 AM
07-16-2002 01:23 AM
Re: rename vg , lv and mount point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2002 01:28 AM
07-16-2002 01:28 AM
Re: rename vg , lv and mount point
Fr??d??ric