[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NFS automount not happening



On Sat, Dec 08, 2012 at 02:09:47PM -0800, Ross Boylan wrote:
> I have a diskless workstation running testing, and although
> its /etc/fstab is
> /dev/nfs	 /		 nfs defaults 0 0
> none		 /tmp		 tmpfs defaults 0 0
> none		 /var/run	 tmpfs defaults 0 0
> none		 /var/lock	 tmpfs defaults 0 0

Remove /var/run and /var/lock from your fstab; they will probably be
being mounted on top of /run and /run/lock, which will cause you
additional problems.  See tmpfs(5).  They are now tmpfs by default
on all systems, so you don't need them.  Also, the mode isn't being
set, so it's also insecure.

Michael's suggestion regarding autofs is definitely worth
exploring for your other NFS mount issues.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


Reply to: