HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

statvfs call on HP-UX 11.23 ia64 is returning zero values for a few fields

 
PrasannaKumari
Contributor

statvfs call on HP-UX 11.23 ia64 is returning zero values for a few fields

statvfs call on HP-UX 11.23 ia64 is returning zero values for the following fields for some filesystems.

- file system size
- available space
- free space

The data returned by the statvfs call is given below -

name = /
disk.fileSystemSize = 4002816
disk.availableSpace = 2845959
disk.freeSpace = 2868360
name = /stand
disk.fileSystemSize = 64512
disk.availableSpace = 38353
disk.freeSpace = 38643
name = /share_backup
disk.fileSystemSize = 0
disk.availableSpace = 0
disk.freeSpace = 0
name = /share
disk.fileSystemSize = 0
disk.availableSpace = 0
disk.freeSpace = 0
name = /http
disk.fileSystemSize = 35561472
disk.availableSpace = 33310346
disk.freeSpace = 35530975


Can some one let me know the reason for this?


1 REPLY

Re: statvfs call on HP-UX 11.23 ia64 is returning zero values for a few fields

How large is /share_backup and /share?
Do you have to call statvfs64?