Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mounting remote FS/directory

Status
Not open for further replies.

grega

Programmer
Feb 2, 2000
932
GB
I'm not a Solaris administrator by any stretch .. but can usually get by. I have 2 servers, say S1 and S2, both networked so they can see each other no problem.

I have a set of directories on S1 that I want to see and use on S2. I haven't done this before but here's what I've done ... what am I missing?

- both server IPs are in /etc/hosts on both machines (telnet/ping, etc works fine both ways)

- on S1, I have executed the share command ..
[tt] share -F nfs -d "Share1" /directory/to/share[/tt]
This creates the file /etc/dfs/sharetab, but doesn't affect /etc/dfs/dfstab

- on S2, I issue the command [tt]mount -F nfs S1:/directory/to/share /my/mount/point[/tt]

but get the error RPC: Program not registered

- I've tried running /etc/init.d/nfs.server start on both server, but I'm not sure what this should do!

- lockd and statd are currently running on both servers.

Any help/advice is much appreciated.

Greg.
[sig][/sig]
 
Think I've sussed it ... had to start /usr/lib/nfs/mountd and /usr/lib/nfs/nfsd

Re-issued the mount command and all worked OK!

Greg.

"Welcome to data processing ..."
[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top