- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change name of volume group
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
11-12-2001 07:06 AM
11-12-2001 07:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 07:13 AM
11-12-2001 07:13 AM
Re: Change name of volume group
have you already tried it with the SAM?
perhaps this works. Ok then you can look
in the man's of the VG commands under /usr/sbin.
I would remove it and create a new one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 07:19 AM
11-12-2001 07:19 AM
SolutionThis isn't tricky. Simply do this:
# unmount all associated logical volumes in the volume group to be changed
# vgchange -a n /dev/oldvgname
# vgexport ???m /tmp/vgoldname.map /dev/oldvgname
# mkdir /dev/newvgname
# mknod /dev/newvgname/group c 64 0x0X0000 (where X is a unique number not already used)
# vgimport ???m /tmp/vgoldmapfile /dev/newvgname /dev/dsk/
# vgchange -a y /dev/newvgname
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 07:20 AM
11-12-2001 07:20 AM
Re: Change name of volume group
bdf |grep vgxx
umount all the FS''s belonging to the VGxx.
Also, make sure it has no raw lv''s which are being used.
ll /dev/vgxx/group >/tmp/vgxx-ls
vgexport -v -m /tmp/vgxx.map /dev/vgxx
mkdir /dev/vgyy
mknod /dev/vgyy/group c 64 0x??0000
vgimport -v -m /tmp/vgxx.map /dev/vgyy
***
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 07:27 AM
11-12-2001 07:27 AM
Re: Change name of volume group
I think you cannot do it. Even using vgexport and vgimport... I think the machine would still be expecting the original name and may complain. I would remove it and create it again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 07:30 AM
11-12-2001 07:30 AM
Re: Change name of volume group
You always learn new things through here :-)
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 07:32 AM
11-12-2001 07:32 AM
Re: Change name of volume group
JRF's way of renaming vg works fine.
Don't forget to modify the fstab if there is filesystems on the vg.
Fr??d??ric