Newbie: Correct directory for file server

Chris Howells howells at
Wed Nov 12 05:31:59 PST 2003

Hash: SHA1


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 
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 
its own partition. Ultimately it's just what you find easiest, there's no 
"right" way, though some things are probably frowned upon. Installation is 
only something you need to do once, after that you cvsup :)

The file system on my laptop looks something like this:

Filesystem           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 
files, even on efficient file systems, is a good way to cause fragmentation, 
therefore I like to keep it separate from the rest of the system.

My server looks like this:
Filesystem          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 soon 
when I finish migrating data from /space, an 80GB disk to /vinum1, 2 x160GB 
in RAID 1 with vinum).

/etc/exports on the server looks like this:

/space/test /space/persbackup /space/photos -maproot=0 -network 
- -mask

Hope this helps.

- -- 
Cheers, Chris Howells -- chris at, howells at
Web:, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer:
Version: GnuPG v1.2.3 (FreeBSD)


More information about the freebsd-questions mailing list