missing disc space
Dave Olson
olson at anchor.SGI.COM
Tue Aug 23 15:24:58 AEST 1988
In article <8808221920.aa01270 at SMOKE.BRL.MIL>, lacomb at SIERRA.STANFORD.EDU ("Lloyd J. Lacomb") writes:
>---
> Filesystem Type kbytes use avail %use Mounted on
> /dev/root efs 15591 9504 6087 61% /
> /debug dbg 58196 5508 52688 9% /debug
> /dev/usr efs 236529 132029 104500 56% /usr
> TOTAL 310316
>
> My question is if df reports only 310 Mb including the swap space what
> happened to the 70 Mb (plus or minus the 8 Mb of core memory) that my disc
> is supposed to have.
First of all, the size of /debug has NOTHING to do with the amount of
swap space you have. If your disk is laid out more or less typically
you probably have about 100,000 sectors of swap. You can find out
using 'swap -l'. Depending on whether the disk is a SCSI or ESDI
disk, you may have cylinders allocated for forwarding badblocks.
There is also typically about 2200 sectors allocated for the
volume header. You can use the prtvtoc command to find out
exactly how your disk is laid out.
Assuming you have typical swap and rounding, we get
15600+236500+1100+50000 = 303,200 K bytes. You don't say what
type of drive it is, but CDC for example, counts Mbytes as 10^6,
not 2^20, and the CDC Wren IV 380 typically formats to about
344 * 10^6 bytes == 328 * 2^20 bytes. Add in the overhead of
the filesystem for inodes, etc. and you are probably pretty
close.
Dave Olson, SGI
More information about the Comp.sys.sgi
mailing list