You are not logged in.

#1 2008-12-04 14:27:16

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Stale NFS handle on ext3

I've looked through the forums and google, but haven't found anything that've helped me so far. See, my problem is this:

└─(1:15:21:%)── rm -rf .porn_torrents
rm: cannot remove `.porn_torrents': Stale NFS file handle
┌─(dmz@sophie:pts/5)(/mnt/Porn)
└─(1:15:21:%)──

Permissions looks like this:

d?????????  ? ?    ?            ?                ? .porn_torrents/

I tried this;

    * Login as root
    * umount -t nfs -a
    * mount -t nfs -a

But .. nada. Anyone? This directory is pretty important to me, you see...

Offline

#2 2008-12-04 14:47:06

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Stale NFS handle on ext3

Restart nfsd on the server. Make sure portmap and nfslock are running on both the server and the client. Then try remounting again.

Offline

#3 2008-12-04 15:50:12

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Stale NFS handle on ext3

tomk wrote:

Restart nfsd on the server. Make sure portmap and nfslock are running on both the server and the client. Then try remounting again.

The thing is, I only have local disks, no server, no NFS..

Offline

#4 2008-12-04 18:59:59

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Stale NFS handle on ext3

Anyone, please? sad

Offline

#5 2008-12-05 20:18:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Stale NFS handle on ext3

dmz wrote:

I only have local disks, no server, no NFS..

Now that's a little detail that would have been useful in your opening post... smile

In that case, I would suspect filesystem and/or disk corruption. Check your logs for anything relevant, boot your system with your favourite rescue CD, firstly to see if you can access the dir that way, and if not, to run fs checks, disk diagnostics, etc.

Offline

#6 2009-07-04 14:30:17

BenArnold
Member
Registered: 2009-07-04
Posts: 1

Re: Stale NFS handle on ext3

I had this problem at boot-up my Linux, on ext3. I booted a LiveCD and just check/fixed the filesystem by running " fsck /dev/hda1 -fy " worked. I think this was from a crash so the filesystem wasn't clean. That command checks the filesystem (fsck) even if it is marked clean (-f) and answers Yes to all the "blah blah blah - Do you want to fix this?" questions (-y). Funny it seemingly had nothing to do with nfs        Hope that helps.

Offline

#7 2009-07-04 15:07:22

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Stale NFS handle on ext3

BenArnold - it may help, but the question was posted nearly seven months ago. smile

In future, please check the date of the last post, and do not post if the thread has been inactive for six months or more. If you wish, you can start a new thread and link to the old one.

Closed.

Offline

Board footer

Powered by FluxBB