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

Map CD Rom 1

Status
Not open for further replies.

Scunningham99

Programmer
Sep 20, 2001
815
0
0
GB
Hi All

How do i create remote file system from server A to Server B (both solaris 2.6)

senario:

server lsi wishes to map to /user09 (mount point) on server lsi3. whats the syntax from command line and if at all possible the entry that goes in rmtab.

any help would be appreciated..
 
Sorry!! Map cd-rom incorrect!!!

Just require using mountpoint from server a to server b
 
look into:

/etc/dfs/dfstab

after adding the require lines in both machines:

/etc/init.d/nfs.server start

exportfs
 
Thanks for reply!!

i have created share resource on lsi3:

share -F nfs -o ro,root=lsi /user10/9i_stage

And i can see resourse in sharetab and when i do a export fs.

Question.

How do i then use this share from the other server lsi??

Thanks in Advance!
 
Hi
At the client, i.e., the host at which the filesystem is to be mounted, the nfs client has to be started.

/etc/init.d/nfs.client start

The remote file system can be now be mounted. The syntax is as shown:

mount –F nfs <hostname>:<filesystem name> <destination>
i.e, mount -F nfs lsi3:/user10/9i_stage /lsi_user10/9i_stage
(assuming you want to mount it on lsi_user10/9i_stage on lsi.)

Hope this helps..
 
Thanks For Reply....i am still receiving a problem!

I have startes nfs.server on lsi3 which when i type #share is returning the following:

# share
- /user10/9i_stage ro,root=lsi &quot;&quot;

Also i have started nfs.client on lsi, however when i try and mount the remote filesysem it returns the following

# mount -F nfs lsi3:/user10/9i_stage /lsi_user10/9i_stage
mount: mount-point /lsi_user10/9i_stage does not exist.

PLEASE CAN ANYONE HELP!!
 
Hi!
Sorry for omitting this! You will have to create the mount point before mounting. Create the directory lsi_user10/9i_stage in / using mkdir before mounting.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top