Visit Our UNIX and Linux User Community

Help mounting nfs on boot on Solaris 11

Thread Tools Search this Thread
Operating Systems Solaris Help mounting nfs on boot on Solaris 11
# 1  
Old 02-17-2012
Help mounting nfs on boot on Solaris 11

Hello, I am looking for some assistance in mounting an nfs drive on boot, on a Solaris 11 machine.

On my Solaris 9/10 machines, I have an entry for my nfs mount in /etc/vfstab, however when I add the same entry to my vfstab on Solaris 11, the drive will not mount on boot. After booting up, I can run the command "mount asdf:/asdf /asdf" and it will mount properly. This is the entry in my vfstab:
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
asdf:/asdf        -       	/asdf           nfs     -       yes     vers=3,rw

Did they change something about vfstab on Solaris 11? Smilie Thank you in advance.
This User Gave Thanks to bstring For This Post:
# 2  
Old 02-17-2012
Did you enable nfs/client service?
This User Gave Thanks to bartus11 For This Post:
# 3  
Old 02-17-2012
Originally Posted by bartus11
Did you enable nfs/client service?
Hello bartus11, I believe it wasn't enabled before so I enabled it and rebooted the machine, but my nfs drive was still not mounted.

root@vm-sun11x86-64:/etc/default# svcadm -v enable network/nfs/client
svc:/network/nfs/client:default enabled.
root@vm-sun11x86-64:/etc/default# reboot

Oracle Corporation SunOS 5.11 11.0 November 2011
root@vm-sun11x86-64:~# cd /asdf
root@vm-sun11x86-64:/asdf# ls

I'd like to note that the mount -a command will mount it properly as well.
This User Gave Thanks to bstring For This Post:
# 4  
Old 02-22-2012
Consider using the automounter.
This User Gave Thanks to rdhalstead For This Post:
# 5  
Old 08-07-2012
Since this issue is several months old I will assume it was either resolved or a workaround devised but I did run into the same issue on Solaris 11 and it was not enough to simply enable nfs/client. I had to use the -r option to enable all its dependencies as well. This fixed the issue for me:

svcadm enable -r nfs/client

These 2 Users Gave Thanks to pans_soul For This Post:
# 6  
Old 08-08-2012
shows if everything is ok with daemons
svcs -xv

shows if nfs bind service is up. (as i recall it should be on port 111)
netstat -f inet -an

do you have firewall installed?
cat /etc/ipf/ipf.conf

or any other...
This User Gave Thanks to For This Post:

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Mounting NFS

Hi, I am having some issues mounting NFS files. for some reason the mount -F nfs is not being recognized.. bash-3.2# mount -F nfs -o rw /mnt UX:vxfs mount: ERROR: V-3-20135: FSType nfs not recognized UX:vxfs mount: INFO: V-3-20147: Usage: mount {special |... (5 Replies)
Discussion started by: br1an
5 Replies

2. Solaris

Mounting 2012R2 NFS Share on Solaris 10

Hi all, new here. I'm attempting to mount an NFS share I've created on a 2012r2 esx VM on my solaris 10 vm, I'm using the following command: mount 2012box:/sharename /mnt and I get the following result: nfs mount: mount: /mnt: Operation not supported Both vms can ping one... (3 Replies)
Discussion started by: Meshuggener
3 Replies

3. Red Hat

NFS mounting issue

The server ip is I have installed nfs-utils package the i have edited /etc/exports i have added the following line /home,sync,no_root_squash,no_all_squash) i have saved, i have started the nfs service, then i am trying to mount nfs sharing from client machine using... (5 Replies)
Discussion started by: ainstin
5 Replies

4. Red Hat

NFS mounting from client pc

The server ip is I have installed nfs-utils package the i have edited /etc/exports i have added the following line /home,sync,no_root_squash,no_all_squash) i have saved, i have started the nfs service, then i am trying to mount nfs sharing from client machine using... (1 Reply)
Discussion started by: ainstin
1 Replies

5. Red Hat

NFS not mounting using ipaddress of client

Dear All, I have an NFS Server and client. I am trying to include the ipaddress of the client in servers exports file /etc/exports. In this case , I could not mount , saying permission denied. But when I give * symbol in the place of ipaddress ( Global , any IPS ) it is mounting. ... (1 Reply)
Discussion started by: jegaraman
1 Replies

6. UNIX for Dummies Questions & Answers

Mounting NFS filesystem

Hi All, I need to mount an nfs filesystem as below. Catherine/logs For the above as there is space in between the name, hoping it will not mount, if i give it with double quotes as below will it work? mount " (2 Replies)
Discussion started by: Rockyc3400
2 Replies

7. Solaris

Mounting a NFS network file system across platforms - Solaris to AIX

Hi all, Kind of an emergency situation, I have to NFS mount an AIX filesystem on to a Sun Solaris OS (5.10). Typically from Sun to Sun is: mount -F nfs <remote file system>/dir <mount point> Which of course doesn't work if the remote file system is another OS (like AIX). Is there... (1 Reply)
Discussion started by: jeffpas
1 Replies

8. Solaris

problem NFS mounting onto Solaris 10

On my Solaris 10 server, I want to share out the directory /export/home/data, so in the /etc/dfs/dfstab file, I have this line: share -F nfs -o rw /export/home/data In the /etc/hosts.equiv file, I have this: + When I do a "ps -ef" command, I see that the "nfsd' daemon is started. ... (2 Replies)
Discussion started by: serendipity1276
2 Replies

9. Linux

NFS not mounting during kickstart

Hi, Re-building linux server from a kickstart image on cdrom. We have a kickstart server. the cdrom contacins the kickstart ks.cfg file and does a NFS mount from an IP to load the iso images and other files needed during the kickstart (re-build) Now for some reason the kickstart stops and... (2 Replies)
Discussion started by: Andrek
2 Replies

10. Solaris

solaris 8 NFS mounting problem

While mounting nfs file system I get the following error . # mount -F nfs jewelex:/back2 /oback2 nfs mount: jewelex:/back2: Permission denied Following is the permission for oback2 drwxr-xr-x 2 root other 512 Apr 9 18:39 oback2 Directory permission on jewelex server is ... (4 Replies)
Discussion started by: Hitesh Shah
4 Replies

Featured Tech Videos