Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2003 13:31:31 +0000
From:      Chris Howells <howells@kde.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Newbie: Correct directory for file server
Message-ID:  <200311121331.35247.howells@kde.org>
In-Reply-To: <200311121710.50143.gentoo@tmgcon.com>
References:  <200311111353.20210.gentoo@tmgcon.com> <200311111947.15174.howells@kde.org> <200311121710.50143.gentoo@tmgcon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Wednesday 12 November 2003 04:10, Tom Munro Glass wrote:
> Thanks Chris. Please take a look at my reply to Scott because the two of
> you seem to be suggesting contradicting ideas, and I'm keen to learn why!

Have done. It's just my preference because I find it easier: the FreeBSD=20
installer as you've noticed, by default, puts the home directories under /
usr/home, and creates /home as a symlink.

Therefore I found it easier just to tell the installer that /usr/home would=
 be=20
its own partition. Ultimately it's just what you find easiest, there's no=20
"right" way, though some things are probably frowned upon. Installation is=
=20
only something you need to do once, after that you cvsup :)

The file system on my laptop looks something like this:

=46ilesystem           Size   Used  Avail Capacity  Mounted on
/dev/ad0s3a          126M    90M    26M    77%    /
/dev/ad0s3h          5.8G   2.2G   3.1G    41%    /usr
/dev/ad0s3d          8.8G   7.6G   509M    94%    /usr/home
/dev/ad0s3g          5.8G   3.0G   2.3G    56%    /usr/home/devel
/dev/ad0s3e          197M    15M   166M     8%    /tmp
/dev/ad0s3f          197M    88M    93M    49%    /var
procfs               4.0K   4.0K     0B   100%    /proc
linprocfs            4.0K   4.0K     0B   100%    /usr/compat/linux/proc
sauron:/space/test    75G    64G   3.6G    95%    /mnt/test

/usr/home/devel is a separate partition from /usr/home because I use /usr/
home/devel to compile KDE CVS reguarly, and compiling thousands of source=20
files, even on efficient file systems, is a good way to cause fragmentation=
,=20
therefore I like to keep it separate from the rest of the system.

My server looks like this:
=46ilesystem          Size   Used  Avail Capacity  Mounted on
/dev/ad0s1a         252M   155M    77M    67%    /
/dev/ad0s1f         252M   9.0M   223M     4%    /tmp
/dev/ad0s1g         7.3G   4.1G   2.6G    61%    /usr
/dev/ad0s1e         756M   220M   476M    32%    /var
procfs              4.0K   4.0K     0B   100%    /proc
/dev/ad4s1e          75G    64G   3.6G    95%    /space
/dev/vinum/vinum1   144G    63G    69G    48%    /vinum1

My home directories here are under /space (though will be under /vinum1 soo=
n=20
when I finish migrating data from /space, an 80GB disk to /vinum1, 2 x160GB=
=20
in RAID 1 with vinum).

/etc/exports on the server looks like this:

/space/test /space/persbackup /space/photos -maproot=3D0 -network 192.168.1=
=2E0=20
=2D -mask 255.255.255.0

Hope this helps.

=2D --=20
Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org
Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/sjY3F8Iu1zN5WiwRAkoNAJ4gOm9PLfdg0ntSS4f4nAwWlRtrQgCfZxF5
d+1OYiJzqYEVSgCT++bnRyw=3D
=3DKNgm
=2D----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311121331.35247.howells>