- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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
тАО04-09-2003 10:20 PM
тАО04-09-2003 10:20 PM
pvmove question
Just a simple question...
I have a vg with 2 disk and alternate paths (c8t0d0, c8t0d1 and c15t0d0 c15t0d1).
I would like to reuse cXt0d0, and I have cXt0d2 available for that purpose... is just as simple as using pvmove from t0d0 to t0d2? Can I do it "online" or should I deactivate the vg, or reduce the alternate path... what happens with alternate links, what should I expect later on a vgdisplay?
Thank you in advance
Juan-Luis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2003 10:40 PM
тАО04-09-2003 10:40 PM
Re: pvmove question
yes 'pvmove' is the command you after. If you wish to move all logical volumes from /dev/dsk/cxt0d0 to cxt2d2 all you need to do is:
# pvmove /dev/dsk/cxt0d0 /dev/dsk/cxt0d2
This will work providing there are enough free extents in which to do so. you can do on the fly. One further warning, do not do this if it is part of MC/SG.
The volume group must be de-activated. The 'pvmove' man page provides some good information on this.
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2003 11:38 PM
тАО04-09-2003 11:38 PM
Re: pvmove question
You need to add into your VG the new disk you want to pvmove to, then once youve done the pvmove all data is moved to the new disk, and you can then vgreduce your VG to remove the disk you moved from - once you do this obviously alternate links will be affected. You will need to vgreduce the disk you pvmoved from and its alternate link.
If you have 2 paths to the new disk add them both into the VG before or after the pvmove.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2003 11:40 PM
тАО04-09-2003 11:40 PM
Re: pvmove question
Should I first include the destination pv on the vg (vgextend) or not?
I want to do it with people working over the lvols... it is safe (I am not worried about performance degradation)?
Thanks again
Juan-Luis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2003 11:46 PM
тАО04-09-2003 11:46 PM
Re: pvmove question
Wod of advice here, ensure you have a GOOD backup of the data on this VG , just in case......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2003 12:43 AM
тАО04-10-2003 12:43 AM
Re: pvmove question
It works fine and fast...
Just one more question... why shouldn't I use it on exclusive vgs of a MC/SG package if my original disk (the one I want to remove) is not the cluster lock?
I understand that the only special task should be reimport vg on the secondary node after moving disks, isn't it?
Thanks,
Juan-Luis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-10-2003 12:48 AM
тАО04-10-2003 12:48 AM