Monday, November 8, 2021

Enabling automatic mounting of nfs shares on Oracle Solaris

1. Edit /etc/vfstab. Example :

nfs_server:/nfs_share - /mnt/nfs_share_mount_point  nfs - yes rw,bg,hard,nointr,rsize=1048576,wsize=1048576,vers=3,proto=tcp,forcedirectio,nocto

Here 'yes' means to mount during operating system start.

2. Enable Solaris nfs services (if disabled, check with 'svcs' command) :

# svcadm enable svc:/network/nfs/client:default svc:/network/nfs/status:default svc:/network/nfs/nlockmgr:default

3. Check it during reboot (if possible). Diagnose failed services with 'svcs | grep -v online' and 'svcs -x' commands.

Good Luck !


No comments:

Post a Comment