TSLUGers,
  Here are some of my configuration files for getting nfs up and running.
Unfortunetly, there is an error in the second line of my exports file (if
you figure out what it is, let me know), so there won't be any mounting my
(non)exported shares.  The first line of the /etc/exports file is correct,
however, and I've successfully mounted that share on my DEC.  

NetBSD 1.5 (GENERIC) #48: Mon Nov 20 08:27:21 EST 2000

Welcome to NetBSD!

% df
Filesystem                      512-blocks     Used    Avail Capacity
Mounted on
/dev/rz3a                           126950    55210    65392    45%    /
/dev/rz3d                           497628   333818   138928    70%
/usr
kernfs                                   2        2        0   100%
/kern
150.243.174.72:/mnt/monkey/pmax   23307640  1910816 20686432     8%
/mnt

For further information on setting up NFS, the HOWTO is excellent.  I'd be
happy to answer any questions, if you do decide to set it up.

Also included in this email is an example of my fstab, with example lines
on how to have your truman windows shares mounted upon booting. Here's
what a df on my K6 gives:

mh531001:~# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hdb1              4031900   1433756   2393320  38% /
/dev/hdb3             11653820    955408  10343216   9% /mnt/monkey
/dev/hda2               904124    730748    173376  81% /mnt/donkey
//gold/a1422              5000      4532       468  91% /mnt/gold
//ss2/a1422              10240      1556      8684  16% /mnt/ss2
//ss1/student_files    4690944   4680832     10112 100% /mnt/student_files

See the attached example_fstab.txt for details.  Good luck!

Tyler

# /etc/exports: the access control list for filesystems which may be exported
#               to NFS clients.  See exports(5).
/mnt/monkey/pmax/  150.243.178.199()
/usr/doc/HOWTO     (ro) 
 

# /etc/hosts.allow: list of hosts that are allowed to access the system.
#                   See the manual pages hosts_access(5), hosts_options(5)
#                   and /usr/doc/netbase/portmapper.txt.gz
#
# Example:    ALL: LOCAL @some_netgroup
#             ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper. See portmap(8)
# and /usr/doc/netbase/portmapper.txt.gz for further information.
#
esound: 127.0.0.1
esound: 127.0.0.1
portmap: ALL 
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>                       <dump>  <pass>
/dev/hdb1       /               ext2    defaults,errors=remount-ro      0       1
/dev/hda6       none            swap    sw                      0       0
proc            /proc           proc    defaults                        0       0
/dev/fd0        /floppy         auto    defaults,user,noauto            0       0
/dev/cdrom      /cdrom          iso9660 defaults,ro,user,noauto         0       0
/dev/hdb3       /mnt/monkey     ext2    defaults,errors=remount-ro      0       0
/dev/hda2       /mnt/donkey     vfat    defaults,errors=remount-ro      0       0
//gold/a1422    /mnt/gold       smbfs   username=a1422,password=passwd  0       0
//ss2/a1422     /mnt/ss2        smbfs   username=a1422,password=secret  0       0
//ss1/student_files     /mnt/student_files      smbfs   username=a1422,password=donkey 
 0       0
X windows:
        Accept any substitute.
        If it's broke, don't fix it.
        If it ain't broke, fix it.
        Form follows malfunction.
        The Cutting Edge of Obsolescence.
        The trailing edge of software technology.
        Armageddon never looked so good.
        Japan's secret weapon.
        You'll envy the dead.
        Making the world safe for competing window systems.
        Let it get in YOUR way.
        The problem for your problem.
        If it starts working, we'll fix it.  Pronto.
        It could be worse, but it'll take time.
        Simplicity made complex.
        The greatest productivity aid since typhoid.
        Flakey and built to stay that way.

One thousand monkeys.  One thousand MicroVAXes.  One thousand years.
        X windows.

Reply via email to