- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: moving physical extents from one disk to anoth...
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
тАО08-07-2003 07:18 AM
тАО08-07-2003 07:18 AM
I have two disks and I want to free one one up.
But some of the pysical extents of the file systems are shared. From /dev/dsk/c1t0d0 to /dev/dsk/c1t2d0.
/dev/dsk/c1t0d0
Total PE 4340
Free PE 4163
Allocated PE 177
/dev/dsk/c1t2d0
Total PE 4340
Free PE 1458
Allocated PE 2882
I just need to confirm that this is what I need to do and that this will work.
pvmove -n /dev/vg00/lvol6 /dev/dsk/c1t0d0 /dev/dsk/c1t2d0
pvmove -n /dev/vg00/lvol11 /dev/dsk/c1t0d0 /dev/dsk/c1t2d0
Thanks
Richard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 07:19 AM
тАО08-07-2003 07:19 AM
Re: moving physical extents from one disk to another.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 07:24 AM
тАО08-07-2003 07:24 AM
Re: moving physical extents from one disk to another.
From the pvmove man page:
"Move only the physical extents for logical volume /dev/vg01/lvol2 that
are currently on /dev/dsk/c1t0d0 to /dev/dsk/c2t0d0:
pvmove -n /dev/vg01/lvol2 /dev/dsk/c1t0d0 /dev/dsk/c2t0d0"
That looks to me like exactly what you're trying to do.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 07:25 AM
тАО08-07-2003 07:25 AM
Solutionas you want to free up total /dev/dsk/c1t0d0
there is no need to specify logvols.
Just pvmove /dev/dsk/c1t0d0 /dev/dsk/c1t2d0 will move all extents over.
Before pulling remember to unconfigure disk with vgreduce vg?? /dev/dsk/c1t0d0
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 07:33 AM
тАО08-07-2003 07:33 AM
Re: moving physical extents from one disk to another.
# vgdisplay -v vgxx
# pvmove /dev/dsk/c1t0d0 /dev/dsk/c1t2d0
and to verify the physical data move.
# lvdisplay -v /dev/vgxx/lvolxx (for each logical volume)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2003 07:34 AM
тАО08-07-2003 07:34 AM
Re: moving physical extents from one disk to another.
your sintax is correct.
But i hate pvmove, it's dangerous. I wuold go with a couple ok backup before doing this.
Of, since you have space, create a new lvol, copy the data on it, remove the first lvol, mirror the orignal lvol to the disk, and finally remove the mirror.
I know to be a little anxious, but once i had a pvmove interrupted by a telnet close, and i lost all data...
Use the "screen" utility at least.
Massimo