LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 10-19-2009, 07:34 AM   #1
odjb
LQ Newbie
 
Registered: Jan 2006
Location: France
Posts: 2
Thanked: 0
NFS stale file handle and not using NFS


[Log in to get rid of this advertisement]
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
windows_xp_2003 odjb is offline  
Tag This Post ,
Reply With Quote
Old 10-25-2009, 05:25 AM   #2
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 83
Thanked: 7
NFS off?

How about turning NFS off and unloading the kernel modules if possible? What does that do?
windows_xp_2003 janoszen is offline     Reply With Quote
Old 10-25-2009, 08:10 PM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 5.4
Posts: 7,419
Thanked: 325
Run

rpcinfo -p

and post the results
http://linux.die.net/man/8/rpcinfo
windows_xp_2003 chrism01 is offline     Reply With Quote
Old 11-05-2009, 10:41 AM   #4
odjb
LQ Newbie
 
Registered: Jan 2006
Location: France
Posts: 2
Thanked: 0

Original Poster
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.
windows_xp_2003 odjb is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 03:39 PM
Yet Another NFS Stale File Handle Question blanks Linux - Server 6 09-21-2008 10:14 PM
stale NFS file handle error hardian_97 Linux - Networking 0 10-02-2005 11:09 PM
NFS stale file handle master Linux - Software 7 06-14-2005 10:49 AM
Stale NFS file handle toneys Linux - Networking 1 10-24-2004 03:36 PM


All times are GMT -5. The time now is 07:09 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration