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 Apr 24, 2008 | 11:34 AM
  #1  
urban's Avatar
urban
Thread Starter
Scooby Regular
iTrader: (1)
 
Joined: Mar 2002
Posts: 12,566
Likes: 1
From: Never you mind
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
Reply
Old Apr 24, 2008 | 05:47 PM
  #2  
druddle's Avatar
druddle
Scooby Regular
 
Joined: Mar 2001
Posts: 5,528
Likes: 0
From: Berkshire
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
Reply
Old Apr 24, 2008 | 07:36 PM
  #3  
jpor's Avatar
jpor
Scooby Regular
iTrader: (1)
 
Joined: Sep 2003
Posts: 3,109
Likes: 0
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
Reply
Old Apr 25, 2008 | 09:23 AM
  #4  
urban's Avatar
urban
Thread Starter
Scooby Regular
iTrader: (1)
 
Joined: Mar 2002
Posts: 12,566
Likes: 1
From: Never you mind
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
Reply
Old Apr 25, 2008 | 07:27 PM
  #5  
phoenixgold's Avatar
phoenixgold
Scooby Regular
iTrader: (2)
 
Joined: Oct 2007
Posts: 348
Likes: 0
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.
Reply
Old Apr 26, 2008 | 10:05 PM
  #6  
druddle's Avatar
druddle
Scooby Regular
 
Joined: Mar 2001
Posts: 5,528
Likes: 0
From: Berkshire
Default

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

Dave
Reply
Old Apr 26, 2008 | 11:24 PM
  #7  
phoenixgold's Avatar
phoenixgold
Scooby Regular
iTrader: (2)
 
Joined: Oct 2007
Posts: 348
Likes: 0
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.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
weatherman
Wheels, Tyres & Brakes
2
Jun 14, 2002 04:53 PM
SD
Computer & Technology Related
6
Apr 24, 2002 03:35 PM
SD
Computer & Technology Related
5
Apr 24, 2002 10:29 AM




All times are GMT +1. The time now is 04:31 PM.