Solaris10 Troubleshooting NFS: NFS mounts in vfstab fail to mount at boot

NFS mounts in /etc/vfstab with the “mount at boot” field set to yes are not mounted at boot time.


One possible cause is the NFS SMF service is disabled, check:

$ svcs nfs/client
STATE          STIME    FMRI
disabled        9:43:48 svc:/network/nfs/client:default
$

One possible cause of the NFS service being disabled is the Solaris “Secure By Default” feature introduced in Solaris 10 11/06. New installs of Solaris default to “limited” which disables all network services except for SSH. This includes the NFS client service.

Upgrading systems to Solaris 10 11/06 or later does not change the network services as the default is “open”. Enabling the NFS client service will restore NFS mounts at boot time.

# svcadm enable svc:/network/nfs/client

Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

3 Responses

  1. Michael Michael says:

    HI Ram , nice one absolutely apt one adding to this , even if the SMF service is enabled sometimes the daemons (RPC) will not be able to resolve the hostname if the FQDN is mentioned in the /etc/vfstab , it will not resolv until or unless the /etc/hosts file if updated this log may help   /var/svc/log/network-nfs-client:default.log and the error would like nfs mount: testenv01.euro.bk.corporate.net: : RPC: Unknown host
    nfs mount:testenv01.euro.bk.corporate.net : RPC: Unknown host

  2. Ramdev Ramdev says:

    Hi Michael, Agree. your point talks about one specific scenario but for sure it is a good point for readers. Thanks for that.

  1. July 22, 2016

    […] Read – mounts in vfstab fail to mount at boot […]

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us