- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Checking all volumes,volume sizes,total and fr...
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-06-2003 02:01 AM
02-06-2003 02:01 AM
Checking all volumes,volume sizes,total and free disk space
How can I check all available vg,volume sizes,total and free disk space of n-class server attached to emc storage without root user?
Thanks in advance
-Nag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 02:18 AM
02-06-2003 02:18 AM
Re: Checking all volumes,volume sizes,total and free disk space
you can see the free space of all configured EMC LUNs in your volume groups by:
# vgdisplay
have a look at this line for each volume group:
Free PE
Hope that helps.
Regrads ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 02:20 AM
02-06-2003 02:20 AM
Re: Checking all volumes,volume sizes,total and free disk space
sorry ;-( You can configure a restricted SAM (sam -r) so that a other user can see the avaliable free space of you volume groups (see man page).
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 02:24 AM
02-06-2003 02:24 AM
Re: Checking all volumes,volume sizes,total and free disk space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 08:15 AM
02-06-2003 08:15 AM
Re: Checking all volumes,volume sizes,total and free disk space
It uses bdf but provides figures in Meg instead if kb.
All you need to do is save it in a common directory on the user path and give it execute permissions.
It is tested, but I always recommend carefully examining shell scripts prior to using them.
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 08:18 AM
02-06-2003 08:18 AM
Re: Checking all volumes,volume sizes,total and free disk space
vgdisplay -v > /tmp/vgdata.out
and
lvdisplay -v /dev/vg_name/lv_name > /tmp/lv_name.out
for every LV should give you everything you want.
These can be run by normal users.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 08:29 AM
02-06-2003 08:29 AM
Re: Checking all volumes,volume sizes,total and free disk space
You can do.
VGs - /usr/sbin/vgdisplay -v
LVs and their sizes - /usr/sbin/lvdisplay -v lv_name
Disks - /usr/sbin/ioscan -fnkC disk
Used and free space - bdf
All the above can you done as a normal user. Look at the man pages of each of the above commands. You may need to do a combination of the above commands to get what you need.
-Sri