- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pvmove question
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
07-24-2002 07:19 PM
07-24-2002 07:19 PM
pvmove question
If the lvol is span across two disks or more, can I move this lvol to a single disk (the size is sufficient for the whole lvol) using pvmove. If so, what is th syntax of the command ?
YC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 07:23 PM
07-24-2002 07:23 PM
Re: pvmove question
I think it should work, but I'd be more tempted to just back up the LV, remove it, and re-create it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 07:51 PM
07-24-2002 07:51 PM
Re: pvmove question
To move a logical volume is quite easy and the man page does sort of say how.
First move the lvol from disk 1 to new disk
# pvmove -n /dev/vg01/lvol2 /dev/dsk/c1t0d0 /dev/dsk/c2t0d0
and then move the rest of the lvol from disk 2 to new disk.
# pvmove -n /dev/vg01/lvol2 /dev/dsk/c1t0d1 /dev/dsk/c2t0d0
Assuming the logical volume you wish to move is 'lvol2' and the disk is /dev/dsk/c2t0d0
You just need to do it in two passes.
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 08:01 PM
07-24-2002 08:01 PM
Re: pvmove question
say vg01 got lvol2 which spans c2t2d0 and c2t3d0 in that order. And you want to move all of lvol2 to c2t4d0 (VERY IMPORTANT.. c2t4d0 is part of vg01 and has enough PEs). Another thing I need to caution here, even though you can do an active pvmove I strongly recommend backing up the data in lvol2 first before you do this.
# pvmove -n /dev/vg01/lvol2 /dev/dsk/c2t2d0 /dev/dsk/c2t4d0
==> moving first "chunk" of extents from c2t2d0 to c2t4d0
# pvmove -n /dev/vg01/lvol2 /dev/dsk/c2t3d0 /dev/dsk/c2t4d0
==> moving the remaining "chunk" of extents from c2t3d0 to c2t4d0
The pvmove operation may take a while, so be patient.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 08:02 PM
07-24-2002 08:02 PM
Re: pvmove question
-Live as you wish-
Zhou