PWG Mail Archive: FWD: hrStorageSize limits

FWD: hrStorageSize limits

JK Martin (jkm@underscore.com)
Mon, 23 Sep 96 19:24 EDT

Attached is a comment/warning from the Host Resources MIB mailing list
that should be of interest to Printer MIB agent implementors.

...jay

----- Begin Included Message -----

From: "Ulrich Haebel SNI" <haebel@pyramid.com>
Date: Mon, 23 Sep 1996 15:02:53 -0700
To: hostmib@andrew.cmu.edu
Subject: hrStorageSize limits
Mime-Version: 1.0

RFC1514 defines the hrStorageSize as SYNTAX INTEGER (0..2147483647).
The size of file systems may go beyond this range. The statvfs struct on
SVR4 machines defines the number of blocks on a certain file system as an
u_long variable. This is larger than the above value. Upcoming 64 bit machines
will need even larger values of hrStorageSize than 4294967295!
One way to work around this problem may be to use an artificial value
for hrStorageAllocationUnits. But then hrStorageAllocationUnits is no
longer the size of allocated data objects as defined in the MIB definition.

Any clue?

-- 
Ulrich H\"abel                                       haebel@pyramid.com
Pyramid Technology - A Siemens Nixdorf Company       (408) 428-8112

----- End Included Message -----