- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Volume Groups
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
02-06-2004 04:19 AM
02-06-2004 04:19 AM
Volume Groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 04:23 AM
02-06-2004 04:23 AM
Re: Volume Groups
You can just vgexport the VG & vgimport it into a new VG name.
Even though it's not required, make a backup beforehand just to be safe.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 04:25 AM
02-06-2004 04:25 AM
Re: Volume Groups
You can use vgexport/vgimport to accomplish this.
First export the VG:
vgexport -s -m /tmp/vgXXmap /dev/vgXX
Then create the device files:
mkdir /dev/vgYY
mknod /dev/vgYY/group c64 0xYY0000
Then import the VG
vgimport -s -m /tmp/vgXXmap /dev/vgYY
Note the vgnames in the vgimport command differ for the map name and the actual (new) VG.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 04:27 AM
02-06-2004 04:27 AM
Re: Volume Groups
Plan B. If you are using raw devices then simply set up symbolic links to the desired lvols.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2004 09:02 AM
02-06-2004 09:02 AM
Re: Volume Groups
1) Unmount the logical volumes
2) Deactivate the volume group
# vgchange -a n /dev/vg02
3) Export the VG
# vgexport -v -s -m /vg02.map /dev/vg02
4) create the files for the new vg
# mkdir /dev/vgnew
# mknod /dev/vgnew c 64 0x050000
# vgimport -v -s -m /vg02.map /dev/vg02
5) Edit /etc/fstab and /etc/lvmrc if required.
-- Sundar.