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!

Remote File system mount?

Status
Not open for further replies.

Jonathan777

Technical User
Aug 23, 2001
26
0
0
US
Hi to all,


Pretty simple, just wondering what I need to do to add a Remote file system in my /etc/vfstab.
I have it mounted on the system using a mount command with the /net/<ip address>/files. I need to attach an entry in the vfstab so that it boots that REMOTE file system.

Thanks,

-Jon
 
Hi,
Add the following entry in /etc/vfstab file:
sun:/data01 - /sun_data01 nfs - yes ro
where sun is the remote server,
/data01 is the shared FS on sun,
/sun_data01 is the mount pt. on local server,
ro is the read-only option

I hope this helps....
 
NavinB - How are u? Hope all is well. Thanks for responding.

My problem is that the DARN file system that I mount keeps umounting by it's self. After a few mins the mounted file system gets umounted. I tried everything. I feel that the problem might be that I cannot use the -F ufs option. When i look at the file system (in /etc/MNTTAB) i see that it is using nfs instead og ufs. The remote file system is ufs.
I know this should be ok, but y does it keep on detaching itself.

Thanks,

Jonathan
 
Hi Jon,

The filesystem on local system is going to be ufs only but when u mount it on remote server then it will be mounted as nfs filesystem(network FS).So u should share it as nfs on the local system as:
sun# share -F nfs /data01

I hope this helps.....
 
Hey navinB,

I tried to do the share command and I get this error message:

&quot;share_nfs: Cannot share remote filesystem: /net/XXXXXX/XXX&quot;

I did
share -F nsf /net/xxxx/xxxxx

/net/xxxxx/xxxxx is the mounting point of the file system
123.256.235:/xxxxx

 
Hi,

I think u have got it all wrong.Follow these steps:
local_server#share -F nfs -o ro /data01(this shares /data01)
local_server#dfshares(to see shared resources)

Then login to remote server :

remote_server#mkdir /share_data01
remote_server#mount local_server:/data01 /share_data01(this mounts the shared fs on remote_server)
I hope this helps....
 
I think YOUR THE MAN!!!!!

It works for now, just hope it doesn't dismount again. Seems like its a GOOD fix. Ur the MAN.
Thanks for all ur help even for the help in the future.

-Jonathan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top