NFS weirdness...

jle jle at baa.ssars.net
Thu Jun 19 17:20:30 PDT 2003


> This isn't what I told you to do.  This does not access your /etc/fstab
> at
> all and therefore doesn't accomplish what I was trying to help you
> determine.
> Do _this_:
> mount /home
>
> With no second parameter, mount will look through /etc/fstab for a
> mountpoint
> that matches /home and use the config in that line if it finds one.
> This
> tests your /etc/fstab
> I don't believe that 'mount NFSD:/home2 /home' forces mount to access
> the
> /etc/fstab file.

You are correct, I misread the prev post. mount /home fails.

# mount /home
mount: /dev/ad0s1h: Device busy

There are two mount points for /home. One on the local disk (ad0s1h) and
the NFS mount that I mount over /home for shell users, so that HTTTD can
find the public_html dirs.

The complete fstab on HTTPD:
# Device                Mountpoint      FStype  Options         Dump
Pass#
/dev/ad0s1b             none            swap    sw              0       0
/dev/ad0s1a             /               ufs     rw              1       1
/dev/ad0s1h             /home           ufs     rw              2       2
/dev/ad0s1d             /tmp            ufs     rw              2       2
/dev/ad0s1g             /usr            ufs     rw              2       2
/dev/ad0s1e             /var            ufs     rw              2       2
/dev/ad0s1f             /var/tmp        ufs     rw              2       2
/dev/acd0               /cdrom          cd9660  ro,noauto       0       0
NFSD:/home2             /home           nfs     rw,bg           0       0


This worked before I upgraded my webserver (HTTPD) but now it fails to
mount on reboot yet succeeds manually.

Any Ideas?

TIA


More information about the freebsd-questions mailing list