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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NFS Setup Help

Status
Not open for further replies.

AIXUser53

IS-IT--Management
Aug 16, 2002
47
US

Hi Guys,

Can anyone tell me how to setup NFS Server/Client between two servers. I need to share a mount point and have both server use that mount point to access some file.

Thank you in advance,
 
Hi

All you need can be done with smitty nfs
The exportfs File is /etc/exports

On the Client you can mount the NFS-FS in different ways
smitty nfs - mount fs
I prefer to mount the FS with Soft mode.
The other way is mount serverhostname:/exportfs /mountpoint
 
hi,
first, logs to your server (nfs_server) which will share files
and run this command
mknfsexp -d '/fs_shared' -t 'rw' '-B'
your filesystem /fs_shares is exported in rw (read-write), put ro if you want read only.
by smitty..
smitty nfs
Network File System (NFS)
add a Directory to Exports List
PATHNAME of directory to export [shared fs]
HOSTS & NETGROUPS allowed client access [clients hostname]
[enter]
your fs is exported : you can see it on /etc/exports and /etc/xtab.

then logs on your client:
run this command if your nfs is just for a moment
mount nfs_server:/shared_fs /client_mount_point
if you must keep this nfs , it's better to user smit
smitty nfs
Network File System (NFS)
Add a File System for Mounting
PATHNAME of mount point [/client_mount_point]
PATHNAME of remote directory [shared_fs]
HOST where remote directory resides [nfs_server]
MOUNT now, add entry to /etc/filesystems or both?
now, both , filesystem
now : lost after reboot
both: now and not lost
filesystem :eek:k after reboot
(enter)

Don' forget , if you want to export a cdrom fs , use always read-only for server and client

Regards

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top