- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM - vgexport/vgimport
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
Discussions
Discussions
Forums
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
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-06-2000 03:04 PM
тАО11-06-2000 03:04 PM
DISKS VGS
A vg1
B vg1
C vg2
D vg2
E vg3
F vg3
G vg4
H vg4
Inorder to get the maximum performance benefit , i would like to change my phy volume under the vg's to
A vg1
G vg1
B vg2
H vg2
C vg3
F vg3
D vg4
E vg4
I know this can be achived using vgexport/vgimport command . Is this correct way
1. vgexport -p -m vg1.map /dev/vg1
2. vgchange -a n /dev/vg1
3. vgimport -m vg1.map /dev/vg1 /dev/dsk/A /dev/dsk/G
4. vgchange -a y /dev/vg1
Pls. correct me and let me know in case i need to take any precautions.
thanx/deepak
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2000 04:03 PM
тАО11-06-2000 04:03 PM
Re: LVM - vgexport/vgimport
In your scenerio the only way the vgexport/vgimport would work is if you are planning on moving disk drives to new controllers and changing the target id.
If vg1 contains A and B, you can't do an import for vg1 and specify disk A and G because Disk G belongs to vg04. Had you planned on physically moving disks arround?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2000 04:32 PM
тАО11-06-2000 04:32 PM
Re: LVM - vgexport/vgimport
however E,F,G,H will reamin on the existing . if this doesn't work , suggest me some other alternative.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2000 04:52 PM
тАО11-06-2000 04:52 PM
Re: LVM - vgexport/vgimport
Unmount filesystens then deactivate the VGs
# vgchange -a n /dev/vg1
# vgexport -v -s -m /tmp/vg1.map /dev/vg1
-now shutdown box and make your changes
After box is backup and online, use vgimport
# mkdir /dev/vg1
# mknod /dev/vg1/group c 64 0x0?0000
(group minor number will be unique)
# vgimport -v -s -m /tmp/vg1.map /dev/vg1
# vgchange -a y /dev/vg1
# mount -a
Do this for each vg you are moving around PVs to. If you use the -s with the -m option you won't need to know disk devices files for the import.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2000 04:54 PM
тАО11-06-2000 04:54 PM
Re: LVM - vgexport/vgimport
DISKS
ABCD - controller 1 to controler 2
EFGH - controller 2 to controller 3
Now is it possible ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2000 05:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2000 08:33 AM
тАО11-07-2000 08:33 AM
Re: LVM - vgexport/vgimport
Also u have not specify the new disks while doing the vgimport.
How this will work ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2000 09:57 AM
тАО11-07-2000 09:57 AM