LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-26-2010, 02:53 AM   #1
davidbr
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 0
Question links don't work after mount


Hello,

I work in a lab when all the guys use PCs with Windows and access the lab linux servers via ssh.

I prefer linux, so I have a local installation of ubuntu 10.4 on my PC. I mount the home of our lab server using mount server:/home /mnt/home/. I can then access the files on the server (I had to change my local UID to match the one assigned to me on our server in order to be able to write to my home dir).

The problem is all the (symbolic) links I have on the server don't work when I access them through the mounted location. I guess the system simply tries following the link in my local /home instead on server:/home.

Is there a way to make the links work?

Thanks,
Dave
 
Old 07-26-2010, 03:29 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Not without making the location the server points to on it's filesystem also exist on the client machine to reproduce the location where the real file is. There isn't any way on NFSv3 to make the symlink be worked out on the server side.
 
Old 07-26-2010, 03:49 AM   #3
davidbr
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Original Poster
Rep: Reputation: 0
so I guess I can mount server:/home to /home... but I guess that's not such a good idea, is it?
 
Old 07-26-2010, 06:38 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
well it depends how the environment works really. It's extremely common for /home to live on a remote server, but if that's not the intention in this implementation, might not go down to well with the server admin.
 
Old 07-26-2010, 07:43 AM   #5
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Hi Dave

Quote:
I mount the home of our lab server using mount server:/home /mnt/home/.
Why don't you ssh into the server from your machine (similar to what you described the Windows users are doing)? I'm assuming that if you're able to mount the server; there shouldn't be any firewall/network issues that prevent you from doing a remote ssh into the machine?

Doing an ssh means you're shelled into the box and thus your symlinks should work fine.
 
Old 07-28-2010, 03:13 PM   #6
davidbr
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Original Poster
Rep: Reputation: 0
I want to run stuff locally, just have access to the storage.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs mount (too many levels of symbolic links) freeindy Linux - Server 1 03-09-2008 05:35 PM
Trying to understand DFS mount & symbolic links lcarr74 Linux - Newbie 0 06-25-2006 02:17 AM
Where do I download mplayer? Why don't any of the links work!? Hawkboy Linux - Software 3 09-28-2005 05:52 AM
mount: Too many levels of symbolic links jpotex Slackware 7 02-13-2005 09:00 AM
links ... doesn't work vwal_13 Slackware 6 04-14-2004 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration