From owner-freebsd-questions@FreeBSD.ORG Tue Jun 9 08:12:20 2009 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 12EBB106566B for ; Tue, 9 Jun 2009 08:12:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6A6868FC19 for ; Tue, 9 Jun 2009 08:12:19 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from significant-gravitas-shortfall.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n598Alqx041588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Jun 2009 09:10:53 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.2 smtp.infracaninophile.co.uk n598Alqx041588 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1244535054; bh=0KRCR4RBb3rqeihqkozCuydg5A+wG6NSgDcj+EkC3gc=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4A2E1906.5090708@infracaninophile.co.uk>|Date:=20T ue,=2009=20Jun=202009=2009:10:46=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.21=20(X11/20090515)|MIME-Vers ion:=201.0|To:=20Dan=20Nelson=20|CC:=20Ke lly=20Jones=20,=20=0D=0A=20freebsd-qu estions@freebsd.org|Subject:=20Re:=20Need=20a=20filesystem=20with= 20"unlimited"=20inodes|References:=20<26face530906081813x5abd6d28i 27137b76b0be41c@mail.gmail.com>=20<20090609040443.GA56070@dan.emsp hone.com>|In-Reply-To:=20<20090609040443.GA56070@dan.emsphone.com> |X-Enigmail-Version:=200.95.7|OpenPGP:=20id=3D60AE908C|Content-Typ e:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3 D"application/pgp-signature"=3B=0D=0A=20boundary=3D"------------en igE87A671E9C455174250389DD"; b=ranZybySVgSsCB4BEHJWXRA1uRbkaAGieIjf8OILvOeB5HejsTCZcwqA6aO5zCiAj lwF2wEf5D28kxrv/N0q2iYJb6xXlA5hIdCBgEVkr74C1d/RB5cMwBUQTZjX6FAy70n iqhdscYpspCfPVntUzac1HM0At1EADyiiIVcsr7M= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host gateway.ash.thebunker.net [213.129.64.4] claimed to be significant-gravitas-shortfall.thebunker.net Message-ID: <4A2E1906.5090708@infracaninophile.co.uk> Date: Tue, 09 Jun 2009 09:10:46 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.21 (X11/20090515) MIME-Version: 1.0 To: Dan Nelson References: <26face530906081813x5abd6d28i27137b76b0be41c@mail.gmail.com> <20090609040443.GA56070@dan.emsphone.com> In-Reply-To: <20090609040443.GA56070@dan.emsphone.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE87A671E9C455174250389DD" X-Virus-Scanned: clamav-milter 0.95.1 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Kelly Jones , freebsd-questions@freebsd.org Subject: Re: Need a filesystem with "unlimited" inodes 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: Tue, 09 Jun 2009 08:12:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE87A671E9C455174250389DD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dan Nelson wrote: > In the last episode (Jun 08), Kelly Jones said: >> What UFS-like filesystem has unlimited inodes, but is a drop-in >> replacement for ext3, and is fairly easy to configure? >> >> Is UFS2 no longer considered the "best" general-use filesystem? >> >> Reason I ask: I'm going to create many small (~1K) files on a 100G >> disk and thus need at least 100M inodes. >> >> "newfs -i" maxes out at ~52M inodes (862 groups * 60864 inodes =3D~ 52= M >> inodes): >> >> # newfs -N -i 1 /dev/da1;: same results as -i 2048 >> >> /dev/da1: 102400.0MB (209715200 sectors) block size 16384, fragment si= ze >> 2048 using 862 cylinder groups of 118.88MB, 7608 blks, 60864 >> inodes. >> >> I realize I can use "f 512 -b 4096" to get 200M+ inodes, but I'm willi= ng >> to experiment w/ a new filesystem, provided it behaves mostly like UFS= =2E=20 >> Thoughts? >=20 > At this point you're sort of out of the general-use category :) You wa= nt > ZFS. Or rather, you don't want to try and fsck a UFS filesystem with 2= 00M > inodes. The three drawbacks I can think of to ZFS are it's hard to boo= t > from (although you probably aren't booting from da1), it requires more > memory than UFS, and there is no ACL support at the moment (not that ma= ny > people used the ACL support for UFS). If you're already on an amd64 sy= stem > with 4GB or more RAM you'll be fine. >=20 Or store your data in a RDBMS rather than in the filesystem. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK --------------enigE87A671E9C455174250389DD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkouGQYACgkQ3jDkPpsZ+VZYvQCeNkiUUQ2XsFzpmNG+k0iJNqwT xJYAn32c26mD4MLHsUFUIlsx42a5k7bp =bynH -----END PGP SIGNATURE----- --------------enigE87A671E9C455174250389DD--