- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HOW TO FIND FREE DISK SPACE
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
05-23-2002 08:10 AM
05-23-2002 08:10 AM
I've a HP-UX-B.10.10 server connected to an EMC Disk array. I got my volume groups configured to use the disks in EMC. How do i know how much free disks are available in the EMC for creating one more volume group?
Any help will be highly appreciated
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 08:13 AM
05-23-2002 08:13 AM
SolutionDo a "string /etc/lvmtab" to look for the disks already configured into VG's. Then do a ioscan to find out all the disks on your system. Do a diskinfo -v /dev/rdsk/cxtydz for the unused disk to know their sizes. You can then decide on the no of the disks and then sizes you want to include in the VG.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 08:16 AM
05-23-2002 08:16 AM
Re: HOW TO FIND FREE DISK SPACE
Find the disk/LUN that is configured for the current volume group
pvdisplay -v /dev/vg?? | more
look for PE Size and Free PE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 08:18 AM
05-23-2002 08:18 AM
Re: HOW TO FIND FREE DISK SPACE
for i in `ls /dev/vg*`
do
vgdisplay -v $i | grep -i "free pe"
done
This of course assumes that your vg names follow a standard naming format.
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 08:18 AM
05-23-2002 08:18 AM
Re: HOW TO FIND FREE DISK SPACE
There should have been EMC software installed on your server. run the command /usr/emc/ECC/bin/symmConsole for the gui interface. There it should tell you what is allocated and free. also you can do the traditional ioscan and strings lvmtab to determine this.
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 08:19 AM
05-23-2002 08:19 AM
Re: HOW TO FIND FREE DISK SPACE
vgdisplay /dev/vg_name
will give a Free PE value & a PE Size.
Multiply the two & that's the free space.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 08:23 AM
05-23-2002 08:23 AM
Re: HOW TO FIND FREE DISK SPACE
Try these things:
1) SAM - disk and file systems - disk devices (this will list you all "unused" disks)
2) Check with pvdisplay:
# pvdisplay -v device_path
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 08:26 AM
05-23-2002 08:26 AM
Re: HOW TO FIND FREE DISK SPACE
# ioscan -fnC disk
==> from the device files you can run ..
# diskinfo /dev/rdsk/cXtXdX
==> gives you the available size
You would want to cross reference with what's already configured in you VG.
# vgdisplay -v | grep dsk
==> shows you just the disk device already configured in all of your VGs, so you do not want to use these to create a new VG.
Also take note of alternate path because you do not want to include that in your calculation. Devices that appears in "ioscan" and not found in "vgdisplay" can be used for your new VG creation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 08:27 AM
05-23-2002 08:27 AM
Re: HOW TO FIND FREE DISK SPACE
I think Sanjay has answered your principal question. Note that you will find a collection of small-sized disks using 'diskinfo' to discover their sizes. The small disks (~ 2-7MB or so) are called "gatekeepers" and are generally not used.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 08:57 AM
05-23-2002 08:57 AM
Re: HOW TO FIND FREE DISK SPACE
Sorry I didn't read your post thoroughly i.e. you wanted total EMC free space.
Depending on what EMC Control Center version you have you may/may not have access to a GUI.
But almost all versions have the inquiry command usually it's
/usr/emc/symcli/bin/syminq
Insure that the EMC man pages (usually /usr/emc/symcli/man) are in your MANPATH & you can do a man on syminq
A normal command would be
syminq /dev/dsk/cxtydz
But you can just do a syminq & it'll display all EMC devices available to the host. This can then be matched against what /etc/lvmtab has to determine what's used/unused.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 09:49 AM
05-23-2002 09:49 AM
Re: HOW TO FIND FREE DISK SPACE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 10:54 AM
05-23-2002 10:54 AM
Re: HOW TO FIND FREE DISK SPACE
One final note - which may actually be a warning.
IF there a multiple hosts connected to this EMC array AND this is an older array with older EMC SW that has not implemented zoning, it's entirely possible that you'll see devices that appear unused but are in fact in use by another host.
IF you pvcreate a device in use by another host, you'll essentially destroy the other host's data.
So unless you know for a fact that this is the ONLY host connected to this array, assume that unused devices are unused ONLY by this host & check for other host connections & if found the other hosts usage.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2002 11:03 AM
05-23-2002 11:03 AM
Re: HOW TO FIND FREE DISK SPACE
There is a inq software which cretes a good o/p interms of all teh disk and there assignemts incase you are intersted i can send you that .
I have attached a typical o/p which can be taken in a html format and seen through explorer.
Manoj Srivastava