LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-04-2008, 03:11 AM   #1
sgmeunier
Member
 
Registered: Jun 2006
Location: The Netherlands
Distribution: opensuse 11.1, opensolaris 2009.06
Posts: 36

Rep: Reputation: 18
untarred symlinks point to /


Hi All

I have a peculiar problem that I haven't been able to figure out. I have googled and searched on the forums but haven't yet been able to find someone with a similar problem.

We have a linux server that acts as a web frontend for files that are accessed via nfs on a Windows 2003 server. Because they are lots of small files we use tar to back them up before writing the single large tar.gz file to tape.

We've encountered a problem where the symlinks in the tar point to / when untarred. We have a number of servers configured in this setup so I was able to compare them to see if the same problem occurred on all.

Of our three servers running Red Hat 7.3 (the rest run Centos 5.1 and work perfectly), Server A untars the symlink with it pointing to the right location while Servers B and C untar it with it point to /. They are all using kernel 2.4.20-28.7smp, gnu tar 1.13.25, nfs-utils 0.3.3-6.73 and have the nfs mount point with the same set of options.

We set up a sandbox environment, which is basically a restore of one of the systems, but running kernel 2.4.18-3smp. I can create a symlink on the nfs share on this system, tar it and untar it perfectly. However, if I untar a backup from Server C's environment then the symlink once again points to /.

I don't think it's the kernel version because it works perfectly on Server A, which has the same kernel as Server C.

I've noticed, though, that symlinks on the local file system that are tarred untar properly so I think it has something to do with nfs. However, the symlinks work on the nfs share.

If anyone has any ideas, I'd really appreciate it.

Thanks
Steven
 
Old 03-04-2008, 04:31 AM   #2
sgmeunier
Member
 
Registered: Jun 2006
Location: The Netherlands
Distribution: opensuse 11.1, opensolaris 2009.06
Posts: 36

Original Poster
Rep: Reputation: 18
I've continued testing and am now even more confused than before. Untarring the symlinks no longer works on Server A and they now point to "." instead of "/". Nothing has been changed on any of the servers. I'm testing with the exact same files as before.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade qt3 -> qt4. Symlinks still point to qt3 alar Linux - Software 1 06-07-2007 09:45 PM
telnet not work in Point to Point connected FC6 boxes techteacher Linux - Networking 4 05-06-2007 09:50 AM
Need untarred files after installation? coldfusion713 Linux - Software 3 08-03-2003 02:16 AM
Is there a detailed point by point comparison on Linux to Windows? Paul Parr Linux - General 4 04-26-2003 02:35 AM
Can I move Untarred directories? Nigel_Tufnel Linux - General 5 08-08-2002 08:45 AM


All times are GMT -5. The time now is 01:41 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration