Subject: Re: Where's my inodes?
To: Christos Zoulas <christos@astron.com>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-help
Date: 07/06/2006 15:48:26
--zhtSGe8h3+lMyY1M
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 06, 2006 at 01:39:13PM +0000, Christos Zoulas wrote:
> In article <Pine.NEB.4.61.0607061102310.16562@ugly.precedence.co.uk>,
> Stephen Borrill  <netbsd@precedence.co.uk> wrote:
> >A customer's server has run out of inodes, but has a tiny amount of file=
s:
> >
> >mailserver 3# find /usr | wc -l
> >   112200
> >mailserver 4# df -i /usr
> >Filesystem  1K-blocks      Used     Avail Capacity  iused    ifree  %ius=
ed=20
> >/dev/raid2a 153018716  17104340 128263444    11%  9539859    17131    99%
> >
> >That's nearly 100 times as many inodes as files/directories! Now, I know=
=20
> >an inode !=3D file/directory, but it should be the same order of magnitu=
de!
>=20
> Is it corrupted? Or is there a process holding open tons of files? Hard
> to believe.

I remember having similar trouble on a very large file-system.  I think
it was corrupted.  I couldn't investigate, so I just newfs'd it after
moving away the data.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--zhtSGe8h3+lMyY1M
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)

iQEVAwUBRK0UqtgoQloHrPnoAQIJWAgAx5YR1YEyzpauYxwmqqvSwqE4izPZISN+
aheJYepfT1bKnKKVqpcHI7Sw4lBt6eHK5u82FhmVS/IBwueQOJpLtNlPoaXd0I15
t3eszLEd5mZpOTywlqMhTcJ7HiGRzE5ztCByYijAsT8iGTEfgsZg2dQoEPfIUEB4
rSJLk5i/e5+6CqUAz8bC/whabLiUa874mJqAyA4TlHC/s2NOpBvUGq5Y+dxJPrfZ
s3FlGztz7avbSrIy6Zfu7PDiBae2NM8lKcm/OF16a9zPKbOoXDTllqVSLx701grt
TH/SjYsRaDLmwODALJMcUmYO4NmRZQf5aXR4h30e6aDiZ9Rq+pIX/g==
=csSP
-----END PGP SIGNATURE-----

--zhtSGe8h3+lMyY1M--