I created a ZFS pool on Solaris 11.3 (thunder) and shared it using NFS (storage).
But when I connect from my Mac without credentials I can't write to the share,I assume I have to make the share public but can't figure out the syntax,please help.
Also the pool is for media I don't need synchronous writes (or ZIL) can I disable sync writes?
NFS is (almost..) just like any other file system from a user point of vue, so unix perms apply,
From your mac without credentials works the same as anyone arriving being anonimous:anonimous ... unless the perms are read-write to all ( taht means other...) then at the best you can read only, of course that is if you havent exported your file system as read-only...
Thanks. I used chmod to enable permissions and inheritance for everyone but now when I mount on Mac OS 10.11.5 and try to copy a file to the NFS share,it puts an empty file there and locks up the computer...
Have you looked in the logs? Remember also even with directory set to 777 external privileged account are nor admitted to write unless you have configured so... Only I have no solaris just now to see...
When you say connect without credentials what do you mean?
On my mac when I needed copies and transfer scripts to a HP-UX server I created an account the unix traditional way - not using Mac GUI interface, and so that user is not seen as so when booting or from the GUI login screen, but works when I open a terminal and do a su - then I configured my mac to have a fix address on that lan and updated both boxes /etc/hosts, the user I created on my mac I gave the same UID I use on the HP.... ( only that HP is no more here so could see its config either...)
All worked well after... but from that terminal... I have no idea what would happen using GUI...
I know little about Mac but I suggest that you open up security to force it to work and then tighten things up security wise afterwards.
So, as vbe has already said, setting access rights to 777 is a good start to see if that works. Also, ensure zfs is set to share the pool read-write to the host(s) you require. You can explicitly give any host read-write, read-only, or root access like these examples:
The latter gives host1 explicit root access (which will override most security and therefore could be deadly in the wrong hands) but you could turn that on just to see if it makes it work.
Another thought is to research what nfs version each machine is using. nfs can be version 2, 3 or 4 and a mismatch across a link can cause strange results. If one machine has a version higher than the other then be specific on the nfs mount command line which version to use. Search these forums for plenty of examples on how to do that.
Last edited by hicksd8; 05-18-2016 at 08:56 AM..
These 2 Users Gave Thanks to hicksd8 For This Post:
@rthorntn.........thank you for the update/solution and welcome to the forum. It's great when members can take the pointers we give and do their own investigation instead of just expecting answers on a plate. Do please add any further information/questions on this issue as it helps future readability and usefulness for others.
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Hi 2 ALL,
try to run NFS Server in AIX 7.1 :
1. Step by step on NFS Server node
mkdir /tmp/test
chgrp staff /tmp/test
chmod 775 /tmp/test-- create export directory (fs)
mknfsexp -d /tmp/test -t ro
exportfs -va
show mount -e
:/# exportfs -av
exports: 1831-187 re-exported /tmp/test... (4 Replies)
Hi All,
I am having knowledge on some basics of ssh and wanted to know what are the public keys and how can we create and implement it in connecting server.
Please provide the information for the above, it would be helpful for me.
Thanks,
Ravindra (1 Reply)
Hi all,
currently i wish to build a NFS server (windows based), is it the I/O speed will slower than the NFS server in Solaris?
any impact, i using the NFS in windows? (2 Replies)
Hello,
I have a centos as nfs server, its name is centos_A.
After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/*
But,
My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Hi all
in my server all nfs dependices are online but nfs client is offline
root@BIWAPP1 # svcs -a|grep nfs
disabled Sep_05 svc:/network/nfs/server:default
online Sep_05 svc:/network/nfs/rquota:default
online Sep_05 svc:/network/nfs/mapid:default
online ... (9 Replies)
:confused:Hi all
When i see in the /var/adm/messages, i saw the following error
unix: NFS write error on host : Stale NFS file handle.
unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49)
It is using sunOS 5.7. Is anybody know what is this error?
Is is related to any network... (2 Replies)