- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to find unused Disk on the HPUX system val...
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
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
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
10-19-2016 07:52 AM
10-19-2016 07:52 AM
How to find unused Disk on the HPUX system valid for 11.11 .11.23 11.31
Is any one have script for it. Please share ,else i have to write for it. Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2016 06:47 AM - edited 10-20-2016 06:53 AM
10-20-2016 06:47 AM - edited 10-20-2016 06:53 AM
Re: How to find unused Disk on the HPUX system valid for 11.11 .11.23 11.31
There is no single test or even several tests that will show unused disks. You can use either vgdisplay -v or strings /etc/lvmtab and swapinfo -tam to show what is actively being used but this will not account for whole disks used by raw access databases such as Informix or Sybase (sometimes Oracle). There might be alternate paths that were never configured into a volume group. If the systems use VxVM rather than LVM, use the VxVM commands to identify the disks.
You might be able to check unknown disks by using xd -xc to list the header information but it will take some research to decode each non-LVM disk. You can also look through shell history files (assuming they are kept) like .sh_history. If you have inherited systems with zero documentation, your first task is to inventory every application and database running on each box then look at application config files to see what disk resources they use.
I would get a copy of cfg2html (cfg2html.com or github) and run it on each system. Use the contents as a starting point.
Bill Hassell, sysadmin