- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remote file access
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2001 12:06 PM
08-14-2001 12:06 PM
I tried to use a symblic link to link a local file to a remote file, and this does not work!
e.g. ln -s local_file remote_host:/file. TIA.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2001 12:18 PM
08-14-2001 12:18 PM
Re: Remote file access
The answer is no at least not like that. You can export the filesystem via NFS and then mount the filesystem via NFS on the local system.
After exporting on the remote system you can then
mount -F nfs remotehost:/fs1 /remfs1
You can then do a symbolic link something like this:
ln -s /remfs1/myfile1 /myhomedir/myfile1
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2001 12:19 PM
08-14-2001 12:19 PM
Re: Remote file access
You have to export that file system.
For example
1.your filename on remote system is /home/bach/runme.
2. you are trying to run that file from client1
On remote system
#vi /etc/exports file and export /home
/home -access=client1
#exportfs -va (to export /home)
on client
#cd /
#mkdir tmphome
#mount server:/home /tmphome
#ln -s /tmphome/bach/runme /home/bach/runme
#cd /home/bach
and run "runme" it will run it from remote system.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2001 12:22 PM
08-14-2001 12:22 PM
Re: Remote file access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2001 12:50 PM
08-14-2001 12:50 PM
Re: Remote file access
When you nfs mount a filesystem, you are not using up disk space on your local system.
If you don't want to use NFS, the other option is to use AUTOFS(/automount).
-Regards
I am RU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2001 12:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2001 01:15 PM
08-14-2001 01:15 PM
Re: Remote file access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2001 01:18 PM
08-14-2001 01:18 PM
Re: Remote file access
Thanks Clay, I meant to say if Bach didn't want to use hardmount, he could use automount. I do know that they both use NFS.
I am not sure what is his requirement, maybe he can get away with writing a script, which looks for any changes in the script on the remote node and transfers the file(using ftp/rcp/scp) or even better just use rdist to copy the file from the remote node to the local node, rather than hardmounting or automounting. But then again, I am not sure what are Bach's requirements/limitations.
-Regards
I am RU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2001 05:01 AM
08-15-2001 05:01 AM
Re: Remote file access
You may do an export of the remote directory containing the file to symbolic link ( with exportfs ) like :
#exportfs -i -o rw=server1:server2 /myDir
This command exports the directory "myDir" with read and write permessions to server1 and server2
Then on the local server, mount the NFS direcory by the following command :
#mount -F nfs -o soft,intr,rw remoteServer:/myDir /users/remoteDir/myLocalDir
This command mount the remote directory "myDir" on the remote server "remoteServer" on the local directory "myLocalDir" with read and write permissions.
Now you can issue your symbolic link using the mounted directory "myLocalDir" like :
#ln -s /users/remoteDir/myLocalDir/remoteFile /tmp/symbolicLinkOnRemoteFile
Magdi