- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Moving Logical Volumes
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
тАО09-12-2002 05:27 AM
тАО09-12-2002 05:27 AM
Moving Logical Volumes
Obviously since I cannot do a vgextend due to the max PE limitation, I plan to do the following:
Do a vgcfgbackup of vg01
create a vgtemp with the 73GB drives
recreate all logical volumes that are on vg01 ( I have a script that will do this)
Copy the raw devices from one volume group to the other using dd
vgexport -m vg01 /tmp/vg01.map
vgexport -m vgtemp /tmp/vgtemp.map
mkdir /dev/vg01; mknod /dev/vg01/group c 64 0x010000
vgimport -m /tmp/vgtemp.map /dev/vg01 /dev/dsk/diskA /dev/dsk/diskB /dev/dsk/diskC
Will this work and is it the best way to do it??
Thanks for all your suggestions.
-Shekar Raman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 05:58 AM
тАО09-12-2002 05:58 AM
Re: Moving Logical Volumes
Looks good. Done procedures like this before myself, no problems. The new VG has the right parameters (Max pe per pv) for the larger drives, you create the lvols the exact same size as on the old vg, dd over the data, then rename your temp vg. Easy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 06:13 AM
тАО09-12-2002 06:13 AM
Re: Moving Logical Volumes
1) Make sure you perform full backup of all your data in vg01 (just in case).
2) Generally the steps looks good but I thought the syntax fro the vgexport should be ..
# vgexport -m /tmp/vg01.map /dev/vg01
==> ie vgexport -m
3) I believe you got to de-activate the VG first before you can export it.
# vgchange -a n /dev/vg01
same goes to vgtemp and also after the vgimport you need to activate the VG.
# vgchange -a y /dev/vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 06:15 AM
тАО09-12-2002 06:15 AM
Re: Moving Logical Volumes
Now would be a good time to adjust anything that needs to be adjusted like max PE, PE extent size, etc.
Good Luck,
Sean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 06:21 AM
тАО09-12-2002 06:21 AM
Re: Moving Logical Volumes
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 06:28 AM
тАО09-12-2002 06:28 AM
Re: Moving Logical Volumes
-Shekar Raman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2002 07:06 AM
тАО09-12-2002 07:06 AM
Re: Moving Logical Volumes
Sandip