- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: unmounted filesystem size
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
тАО06-03-2002 10:53 PM
тАО06-03-2002 10:53 PM
On hp-ux, statfs or statvfs C functions return structure which gives information about a mounted filesystem (it is the sizes which interest me). On solaris, for exemple, the same functions can give also information about unmounted filesystems. Does anyone know how it is possible to do the same thing on hp-ux ? The use of statfs (or statvfs) gives wrong information.
Thanks
Serge
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2002 11:12 PM
тАО06-03-2002 11:12 PM
Re: unmounted filesystem size
I think what your after is this:
I want to have a look at say /usr
# fstyp -v /dev/vg00/lvol6
vxfs
version: 4
f_bsize: 8192
f_frsize: 1024
f_blocks: 1048576
f_bfree: 334076
f_bavail: 313197
f_files: 112444
f_ffree: 83516
f_favail: 83516
f_fsid: 1073741830
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 0
f_fsindex: 5
f_size: 1048576
# bdf /usr
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol6 1048576 714500 313232 70% /usr
Have a look at the man page for further information.
HTH
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 12:46 AM
тАО06-04-2002 12:46 AM
Re: unmounted filesystem size
that is the data I'm looking for, but I need to access them by C functions (for performance constraint). But the statfs function allows only access to mounted filesystems, that is the problem; I need these datas for unmounted filesystems too.
Serge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 01:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 01:50 AM
тАО06-04-2002 01:50 AM
Re: unmounted filesystem size
that is exactly what I wanted.
Thanks
Serge