- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Whick disk(s) in a vg does a file use space on
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
02-12-2007 05:57 AM
02-12-2007 05:57 AM
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 06:22 AM
02-12-2007 06:22 AM
Re: Whick disk(s) in a vg does a file use space on
# bdf
To tie the LV to its constituent PV(s):
# lvdisplay -v
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 06:25 AM
02-12-2007 06:25 AM
Re: Whick disk(s) in a vg does a file use space on
You would still need the potentially tedious LV - PV mapping for each PE in use.
You may also want to check:
http://docs.hp.com/en/B3929-90011/ch02.html
How about the pratical approach? copy the file to /dev/null and use same to 'see' where the IOs are going?
'getext' and 'fsdb_vxfs' are other commands in this space, but doesn't give want you need.
hth,
Hein van den Heuvel
HvdH Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 06:28 AM
02-12-2007 06:28 AM
Re: Whick disk(s) in a vg does a file use space on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 06:33 AM
02-12-2007 06:33 AM
Re: Whick disk(s) in a vg does a file use space on
this will list what VG/LV are on that physical volume. Will also provide a number of LE being used for each VG/LV
Pipe your pvdisplay command to more as the output you want is toward the top.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 06:42 AM
02-12-2007 06:42 AM
Solution.....
If you can do it - An ugly suggestion:
If you can edit the file manually - add some text to it, like "ICANFINDTHEDISK" at the end of the file.
Then, after determining which disks are in the VG - just do a
grep "ICANFINDTHEDISK" /dev/dsk/xxxx | strings -A
The problem next becomes: the file can easily exist across multiple disks.
Lastly, if you can't add a string to the file that you'd like, do a "strings -A" command on the file, and see if there is a string in there that is already highly identifible. If you're lucky - You may find that it only shows up on one disk in the vg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2007 06:47 AM
02-12-2007 06:47 AM