Date: Sun, 9 Dec 2001 10:44:37 +0000 From: Nik Clayton <nik@freebsd.org> To: Greg Lehey <grog@FreeBSD.org> Cc: Mike Smith <msmith@freebsd.org>, arch@FreeBSD.ORG, Marko Zec <zec@tel.fer.hr>, "Louis A. Mamakos" <louie@TransSys.COM>, Matthew Dillon <dillon@apollo.backplane.com>, Sheldon Hearn <sheldonh@starjuice.net>, freebsd-arch@FreeBSD.ORG Subject: Re: Getting rid of /usr file system (was: Using a larger block size on large filesystems) Message-ID: <20011209104437.A69671@clan.nothing-going-on.org> In-Reply-To: <20011209164606.C83634@monorchid.lemis.com>; from grog@FreeBSD.org on Sun, Dec 09, 2001 at 04:46:06PM %2B1030 References: <20011208102658.B11428@dragon.nuxi.com> <200112082050.fB8Ko1T01347@mass.dis.org> <20011209164606.C83634@monorchid.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 09, 2001 at 04:46:06PM +1030, Greg Lehey wrote: > Well, since we're all being personal, here's my opinion. =20 / 50M - 150M swap 2-4 x RAM, depending on what the machine's doing /var 50M - 100M /usr 250 - 300M /local/0 Rest of disk /usr/local is a symlink to /local/0/usr/local /usr/src is a symlink to /local/0/usr/src /home is a symlink to /local/0/home /var/tmp is a symlink to /local/0/var/tmp Other symlinks exist as necessary, depending what the machine's going to be doing. Any additional disks are mounted as /local/1, /local/2, and so on. This=20 makes it pretty easy to shuffle stuff between disks as necessary (for=20 example, making sure that /home/ncvs isn't on the same disk as any home=20 directories that might checkout from it, putting /usr/src and /usr/obj on different disks, etc), and because most of the data is kept in big=20 partitions you don't have to worry about running out of space because=20 you made a partition too small. # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 148823 73712 63206 54% / /dev/da0s1g 16428378 1865688 13248420 12% /local/0 /dev/da1s1e 16974442 8232228 7384259 53% /local/1 /dev/ad0s1e 38711699 7074308 28540456 20% /local/2 /dev/da0s1f 297663 189788 84062 69% /usr /dev/da0s1e 99183 45944 45305 50% /var procfs 4 4 0 100% /proc linprocfs 4 4 0 100% /usr/compat/linux/proc # ls -l /var total 19 drwxr-xr-x 2 root wheel 512 Nov 20 2000 account/ drwxr-xr-x 4 root wheel 512 Nov 20 2000 at/ drwxr-x--- 2 root wheel 512 Sep 27 03:01 backups/ drwxr-x--- 2 root wheel 512 Jun 7 2001 crash/ drwxr-x--- 3 root wheel 512 Nov 20 2000 cron/ drwxr-xr-x 7 root wheel 512 Oct 2 10:35 db/ drwxrwxr-x 5 root games 512 Jun 7 2001 games/ drwxr-xr-x 3 root wheel 512 Oct 20 09:38 lib/ drwxr-xr-x 2 root wheel 512 Dec 9 10:25 lock/ drwxr-xr-x 3 root wheel 2048 Dec 9 10:32 log/ drwxrwxr-x 2 root mail 512 Oct 2 14:23 mail/ drwxr-xr-x 2 daemon wheel 512 Jun 7 2001 msgs/ drwxr-xr-x 2 root wheel 512 Nov 20 2000 preserve/ drwxrwx--- 2 cyrus cyrus 512 Oct 7 14:48 pwcheck/ drwxr-xr-x 3 root wheel 512 Dec 9 10:08 run/ drwxrwxr-x 2 root daemon 512 Nov 20 2000 rwho/ drwxr-xr-x 10 root wheel 512 Jun 8 2001 spool/ lrwxr-xr-x 1 root wheel 16 Jun 8 2001 tmp@ -> /local/1/var/tmp drwxr-xr-x 4 root wheel 512 Sep 13 14:19 yp/ # ls -l /usr total 32 lrwxr-xr-x 1 root wheel 18 Jun 7 2001 X11R6@ -> /local/0/usr/X11R6 drwxr-xr-x 2 root wheel 6656 Oct 20 09:53 bin/ drwxr-xr-x 3 root wheel 512 Jun 10 2001 compat/ drwxr-xr-x 3 root wheel 512 Sep 14 22:58 etc/ drwxr-xr-x 3 root wheel 1024 Jun 7 2001 games/ lrwxr-xr-x 1 root wheel 18 Jul 11 13:49 gnats@ -> /local/1/usr/gnats drwxr-xr-x 37 root wheel 3584 Jun 7 2001 include/ drwxr-xr-x 2 root wheel 512 Sep 14 22:58 info/ drwxr-xr-x 5 root wheel 7168 Sep 14 22:58 lib/ drwxr-xr-x 9 root wheel 512 Nov 20 2000 libdata/ drwxr-xr-x 8 root wheel 1536 Jun 7 2001 libexec/ lrwxr-xr-x 1 root wheel 18 Jun 7 2001 local@ -> /local/1/usr/local lrwxr-xr-x 1 root wheel 24 Jun 21 09:59 local.debug@ -> /local/1/usr/= local.debug drwxr-xr-x 26 root wheel 512 Sep 14 22:58 man/ lrwxr-xr-x 1 root wheel 16 Jun 7 2001 obj@ -> /local/0/usr/obj lrwxr-xr-x 1 root wheel 18 Jun 7 2001 ports@ -> /local/1/usr/ports drwxr-xr-x 2 root wheel 4096 Jun 15 14:32 sbin/ drwxr-xr-x 26 root wheel 512 Sep 14 22:58 share/ lrwxr-xr-x 1 root wheel 16 Jun 7 2001 src@ -> /local/1/usr/src drwxr-xr-x 7 root wheel 512 Jul 11 13:55 sup/ N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ FreeBSD Documentation Project http://www.freebsd.org/docproj/ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjwTQJQACgkQk6gHZCw343UcIgCfeKaWbMPeUidnIsBa6uJKwAzx GzUAn1HsOU5yg4BzHsimCeuDrHE28LyG =IApp -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011209104437.A69671>