Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2003 17:20:23 -0700 (PDT)
From:      jle <jle@baa.ssars.net>
To:        freebsd-current@freebsd.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: NFS weirdness...
Message-ID:  <20030619170945.X3916@baa.ssars.net>

next in thread | raw e-mail | index | archive | help

> 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



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