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
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" /bigdirectoryIn 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.
| « Disk Clone | Help!!! /dev/null create » |