* I forgot the command to find total disk space available
@ 1994-02-24 23:30 Thomas E. Wright
1994-02-25 19:56 ` Thomas E. Wright
0 siblings, 1 reply; 3+ messages in thread
From: Thomas E. Wright @ 1994-02-24 23:30 UTC (permalink / raw)
I have been asked "how much free disk space do we still ahve on this machine
and I was forced to say that I havent the foggiest idea how to find out.
Someone please tell me so that I can redeem myself!
another thing that is off of the subject... I need to find out more about
GKS graphics. The physicists who use this machine are wanting to make some
graphical output of there colission experiments (where it was hit). Got any
clues?
Thomas Wright
root@uhibpd.phys.uh.edu
t-mas@uhibpd.phys.uh.edu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: I forgot the command to find total disk space available
1994-02-24 23:30 I forgot the command to find total disk space available Thomas E. Wright
@ 1994-02-25 19:56 ` Thomas E. Wright
1994-02-26 20:22 ` Jeff 'RTFM' Aitken
0 siblings, 1 reply; 3+ messages in thread
From: Thomas E. Wright @ 1994-02-25 19:56 UTC (permalink / raw)
In article <2kjdbb$fje@menudo.uh.edu>,
Thomas E. Wright <t-mas@uhibpd.phys.uh.edu> wrote:
> I have been asked "how much free disk space do we still ahve on this machine
>and I was forced to say that I havent the foggiest idea how to find out.
>Someone please tell me so that I can redeem myself!
>
>
>Thomas Wright
>root@uhibpd.phys.uh.edu
>t-mas@uhibpd.phys.uh.edu
Thanx for all of the replies. With this question answered, it has raised
another question:
I did df and it gave me all the disk total, used and free numbers. I calcualted
all of them up an got (according to the machine) 2.74Gb total, 1.40Gb used,
and .72Gb free. Now, if we subtract used (1.40Gb) from total (2.74Gb) we get
a different number for free disk space (1.34). For some reason, there is .57Gb
missing.
Is it really missing? If it is, can I reclaim it?
BTW, we are running ultrix 4.2 on a dec 5000/200.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: I forgot the command to find total disk space available
1994-02-25 19:56 ` Thomas E. Wright
@ 1994-02-26 20:22 ` Jeff 'RTFM' Aitken
0 siblings, 0 replies; 3+ messages in thread
From: Jeff 'RTFM' Aitken @ 1994-02-26 20:22 UTC (permalink / raw)
Thomas E. Wright (t-mas@uhibpd.phys.uh.edu) wrote:
: I did df and it gave me all the disk total, used and free numbers. I
: calcualted all of them up an got (according to the machine) 2.74Gb
: total, 1.40Gb used, and .72Gb free. Now, if we subtract used (1.40Gb)
: from total (2.74Gb) we get a different number for free disk space
: (1.34). For some reason, there is .57Gb missing.
Ultrix filesystems reserve some space (usually somewhere around
10%) on each partition when you run newfs to create the filesystem.
This 10% is only writable by root. This is why it is possible to do a
'df' and see something like "105% used". So if you have, say, a 1GB
partition, and run newfs, you will actually only get in the
neighborhood of 900MB usable to regular users. You can change this by
using the -m option to newfs. From newfs(8):
-m free space %
The percentage of space reserved from normal users; the
minimum free space threshold. The default value used is 10%.
You can also change this with the tunefs command. See tunefs(8) for
details.
Additionally, there is some filesystem overhead. I remember
asking this same question. At one point I calculated what Ultrix
filesystems use, and if I remember right it was about 6%. So, if
you've got a 1GB partition, creating the filesystem will use 60MB,
leaving you with 940MB. Subtract 10% of that, and you get around
880MB free. This could be the 'missing' disk space you're referring
to.
Hope this helps,
Jeff
--
+-------------------------------------------------------------------------+
+ ---=> Jeff Aitken jaitken@vt.edu <=--- +
+ ---=> http://csugrad.cs.vt.edu/~jaitken/jaitken.html <=--- +
+-------------------------------------------------------------------------+
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-02-26 20:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-24 23:30 I forgot the command to find total disk space available Thomas E. Wright
1994-02-25 19:56 ` Thomas E. Wright
1994-02-26 20:22 ` Jeff 'RTFM' Aitken
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox