LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 07-30-2003, 06:21 PM   #1
Spyder~1
LQ Newbie
 
Registered: Jul 2003
Distribution: REDHAT 9.0
Posts: 7

Rep: Reputation: 0
Question Stale NFS File handle after samba install


Ok, I am a newbie but over the last couple days I have made a lot of progress with linux. I have a new problem however that has stopped me in my tracks.

I am using redhat 9.0
P III 600Mhz
Toshiba Portege

I downloaded and installed SAMBA from samba.org so I can connect to windows shares. Everything appears to have installed correctly, after reading the samba instructions I tried to mount my network share like this

mount -t smbfs -o username=David,password=password //10.80.1.100/general /mnt/network

It runs and doesn't return an error.
I know it is connecting to the network because if I enter an incorrect password I get "access denied"

When I go to view my /mnt/network directory with "ls" I get

"Stale NFS file handle"

Anyone got any idea?
Thanks
David
 
Old 08-05-2003, 07:23 AM   #2
TrashCanMan
Member
 
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62

Rep: Reputation: 15


Dude, I am having exactly the same problem. Do me a favour - If you find out before me, tell me how to fix it and I'll do the same for you.

Have you viewed your mnt/ directory? does the shared folder either not appear or when you click on it it vanishes?

I have noticed in a root shell that the file is there, but in konqueror or whatever, it isn't.

Do you get the errors saying that the mnt/WHATEVER file doesn't exist when you try to access it, and then when you try to mount it, mount says it can't because it's already there?

peace
 
Old 08-05-2003, 10:35 AM   #3
TrashCanMan
Member
 
Registered: Jul 2003
Location: Midlands, UK
Distribution: Slackware 10, Mandrake 9.2, Knoppix, Win XP
Posts: 62

Rep: Reputation: 15
Well - I fixed mine. Windows was broadcasting a shared directory that didn't exist - a crash had wiped it out the night before.

Check the directory is being shared before you do anything else, and make sure it hasn't been deleted or renamed or something weird!


Good Luck
 
Old 08-27-2003, 08:42 AM   #4
trifster
LQ Newbie
 
Registered: Aug 2003
Location: PA, USA
Distribution: RH90
Posts: 1

Rep: Reputation: 0
mount smbfs and stale nfs handle error

I have fixed my problem. I had a folder shared on my Windows box and it only had my domain username in the permissions and not the local server username account. Since my linux box smbclient hasn't been joined to the domain smbmount doesn't authenticate with the PDC, rather the local computer users.

Bobby
 
Old 04-26-2005, 06:59 AM   #5
JamieBrown
Member
 
Registered: Jan 2005
Location: Great Ayton, North Yorkshire, UK
Distribution: Gentoo, Mandriva, RHES, Debian
Posts: 61

Rep: Reputation: 15
Just a random note, but I've found that it also gives this error if the user you are trying to mount the share with doesn't have permission to view the shared folder. So I guess this error doesn't mean anything specific, just "I cannae do it!". Could be a more friendly error though! :-)

Cheers,

Jamie.
 
Old 08-05-2005, 08:46 PM   #6
s-twig
LQ Newbie
 
Registered: Aug 2005
Location: Queensland , Australia
Posts: 1

Rep: Reputation: 0
Just a quick note in relation to Windows 2003 Servers.

You may receieve this error message if your server is "Digitally signing" communications.

To disable this, alter two policies, in the Default Domain Controller Security Settings. Under Local policies, Security Options.

Disable Microsoft network server: Digitally sign communications (always)
Disable Microsoft network server: Digitally sign communications (if client agrees)

Remember to run gpupdate.exe when finishes or you'll have to wait for Windows to do it at the scheduled interval.

My understanding is that this is a generic system return code and you'll see this for any number of errors.

Hope this helps someone.
 
Old 08-05-2005, 09:56 PM   #7
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
Stale NFS file handle? Unmount and remount the share usually works..
 
Old 04-08-2009, 02:36 PM   #8
jkelso
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Thumbs up This fixed my issue

Quote:
Originally Posted by s-twig View Post
Just a quick note in relation to Windows 2003 Servers.

You may receieve this error message if your server is "Digitally signing" communications.

To disable this, alter two policies, in the Default Domain Controller Security Settings. Under Local policies, Security Options.

Disable Microsoft network server: Digitally sign communications (always)
Disable Microsoft network server: Digitally sign communications (if client agrees)

Remember to run gpupdate.exe when finishes or you'll have to wait for Windows to do it at the scheduled interval.

My understanding is that this is a generic system return code and you'll see this for any number of errors.

Hope this helps someone.
Worked for me. I got the Stale NFS error when restoring a VM from the Windows backup proxy to the ESX host.

Regards,

Jkelso
 
  


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
stale NFS file handle error hardian_97 Linux - Networking 0 10-02-2005 10:09 PM
Trying to mount W2k3 shareusing Samba 3.0.14a-Debian gives Stale NFS file handle lbclinux Debian 1 08-21-2005 07:07 AM
NFS stale file handle master Linux - Software 7 06-14-2005 09:49 AM
Stale NFS file handle toneys Linux - Networking 1 10-24-2004 02:36 PM
Stale NFS handle error sumanjay Slackware 0 08-04-2003 09:21 PM


All times are GMT -5. The time now is 11:07 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration