LinuxQuestions.org
Review your favorite Linux distribution.
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
 
Search this Thread
Old 10-19-2009, 06:34 AM   #1
odjb
Member
 
Registered: Jan 2006
Location: France
Distribution: Ubuntu/Debian
Posts: 43

Rep: Reputation: 0
NFS stale file handle and not using NFS


I did a backup of the ssd on my eeepc using the following command from a Linux Mint on a USB key :

dd if=/dev/sda1 of=/media/disk/eeepc_save/SYSTEM/system.bck
(/media/disk in an external USB disk)

I deleted the ext2 partition using GPartEd on live USB key and created it back.
I rebooted Linux Mint and restored the filesystem using the opposite command :

dd if=/media/disk/eeepc_save/SYSTEM/system.bck of=/dev/sda1

I mounted /dev/sda1 and when I "ls" the root directory, I get several "NFS stale file handle" messages concerning directories (/dev and other).
I tried "e2fsck -y", had a bundle of corrections that resulted in the deletion of the directories.

I don't use NFS.
I did the same for the user filesystem and had no problem (it's an ext3 partition)
The two filesystems are the ones that came with the original Xandros installed on my eeepc and that were mounted with union-fs.

This is not a serious issue as this was only a test but I'd like to understand.

Any help greatly appreciated.

olive
 
Old 10-25-2009, 04:25 AM   #2
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22
NFS off?

How about turning NFS off and unloading the kernel modules if possible? What does that do?
 
Old 10-25-2009, 07:10 PM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Run

rpcinfo -p

and post the results
http://linux.die.net/man/8/rpcinfo
 
Old 11-05-2009, 09:41 AM   #4
odjb
Member
 
Registered: Jan 2006
Location: France
Distribution: Ubuntu/Debian
Posts: 43

Original Poster
Rep: Reputation: 0
get rid of xandros

thank you for the answers but i definitely gave up the xandros installed on my eeepc. i kept the images i made and i realized that, in fact, the root image was useless as it is a read-only filesystem that never changes. as i hadn't problems with the the user filesystem image, i kept this one and get rid of the other. (i tried a restore by reinstalling the whole system and made a dd of the user filesystem image over the new one and it worked fine.)

P.S. : i now use linuxmint wich seems much better than xandros. i also gained about 1 and a half GB as xandros was using unionfs.
 
  


Reply

Tags
eeepc, nfs


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
ls: cannot access /etc/resolv.conf: stale nfs file handle - but i'm not using nfs schneidz Linux - General 4 10-02-2009 02:39 PM
Yet Another NFS Stale File Handle Question blanks Linux - Server 6 09-21-2008 09:14 PM
stale NFS file handle error hardian_97 Linux - Networking 0 10-02-2005 10:09 PM
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


All times are GMT -5. The time now is 10:05 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 Google+: linuxquestions
Open Source Consulting | Domain Registration