From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 11:21:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8BA81065670; Sun, 9 Nov 2008 11:21:35 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id 312348FC16; Sun, 9 Nov 2008 11:21:34 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id mA9BLQGF058842; Sun, 9 Nov 2008 12:21:26 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 31EA4BAA6; Sun, 9 Nov 2008 12:21:26 +0100 (CET) Date: Sun, 9 Nov 2008 12:21:26 +0100 From: Roland Smith To: Polytropon Message-ID: <20081109112126.GA46364@slackbox.xs4all.nl> References: <50261.1226194851@people.net.au> <20081109024046.GB27423@icarus.home.lan> <20081109093521.GA73108@owl.midgard.homeip.net> <20081109104711.e03722c4.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <20081109104711.e03722c4.freebsd@edvax.de> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Jeremy Chadwick , freebsd-questions@freebsd.org, no-spam@people.net.au Subject: Re: UFS2 limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2008 11:21:35 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 09, 2008 at 10:47:11AM +0100, Polytropon wrote: > On Sun, 9 Nov 2008 10:35:21 +0100, Erik Trulsson = wrote: > > Note that this does not limit the number of files you can have in a sin= gle > > directory, since normal files do not contain hardlinks to the parent > > directory, but there are of course limits to the total number of files = and > > directories you can have on a single filesystem based on how many inodes > > were created when the filesystem was first created. >=20 > Maybe this sounds stupid, but... given that a file system > can hold n entries. What happens when a program tries to > create file number n + 1? The call to the open(2) system call will fail for one of the reasons given in the manual page. =20 > I do ask this in order to explore if this could have been > the reason for my massive data loss and UFS file system > corruption. My first point of inquiry in such a case would be if the hardware is OK. If you're using (P|S)ATA|SCSI-3 devices, install smartmontools from ports and test the disk with smartctl(8). Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkWx7YACgkQEnfvsMMhpyWPVwCff5nj+VaBO6me7j5OyfD6pBTO oXMAn3uyUW8o4mWAMUF26IPVubVGxOog =yH19 -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--