LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 05-02-2006, 12:17 PM   #1
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
Tru64 / HP-UX NFS mount problem


Hello:

Recently, we did a NFS mount from a Tru64 Server to another HP-UX server ,by typing:

"mount hostname:/cdrom": being /cdrom the shared filesystem. Everything went fine.
Then somebody forgot to umount the NFS mount in the Tru64 server and closed the remote session, later on, the HPUX server was shutdown and now everytime the HPUX is down, the Tru64 is always asking for the NFS as still mounted, however this mounting is nowhere to be found, not declared in /etc/fstab nor /etc/mountdtabs and so on.

How can in definitely umount this fileystem? the real problem is the once the HPUX server is asking for the NFS lost filesystem, it cant even do a simple "ls"

Regards
 
Old 05-03-2006, 05:32 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
what's the output of the "mount" command? (just mount on it's own).

have you tried stopping the NFS daemon?

/sbin/init.d/nfs.client stop

and/or

/sbin/init.d/nfs.server stop
 
Old 05-03-2006, 09:25 AM   #3
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Original Poster
Rep: Reputation: 30
thanks for your reply,
mount command shows nothing related to the NFS mount, restarting NFS daemon is maybe a little risky, since it's a production server and there are other working NFS shares spread over the network.
on the NFS server, the command "showmount -a" displays that indeed the remote client is still "stuck" under /cdrom.

Maybe i should try remounting the same filesystem and umount it correctly this time?

Regards
 
Old 05-03-2006, 09:40 AM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
have you tried terminating the process on the client server? i.e grepping for the nfs process........
 
Old 05-03-2006, 11:08 AM   #5
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Original Poster
Rep: Reputation: 30
Not yet, i'll try. On the other hand, we found the very roots of the problem: the NFS mount point was removed from the client (i don't know why) and now everytime we try to recreate it (it was called /cdrom as well) there's an error message:

cdrom: Stale NFS file handle

Again, the client is a heavy production server and can't be rebooted or something drastic, i'll follow your suggestion about grepping the nfs proccesses

Thank you
 
Old 05-03-2006, 11:12 AM   #6
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
i strongly recommend you visit:
www.itrc.hp.com/

not that there's anything wrong with LQ. but this is specific to hp-ux... and there are some amazing experts there......

http://forums1.itrc.hp.com/service/f...hreadId=996618

looks like killing processes or rebooting the tru64 are your main chances....

i would do something like this:

fuser -cuk /stale


stale being the mount point......

Last edited by satinet; 05-03-2006 at 11:14 AM.
 
  


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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
NFS mount problem trebek Linux - Networking 5 12-27-2005 01:10 AM
NFS Mount problem doug stand Linux - Networking 1 07-26-2005 11:01 AM
Nfs Mount Problem ]Trix[ Linux - Networking 2 12-19-2004 07:57 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 09:18 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
Open Source Consulting | Domain Registration