LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-27-2014, 11:47 PM   #1
Tathagat Swain
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Rep: Reputation: Disabled
nfs not working properly when mounting folder from RHEL3AS to RHEl5.6AS


Hi,

I am facing problem in mounting 2 folders from RHEL3.0 AS machine to RHEL5.6 machine.It mounts once but then un mounts again and again ,sometimes after 2 mins ,sometimes after 30 mins , but has no fixed time.But it does get un-mounted.Help would b deeply appreciated.

Last edited by Tathagat Swain; 07-27-2014 at 11:48 PM.
 
Old 07-28-2014, 08:40 AM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Hello,

Welcome to LQ!!!

What does log says? Do you see anything strange in the logs (both client and server) at the time of mounting the share. Do you see anything in the logs for the time when umount occurs? RHEL 3.0 AS is quite old, what is the version of NFS running on the server?
 
Old 07-28-2014, 12:29 PM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
as you are mounting shared folders on RHEL 3, that would be an older out dated vs of NFS (not to mention that RHEL 3 is well beyond support life cycle now even with extended support) and RHEL 5.x using both NFS v3 and v4. post your exports from RHEL3 as well as exactly how you are trying to mount those shares on the RHEL5.x system plus your logs.
 
Old 07-29-2014, 05:34 AM   #4
Tathagat Swain
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
We mounting RHEL3 mount folder to RHEL5.X not from RHEl5 to RHEL 3.

Logs on RHEL5.6 machine

Jul 27 04:32:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 04:42:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 04:48:59 SEC-SERVER : error getting update info: Cannot retrieve repository metadata (repomd.xml) for repository: pgdg90. Please verify its path and try again
Jul 27 04:54:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 04:56:43 SEC-SERVER last message repeated 5 times
Jul 27 04:56:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 04:57:43 SEC-SERVER kernel: nfs: server 192.15.32.12 not responding, still trying
Jul 27 04:58:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 05:00:43 SEC-SERVER last message repeated 3 times
Jul 27 05:02:15 SEC-SERVER kernel: nfs: server 192.15.32.12 not responding, still trying
Jul 27 05:03:43 SEC-SERVER kernel: nfs: server 192.15.32.12 not responding, still trying
Jul 27 05:03:43 SEC-SERVER kernel: nfs: server 192.15.32.12 not responding, still trying
Jul 27 05:06:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 05:24:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 05:24:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 05:48:57 SEC-SERVER : error getting update info: Cannot retrieve repository metadata (repomd.xml) for repository: pgdg90. Please verify its path and try again
Jul 27 05:56:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 05:58:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 05:58:43 SEC-SERVER last message repeated 2 times
Jul 27 05:59:43 SEC-SERVER kernel: nfs: server 192.15.32.12 not responding, still trying
Jul 27 06:01:43 SEC-SERVER kernel: nfs: server 192.15.32.12 not responding, still trying
Jul 27 06:01:43 SEC-SERVER kernel: nfs: server 192.15.32.12 not responding, still trying
Jul 27 06:14:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 06:16:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 06:17:43 SEC-SERVER kernel: nfs: server 192.15.32.12 not responding, still trying
Jul 27 06:18:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 06:21:43 SEC-SERVER kernel: nfs: server 192.15.32.12 not responding, still trying
Jul 27 06:21:43 SEC-SERVER kernel: nfsacl: server 192.15.32.12 not responding, still trying
Jul 27 06:22:43 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 06:22:43 SEC-SERVER kernel: nfsacl: server 192.15.32.12 OK
Jul 27 06:31:50 SEC-SERVER kernel: nfs: server 192.15.32.12 not responding, still trying
Jul 27 06:32:25 SEC-SERVER last message repeated 3 times
Jul 27 06:32:25 SEC-SERVER kernel: nfs: server 192.15.32.12 not responding, still trying
Jul 27 06:34:35 SEC-SERVER kernel: nfs: server 192.15.32.12 OK
Jul 27 06:36:07 SEC-SERVER kernel: nfs: server 192.15.32.12 not responding, still trying
Jul 27 06:37:44 SEC-SERVER kernel: nfs: server 192.15.32.12 not responding, still trying
Jul 27 06:37:58 SEC-SERVER last message repeated 3 times

Last edited by Tathagat Swain; 08-06-2014 at 09:38 AM.
 
Old 07-30-2014, 07:32 AM   #5
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
while the logs are helpful, you still have yet to provide what you were asked for.

1. exports from the RHEL 3 server
2. the exact details on how you are trying to mount the NFS share on the RHEL 5 server
 
1 members found this post helpful.
Old 07-30-2014, 08:29 AM   #6
Tathagat Swain
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi,
we just configure in /etc/exports file in RHEL3, and /etc/fstab file in RHEL5 for mounting exports folder in RHEL5 server.
 
Old 07-30-2014, 04:57 PM   #7
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
You did not mention which version of NFS is running on client and server. Run nfsstat -s and that you will give you that information. Not sure if that works on RHEL 3.0 AS machine but my wild guess is, it should work. Also, did you try using autofs on the client side instead of using /etc/fstab as that will provide client with on demand mount.
 
Old 07-30-2014, 06:56 PM   #8
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by Tathagat Swain View Post
Hi,
we just configure in /etc/exports file in RHEL3, and /etc/fstab file in RHEL5 for mounting exports folder in RHEL5 server.
ok again you have not provided us with the info to help you trouble shoot your problem.
 
Old 08-06-2014, 09:19 AM   #9
Tathagat Swain
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi,
I have attach nfs version file please reply me ASAP
Attached Files
File Type: txt nfs rpm verions.txt (331 Bytes, 9 views)
 
Old 08-06-2014, 09:23 AM   #10
Tathagat Swain
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi,
The out put of RHEL3.0 (/etc/exports file is:-
/home/tom/share1 192.15.4.51(rw,anonuid=2005,anongid=2005)

The output of RHEL5.6 (/etc/fstab file is:-
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cciss/c0d0p2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
192.15.32.107:/home/tom/share1 /home/tom/share1 nfs
 
Old 08-06-2014, 09:25 AM   #11
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
I wrote an article about how to ask questions on a forum, and some of the ettiquite involved. You should have a peek at it, because using ASAP is considered useless at a volunteer site. http://boardstretcher.github.io/blog...ask-questions/

The problem you are having is due to using unsupported software. RHEL 3.0 ended support at the beginning of this year. You are more than likely having an NFS problem, since 1.0.5 is from 2003, and 1.0.9 was released in 2012. You'll need to either upgrade one or downgrade one.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS /home mounting not working: is there a fix? Xeratul DamnSmallLinux 4 08-29-2010 04:06 AM
auto mounting is not working properly wagmare Linux - General 1 04-30-2010 04:52 AM
"screen" not working properly ( .screen folder in wrong place) ledow Slackware 4 01-11-2009 02:54 PM
NFS Mounting works for one folder, not for another. davidbalt Linux - Networking 5 07-08-2004 12:04 PM
Can't get NFS working properly Scruff Linux - Networking 8 02-08-2004 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:51 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