LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 01: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, 02:29 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 02: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, 05:38 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 06: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, 02: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



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 04:35 PM
Trying to understand DFS mount & symbolic links lcarr74 Linux - Newbie 0 06-25-2006 01:17 AM
Where do I download mplayer? Why don't any of the links work!? Hawkboy Linux - Software 3 09-28-2005 04:52 AM
mount: Too many levels of symbolic links jpotex Slackware 7 02-13-2005 08:00 AM
links ... doesn't work vwal_13 Slackware 6 04-14-2004 08:34 AM

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

All times are GMT -5. The time now is 04:25 PM.

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
Open Source Consulting | Domain Registration