From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,3e60251c75e9702 X-Google-Attributes: gid1164f8,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Need a "df" that recognizes large filesystems Date: 1995/08/01 Message-ID: <3vm7nt$1nn@usenet.pa.dec.com>#1/1 X-Deja-AN: 107282449 distribution: world references: <3vjm4n$mb@chnews.ch.intel.com> organization: Digital Equipment Corporation keywords: df reply-to: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) newsgroups: comp.sys.dec In article <3vjm4n$mb@chnews.ch.intel.com>, pitterle@sedona.intel.com (Matt Pitterle -FT-~) writes: >I have some DEC 3100's running ULTRIX-32 V3.1. V3.0 was released in April 1989. V3.1 was probably released later that same year. >It seems that when doing a df on large (greater than 2GB) >mounted filesystems the output is incorrect. >I looked through some FAQ's available but had no luck. Since you can have a *local* file system larger than 1 GB, is it safe to assume that these large file system are NFS mounted? Using a slightly more modern version of ULTRIX; V4.4 on a DECstation 5000/240: % df /mnt/OSF Filesystem Total kbytes kbytes % node kbytes used free used Mounted on mennoly:/mnt/OSF 7975309 5366257 1811521 75% /mnt/OSF On the server: % df -k /mnt/OSF Filesystem kbytes used avail capacity Mounted on /dev/ds0c 7975309 5366257 1811521 75% /mnt/OSF So, V4.4 seems to handle a large file system reasonably. However, if I use V4.3: % df /mnt/OSF Filesystem Total kbytes kbytes % node kbytes used free used Mounted on mennoly:/mnt 3781005 1171953 1811521 39% /mnt/OSF > >Any direction? Upgrade to V4.4 or write your own version of df(1) that doesn't multiply the block count by the block size before converting down to KB. > >^^Matt Pitterle > -- Alan Rollow alan@nabeth.cxo.dec.com