- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: pvmove to migrate lvols from one VG to another
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
тАО06-27-2007 02:25 AM
тАО06-27-2007 02:25 AM
pvmove to migrate lvols from one VG to another
I need to move some SAP-specific lvols in VG00 from local disk onto SAN. I don't want to go through the rigamarole of having to Put a SAN LUN into VG00, do the pvmove and then split the SAN LUN out of vg00 into it's own VG. I was wondering if I could do this:
pvmove /dev/vg00/lvol## /dev/disk/disk##
where disk## is actually a member of a different VG, say vg01.
I have a second question somewhat related, that I need to have an answer to for planning purposes: On a brand new rx2660; about how long does it take to move an lvol of say 30 GB from one disk to another?
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2007 02:29 AM
тАО06-27-2007 02:29 AM
Re: pvmove to migrate lvols from one VG to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2007 02:31 AM
тАО06-27-2007 02:31 AM
Re: pvmove to migrate lvols from one VG to another
did you read the man page?
It says:
"...
The pvmove command moves allocated physical extents and the data they contain from a source physical volume, source_pv_path, to one or more other physical volumes in the same volume group..."
and later:
"dest_pv_path The block device path name of a physical volume. It cannot be the source physical volume. It must be in the same volume group as source_pv_path."
Notice:
in the same volume group!
Consider to take a backup of your data, create a new VG, new LVOL and restore.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2007 02:32 AM
тАО06-27-2007 02:32 AM
Re: pvmove to migrate lvols from one VG to another
The answer to your second question is "it depends". How busy is your system otherwise? What are the destination and source devices? ... but, for your purposes, a few tens of minutes is probably close enough. The fastest move will be a raw copy using dd with a bs=256k or a little bigger but this should be done with the filesystem unmounted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2007 02:39 AM
тАО06-27-2007 02:39 AM
Re: pvmove to migrate lvols from one VG to another
As to the second question, they aren't in production yet, so there's no load on them at all, and I'll definately have them in a maintenance window for this. Heance the need for a time estimate so I can request the appropriate amout of time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2007 05:48 AM
тАО06-27-2007 05:48 AM
Re: pvmove to migrate lvols from one VG to another
Depends on the type of disk but from an interal disk to a properly configured array device 10-15 minutes.
Disclaimer:
Many assumptions here. ( array has good amount of cache, the lun is 0+1 vs Raid5, there are not a million other things going on, etc )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2007 06:10 AM
тАО06-27-2007 06:10 AM