[SunHELP] disk space
Fletcher, Joe
sunhelp at sunhelp.org
Wed Apr 4 10:00:47 CDT 2001
It's also useful to account for a process which has space allocated but =
not
actually used.
A quick look at the filesystem with lsof might be enlightening.
-----Original Message-----
From: Gereon Stein [mailto:Gereon.Stein at de.uu.net]
Sent: 4 April 2001 14:42
To: sunhelp at sunhelp.org
Subject: Re: [SunHELP] disk space
S=E9rgio Carvalho wrote:
>=20
> Hi Gurus,
>=20
> I have a terrible problem, when I use the command du -k in a FS, I =
noticed
> that There was 1 Gb of free space, but when I use df -k, I noticed =
that
> there is no free space, what can I do???????
>=20
No Gurus here, only us users...
But anyway, du gives you the disk usage, i.e. the space that the files =
on
the filesystem currently require. I assume that you calculate the =
amount
of "supposed" free space by comparing the output of du to the total FS =
size.
Be aware however, that Solaris - like any other UNIX - by default =
reserves
a given percentage of disk space for superuser use only. Using df -k =
will
give you the free space in kilobytes _without_ the space reserved for =
the
root user. Thus adding up the used and avail fields will yield a total =
of
less than the total kbytes field. Capacity will show 100% while the =
minfree
of, say, 5% may still be free but not available to a "normal" user.
If the difference actually proves to be 1GB, your FS must be HUGE (or =
your
system default minfree parameter screwed...) ;-)
Hope that helps,
Jerry
_______________________________________________
SunHELP maillist - SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp
MetaPack
The Lightwell=20
12/16 Laystall Street=20
Clerkenwell=20
London EC1R 4PF=20
Tel: +44 (0) 20 7843 6720=20
Fax: +44 (0) 20 7843 6721
------------------------------------------------------------------------=
--
This email is confidential and proprietary;=20
all information contained in it must be used only by the addressee in
accordance with MetaPack's terms of business and non-disclosure =
agreement.=20
Disclosure, copying, and distribution to, or use by, anyone other than =
the
intended recipient is strictly prohibited and may be unlawful.
More information about the SunHELP
mailing list