How to NFS Mount from Solaris ?

Score
0
Vote Up
Guru Kumar December 27, 2001 at 04:14:33 Pacific

Hi !

I have one Solaris 5.8 (64 bit)machine having one directory which is Big in size. I have other Unix OS as AIX 5.1 and Open Unix 8 as well as Linux. I want to NFS Mount the Directory on Solaris so that i can get this directory from other machines using NFS Mount.
Since i am novice to this field, so i want your help.
Any help in this regard will be great.

Thanks in advance,

Guru


Reply ↓  Report •


#1
Vote Down
Score
1
Vote Up
December 27, 2001 at 23:02:24 Pacific

Hi Guru,
U can share the directory by giving the following syntax.

share -F (fstype) -o (options) -d (description) (pathname)

eg.
share -F nfs -0 r -d "Big directory on solaris" /bigdirectory

In this example bigdirectory is shared as read only u can use 'rw' in place of 'r' in options to make it read & write.

If u want to make this share permanent u'll have to add this line in /etc/dfs/dfstab .

Then u'll hv start the NFS Server Deamon by giving the following command

/etc/init.d/nfs.server start

NFS server wont start until u make a entry in /etc/dfs/dfstab. So u'll hv to make atleast a single entry in this file.

U can mount the share on Remote System using the mount command. I'm not sure bout other OS but on solaris u use the following Command & Syntax.

mount -F nfs (options) (server):(filesystem) (mount_point)

eg
mount -F nfs -o rw solaris:bigdirectory
/mount_from_solaris


To make file system to mount automatically u'll hv to add the entry in /etc/vfstab file.


Note: All the command & parameters are continues (no need to press enter key)

Rgds,
ABDUL.


Reply ↓  Report •
Reply to Message Icon Start New Discussion
Related Posts

« Disk Clone Help!!! /dev/null create »

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.

Ask the Community!
Describe your Problem
Example: Hard Drive Not Detected on My PC