- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Find unused SAN disks and their size in GB
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
тАО10-16-2008 08:38 AM
тАО10-16-2008 08:38 AM
I would like to also get the size of those disks in GB if possible.
I have searched on the forums and haven't found much luck.
Something that would look like.
Disk allocated Size
This is an HP-UX 11.11 server.
I really appreciate the help.
I need to provide a report to my DBA of unused disks on a server.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2008 08:41 AM
тАО10-16-2008 08:41 AM
Re: Find unused SAN disks and their size in GB
For each device execute pvdisplay.
Size:
for each device execute diskinfo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2008 08:47 AM
тАО10-16-2008 08:47 AM
Re: Find unused SAN disks and their size in GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2008 08:56 AM
тАО10-16-2008 08:56 AM
Re: Find unused SAN disks and their size in GB
Maybe this can get it for you in MB
symconfigure list -freespace -units MB
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2008 09:01 AM
тАО10-16-2008 09:01 AM
Re: Find unused SAN disks and their size in GB
or VxFS on VxVM ??
A simple bdf will tell you what you are using. if you see all filesystem names like /dev/vgXX/XXX then you are using LVM.
If you see somthing like vxdisk ( i think ) then you are using VxVM.
If you see both then you have a mix ( ugh ).
The filesystem type of VxFS is irrelevant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2008 09:07 AM
тАО10-16-2008 09:07 AM
Re: Find unused SAN disks and their size in GB
You can get something from that.
Or you can run symdev list | grep for "N/Asst'd" and then total the value of the last column in that output. Again that is in MB.
Of course that doesn't divide disk by type (RAID5;2way mirr;BCV)you'd have to sort or extract for each type & then total.
Just thinking out loud.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2008 09:08 AM
тАО10-16-2008 09:08 AM
Re: Find unused SAN disks and their size in GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2008 09:20 AM
тАО10-16-2008 09:20 AM
Re: Find unused SAN disks and their size in GB
BUT........that does not tell you what disk is free on your SAN array, that has yet to be mapped & masked to anything.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2008 09:28 AM
тАО10-16-2008 09:28 AM
SolutionFrom what perspective are you asking ? From the server that has been allocated storage or simply from the global storage perspective no matter what host(s) storage is presented to.
They are both two very different perspectives.
symm commands to get symm info and hpux commands to get OS info.
And documenting this is very important in the event of a major failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2008 12:41 PM
тАО10-16-2008 12:41 PM
Re: Find unused SAN disks and their size in GB
ioscan -funC disk | grep for all EMC/hitachi disks.
I also completed a pvdisplay on all rdsks....this left me with a few disks not associated to a VG...which i then did and diskinfo -b on to find the unallocated disks.
Thanks to all...points assigned.