- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- what am I missing on PVMOVE ?
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
06-11-2004 11:23 AM
06-11-2004 11:23 AM
vg01 has 2 PVGs named PVGINT and PVGARY
PVGARRY has 11 disks (luns)
PVGRAID has 6 disks (luns)
lvol1 is curently residing on one PVGRAID lun and it is not distributed.
I want to make it distributed and spread across the 11 disks (luns) on my PVGARRY
the steps I have taken
lvchange -s g -D f /dev/vg01/lvol1
when I do an lvdisplay, it showed up as
Allocation PVG-strict/partially-distributed
(-D y failed hence I had to use -D f to force it)
after this
pvmove -n /dev/vg01/lvol1 /dev/dsk/c36t1d0 PVGARRY
at this point, my expectancy was to find my lvol1 spread across all 11 drives in PVGARRY but instead I found it residing on a single lun, namely the first lun in the PVG.
What did I miss here ? I am sure it is very simple and stupid but it is friday late afternoon and my brain stopped.
Thanks for all help in advance.
UNIX because I majored in cryptology...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2004 11:55 AM
06-11-2004 11:55 AM
Re: what am I missing on PVMOVE ?
If you look at the pvmove man page it allow you specify the destination physical volume OR the destination PVG. You specified BOTH so I have a feeling it took the first thing it saw, /dev/dsk/c36t1d0.
What you probably should have done is:
# pvmove -n /dev/vg01/lvol1 PVGARRY
Since it is currently on a disk in the PVGARRY PVG you may need to:
# lvchange -D n /dev/vg01/lvol1
# pvmove -n /dev/vg01/lvol1 PVGRAID
to get it off of the PVGARRAY device.
Then try:
# lvchange -D y /dev/vg01/lvol1
(or use -D f if you have to, I guess)
# pvmove -n /dev/vg01/lvol1 PVGARRY
I don't guarantee that that will do what you need, but I think it may.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2004 11:59 AM
06-11-2004 11:59 AM
Re: what am I missing on PVMOVE ?
Actually I was following the man page instructions verbatim.
it says (in syntax section)
pvmove -n lvol_name source_pv [dest_pv|destpvg]
my source_pv for lvol1 was dev/vg01/lvol1 and as a destination I have the PVGARRY which is the pvg of all luns/volumes in the new disk array.
This is what's puzzling me.
Thanks for your quick response by the way.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2004 12:07 PM
06-11-2004 12:07 PM
Re: what am I missing on PVMOVE ?
I don't think pvmove can actually do the "distribution" for you.
On the other hand, if you extend the logical volume to a bigger size, that portion will be distributed.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2004 12:23 PM
06-11-2004 12:23 PM
Re: what am I missing on PVMOVE ?
is there and tested and tru method to accomplish this distribution without taking the volume offline and recreating it ?
Thanks for all the info again. Now I need to go home and walk my dog before starting my next round of work later tonight.
Cheers.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2004 03:28 PM
06-12-2004 03:28 PM
SolutionBill Hassell, sysadmin