- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- moving from disk to disk in same vg
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
11-02-2004 01:09 AM
11-02-2004 01:09 AM
I had an alert on a VG using 12 disks. I want to move all data (no mirror) from this disk to a safe one (or considered as so). I have space on the VG itself to take data from problem disk to safe one. I would then use vgreduce, and take this PV out. Problem is : how can I know what data is on a specific PV ?
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 01:16 AM
11-02-2004 01:16 AM
Re: moving from disk to disk in same vg
use lvdisplay -v to check distribution of logical volumens per PV
ex:
lvdisplay -v /dev/vg00/lvol2 | more
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 01:18 AM
11-02-2004 01:18 AM
SolutionIf you have enough space in vg, you can do pvmove. Before doing anything, it would be better to back the VG up.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 01:23 AM
11-02-2004 01:23 AM
Re: moving from disk to disk in same vg
This will show all LVs on that particular PV.
If you want to move EVERYTHING from one PV to another PV in the same VG, use the pvmove command. 'man pvmove' for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 01:32 AM
11-02-2004 01:32 AM
Re: moving from disk to disk in same vg
first findout the disk contains to which logical volumes by pvdisplay
#pvdisplay -v /dev/dsk/c0t3d0 |pg
Suppose you want to move the data in a logical volume, /dev/vg01/
markets, from the disk /dev/dsk/c0t3d0 to the disk /dev/dsk/c0t4d0.
Note that when you issue the command, you must specify a specific
logical volume on the source disk with the -n flag. You must also
specify the source disk first in the command line. For example,
# pvmove -n /dev/vg01/markets /dev/dsk/c0t3d0 /dev/dsk/c0t4d0
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2004 01:33 AM
11-02-2004 01:33 AM
Re: moving from disk to disk in same vg
I already used "lvdisplay -v" and moved LVs entirely on that PV by a re-creation. But I had a LV partially on that PV and too big for re-creation.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)