Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

NFS Unix gurus

Thread Tools
 
Search this Thread
 
Old 24 April 2008, 11:34 AM
  #1  
urban
Scooby Regular
Thread Starter
iTrader: (1)
 
urban's Avatar
 
Join Date: Mar 2002
Location: Never you mind
Posts: 12,566
Received 1 Like on 1 Post
Default NFS Unix gurus

Guys,

Basically I have 2 pretty much identical servers in 2 different locations.
Exact same version of unix is installed on both.

Basically I need both these servers to be able to see a specific folder on each.

I think I need to setup NFS - but boy oh boy it does appear to be somewhat complicated.

Any help or other ideas would be greatly appreciated.

Cheers,
Shaun
Old 24 April 2008, 05:47 PM
  #2  
druddle
Scooby Regular
 
druddle's Avatar
 
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes on 0 Posts
Default

Something along the lines of...

Source machine to share from - share -F nfs -o rw /path/to/directory
Machine to mount share - mount -F nfs share_server:/path/to/directory /local_mount

If you want to automatically share/mount at boot then you will need to add entries to /etc/dfs/dfstab and /etc/vfstab (these could be different depending on UNIX type).

You may need to install NFS packages, but they should be there on most UNIXes.

Dave
Old 24 April 2008, 07:36 PM
  #3  
jpor
Scooby Regular
iTrader: (1)
 
jpor's Avatar
 
Join Date: Sep 2003
Posts: 3,109
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by druddle
Something along the lines of...

Source machine to share from - share -F nfs -o rw /path/to/directory
Machine to mount share - mount -F nfs share_server:/path/to/directory /local_mount

If you want to automatically share/mount at boot then you will need to add entries to /etc/dfs/dfstab and /etc/vfstab (these could be different depending on UNIX type).

You may need to install NFS packages, but they should be there on most UNIXes.

Dave
Very similar for AIX, but the file is called xtab.

Alternatively you could use GPFS (General Parallel Filesystem). But it may cost money.

Other options would be SAMBA, a free piece of software from bullfreeware.com
Old 25 April 2008, 09:23 AM
  #4  
urban
Scooby Regular
Thread Starter
iTrader: (1)
 
urban's Avatar
 
Join Date: Mar 2002
Location: Never you mind
Posts: 12,566
Received 1 Like on 1 Post
Default

Thanks.

Its SCO Openserver 6.
I've done everything correctly from what I can tell, but I must be encountering some sort of security issues.
I type "share" on server A and it tells me
/logic/data -anon=-2,ro "#"

On remote machine (scosvr exists in /etc/hosts)
mount -F nfs -o ro,soft scosvr:/logic/data /logic/share

It just tells me
UX:nfs mount: ERROR: scosvr:/logic/data: server not responding for clnt_create:
RPC: Unable to receive

The SAMBA comment - as far as I was aware samba just lets unix machines be use in the windows world without any hassle.

Shaun
Old 25 April 2008, 07:27 PM
  #5  
phoenixgold
Scooby Regular
iTrader: (2)
 
phoenixgold's Avatar
 
Join Date: Oct 2007
Posts: 348
Likes: 0
Received 0 Likes on 0 Posts
Default

The command on sco is exports. Syntax for openserver 5.0.7 is here. You can use samba to expose shares on unix and I believe the mount option in openserver 6 can use them. I'd give it a go with NFS first.
Old 26 April 2008, 10:05 PM
  #6  
druddle
Scooby Regular
 
druddle's Avatar
 
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes on 0 Posts
Default

Is nfsd (the nfs daemon) running on your source ? Check with a ps listing.

Dave
Old 26 April 2008, 11:24 PM
  #7  
phoenixgold
Scooby Regular
iTrader: (2)
 
phoenixgold's Avatar
 
Join Date: Oct 2007
Posts: 348
Likes: 0
Received 0 Likes on 0 Posts
Default

According to the doc I posted above, when you list something in the exports file and reboot or run the exports command, it will start the nfs daemon for you.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
weatherman
Wheels, Tyres & Brakes
2
14 June 2002 04:53 PM
SD
Computer & Technology Related
6
24 April 2002 03:35 PM
SD
Computer & Technology Related
5
24 April 2002 10:29 AM



Quick Reply: NFS Unix gurus



All times are GMT +1. The time now is 11:58 AM.