# /etc/init.d/nfs-kernel-server startEdit your exports file:
# ed /etc/exportsExport the filesystem:
i
/home/cmihai 192.168.1.13/24(rw,no_root_squash,subtree_check,async)
w
q
# exportfs
/home/cmihai 192.168.1.13/24
# showmount -e
Export list for loonix:
/home/cmihai 192.168.1.13/24
On your Solaris 10 box, run:
# showmount -e loonixIt should give you results consistent with the results you got on your Linux machine.
export list for loonix:
/home/cmihai 192.168.1.13/24
Trying to mount the share as NFSv4 will fail (Linux NFSv4 isn't compatible with Solaris NFSv4).
# mount loonix:/home/cmihai /storageSo we're going to mount the share as NFSv3:
nfs mount: mount: /storage: Not owner
# mount -o vers=3 loonix:/home/cmihai /storage
# mount
/storage on loonix:/home/cmihai remote/read/write/setuid/devices/vers=3/xattr/dev=4840010 on Tue Mar 18 14:59:06 2008
I ran into the same problem and the above didn't help. However, the problem and it's cure are quite nicely explained here (setting sec=sys was the only option I was missing):
ReplyDeletehttp://blogs.sun.com/tdh/entry/some_nasty_nfsv3_interactions_at
Cheers
Nice post.. it helped. I didn't click on any of your ads though.
ReplyDeleteCheers!
There should be no ads on the site (at least none that I enabled). Check for adware? :-).
ReplyDeleteI was very glad to find this post. Even though it was from 2008, it solved my problem.
ReplyDeleteThanks
Is it possible to mount NFS soft link on Solaris? am getting error "No Such or Directory exists" when tried?
ReplyDelete