3.2 V4.2 "df-v" displays incorrect free space

3.2 V4.2 "df-v" displays incorrect free space

Post by Michael Davids » Mon, 02 Feb 1998 04:00:00




[ ... ]

Quote:>                Everything seems to function well, but the total number of
>blocks reported by df -v is exactly twice that of what it should be for the
>new drive array as well as the original 1GB drive.

What do you think that the number of blocks reported by df -v "should be"?

It sounds as if you may not realise that df reports free space in terms
of 512 byte blocks, *not* 1024 byte blocks - see the df man page for more
details.

 
 
 

3.2 V4.2 "df-v" displays incorrect free space

Post by Christopher Moor » Tue, 10 Feb 1998 04:00:00


Wait till you find the OS5 hitch, where, if you run out of free disk
space it will continue to tell you so even when you've freed a lot up,
until you reboot.




> [ ... ]

> >                Everything seems to function well, but the total number of
> >blocks reported by df -v is exactly twice that of what it should be for the
> >new drive array as well as the original 1GB drive.

> What do you think that the number of blocks reported by df -v "should be"?

> It sounds as if you may not realise that df reports free space in terms
> of 512 byte blocks, *not* 1024 byte blocks - see the df man page for more
> details.


 
 
 

1. different free space result by "ls -a" and "df -k"

Hi,
I get differenct result for used space by "df -k" and "ls -al".
eg: /app2

what's the reason?

[flx06]-> df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/md/dsk/d0       2390732  928840 1414078    40%    /
/proc                      0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
fd                         0       0       0     0%    /dev/fd
/dev/md/dsk/d3       3555796  591638 2928601    17%    /var
swap                 2944552      40 2944512     1%    /var/run
swap                 2944704     192 2944512     1%    /tmp
/dev/md/dsk/d7       15160757   15049 14994101     1%    /app2
/dev/md/dsk/d6       4806072  469196 4288816    10%    /flx
/dev/md/dsk/d4       2390732    2401 2340517     1%    /secroot
/dev/md/dsk/d2          8726    1434    6420    19%    /app1
[flx06]-> cd /app2
[flx06]-> ls -a

2. problems with smb2www script

3. Problems with "df" and "du" on "/var"

4. Multiple nameserver problem

5. high vmstat "CS" values with Domino R5 on AIX v4.3.2

6. yast and parallel port zip

7. Need "cc" for 3.2 V4.2 (or any c compiler)

8. Cycle motherboard in a Sparc-2

9. GETSERVBYNAME()????????????????????"""""""""""""

10. Incorrect Disk Size with "df -k ."

11. Replacing the "rsh" and "rcp" commands with ssh substitutes on PSSP 3.2

12. Riddle: When is "free" software not "free?"

13. 30 GB free space and still "no enought space"