1829404 Members
1999 Online
109991 Solutions
New Discussion

NFS sharing

 
BrianDoyle
Trusted Contributor

NFS sharing

Hi,

Cant get an NFS directory to share to multiple clients.
Can anyone point out where Im gone wrong,pls.

Thanks.

dfstab has:
/usr/sbin/share -F nfs -o rw=client1 /shared
/usr/sbin/share -F nfs -o rw=client2 /shared

After i do "shareall"

Create a mountpnt on client and mount it.
Doesnt mount, just hangs. I use FQDN.
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: NFS sharing

Shalom,

Lets see the servers /etc/exports file.

Thats the probably source of NFS share problems if in deed this is the problem here.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tim Nelson
Honored Contributor

Re: NFS sharing

SEP,
This is 11.31 and using /etc/dfs/dfstab

Briano,
The above would rw to client1 and read-mostly to all others.

Check your hostnames.

I typicall would list all hostnames in access=host1:host2:host3 etc...

Steven Schweda
Honored Contributor

Re: NFS sharing

> /usr/sbin/share -F nfs -o rw=client1 /shared
> /usr/sbin/share -F nfs -o rw=client2 /shared

Not something like this?

/usr/sbin/share -F nfs -o rw=client1:client2 /shared

man share

I don't believe that "share" commands
accumulate for a particular pathname. The
new one replaces the old one.

/usr/sbin/showmount -e

> Create a mountpnt on client and mount it.

How? On which client? What is "client"?

> I use FQDN.

Where?
BrianDoyle
Trusted Contributor

Re: NFS sharing

Thanks guys for teh quick responses.
In the end I shared it to all clients. I see from the last post that I should have a colon ":" seperating clients. i was using a comma.

thanks to all.