FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-08-2010, 04:25 PM
Michael Yang
 
Default What does "Stale NFS file handle" mean?

On Mon, Feb 8, 2010 at 4:51 AM, marc <gmane@auxbuss.com> wrote:

Michael Yang wrote:



> On Sat, Feb 6, 2010 at 3:35 PM, Michael Yang <michael.yxf@gmail.com> wrote:

>

>> When I list files under my $HOME, I found following two files that can not

>> be accessed:

>>

>> ls: cannot access .xsession-errors: Stale NFS file handle

>> ls: cannot access .Xauthority: Stale NFS file handle

>> total 2384

>> -????????? * ? ? * * * ? * * * * * *? * * * * * * * *? .xsession-errors

>> -????????? * ? ? * * * ? * * * * * *? * * * * * * * *? .Xauthority

>>

>> It looks like a remote access from NFS system from error message. But it is

>> my $HOME, which is a ext2 system. This is the entry in my /etc/fstab

>> /dev/sda8 * * * /home * * * * * ext2 * *defaults * * * *0 * * * 2

>>

>> This error is probably causing another problem of accessing my $HOME files

>> from GTK-based application. When I "open -> file" from a gtk-based

>> application to open a file under $HOME, I can not see any files of $HOME

>> from the "open..file" dialog.

>>

>> Anyone can help me with this?

>>

>> Thanks very much.

>> Michael.

>>

>>

> Anybody can help with this?

>

> Thanks.



Please switch off HTML.



Try running fsck.



*$ sudo touch /forcefsck



then reboot.



Tried but doesn't work.*
--

Best,

Marc



"Change requires small steps."











--

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-08-2010, 04:36 PM
"Boyd Stephen Smith Jr."
 
Default What does "Stale NFS file handle" mean?

In <338752d11002080825q5afc23fcif2276c96ad259f43@mail .gmail.com>, Michael Yang
wrote:
>On Mon, Feb 8, 2010 at 4:51 AM, marc <gmane@auxbuss.com> wrote:
>> Michael Yang wrote:
>> > On Sat, Feb 6, 2010 at 3:35 PM, Michael Yang <michael.yxf@gmail.com>
>> > wrote:
>> >> When I list files under my $HOME, I found following two files that can
>> >> not
>> >> be accessed:
>> >>
>> >> ls: cannot access .xsession-errors: Stale NFS file handle
>> >> ls: cannot access .Xauthority: Stale NFS file handle
>> >> total 2384
>> >> -????????? ? ? ? ? ? .xsession-errors
>> >> -????????? ? ? ? ? ? .Xauthority
>> >>
>> >> Anyone can help me with this?
>> >
>> > Anybody can help with this?
>>
>> Try running fsck.
>>
>> $ sudo touch /forcefsck
>>
>> then reboot.
>
>Tried but doesn't work.

Can you please be more specific? What are the results of the fsck? It looks
to me like your filesystem has a bit of corruption.
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/
 
Old 02-08-2010, 05:02 PM
Michael Yang
 
Default What does "Stale NFS file handle" mean?

On Mon, Feb 8, 2010 at 11:36 AM, Boyd Stephen Smith Jr. <bss@iguanasuicide.net> wrote:

In <338752d11002080825q5afc23fcif2276c96ad259f43@mail .gmail.com>, Michael Yang

wrote:

>On Mon, Feb 8, 2010 at 4:51 AM, marc <gmane@auxbuss.com> wrote:

>> Michael Yang wrote:

>> > On Sat, Feb 6, 2010 at 3:35 PM, Michael Yang <michael.yxf@gmail.com>

>> > wrote:

>> >> When I list files under my $HOME, I found following two files that can

>> >> not

>> >> be accessed:

>> >>

>> >> ls: cannot access .xsession-errors: Stale NFS file handle

>> >> ls: cannot access .Xauthority: Stale NFS file handle

>> >> total 2384

>> >> -????????? * ? ? * * * ? * * * * * *? * * * * * * * *? .xsession-errors

>> >> -????????? * ? ? * * * ? * * * * * *? * * * * * * * *? .Xauthority

>> >>

>> >> Anyone can help me with this?

>> >

>> > Anybody can help with this?

>>

>> Try running fsck.

>>

>> *$ sudo touch /forcefsck

>>

>> then reboot.

>

>Tried but doesn't work.



Can you please be more specific? *What are the results of the fsck? *It looks

to me like your filesystem has a bit of corruption.

I tried the above command and rebooted the system. The system performed fsck at startup, it went through. I assume it passed.

How to manually check if the filesystem has corruption? Do I need to use single-user mode to run e2fsck on umounted /home?


*
--

Boyd Stephen Smith Jr. * * * * * * * * * ,= ,-_-. =.

bss@iguanasuicide.net * * * * * * * * * ((_/)o o(\_))

ICQ: 514984 YM/AIM: DaTwinkDaddy * * * * `-'(. .)`-'

http://iguanasuicide.net/ * * * * * * * * * *\_/
 
Old 02-08-2010, 05:22 PM
Michael Yang
 
Default What does "Stale NFS file handle" mean?

On Mon, Feb 8, 2010 at 11:36 AM, Boyd Stephen Smith Jr. <bss@iguanasuicide.net> wrote:

In <338752d11002080825q5afc23fcif2276c96ad259f43@mail .gmail.com>, Michael Yang

wrote:

>On Mon, Feb 8, 2010 at 4:51 AM, marc <gmane@auxbuss.com> wrote:

>> Michael Yang wrote:

>> > On Sat, Feb 6, 2010 at 3:35 PM, Michael Yang <michael.yxf@gmail.com>

>> > wrote:

>> >> When I list files under my $HOME, I found following two files that can

>> >> not

>> >> be accessed:

>> >>

>> >> ls: cannot access .xsession-errors: Stale NFS file handle

>> >> ls: cannot access .Xauthority: Stale NFS file handle

>> >> total 2384

>> >> -????????? * ? ? * * * ? * * * * * *? * * * * * * * *? .xsession-errors

>> >> -????????? * ? ? * * * ? * * * * * *? * * * * * * * *? .Xauthority

>> >>

>> >> Anyone can help me with this?

>> >

>> > Anybody can help with this?

>>

>> Try running fsck.

>>

>> *$ sudo touch /forcefsck

>>

>> then reboot.

>

>Tried but doesn't work.



Can you please be more specific? *What are the results of the fsck? *It looks

to me like your filesystem has a bit of corruption.

You are right. I start the system with single-user mode, umounted the /home, and performed e2fsck and fsck manually. It returns lots of errors during checking. Now it looks like everything is fixed.

Thank you guys so much!
*
--

Boyd Stephen Smith Jr. * * * * * * * * * ,= ,-_-. =.

bss@iguanasuicide.net * * * * * * * * * ((_/)o o(\_))

ICQ: 514984 YM/AIM: DaTwinkDaddy * * * * `-'(. .)`-'

http://iguanasuicide.net/ * * * * * * * * * *\_/
 
Old 02-08-2010, 06:15 PM
MPR
 
Default What does "Stale NFS file handle" mean?

On Mon, Feb 8, 2010 at 1:51 AM, marc <gmane@auxbuss.com> wrote:
> Please switch off HTML.

Please join the 21st century. It's not 1990 any more. Mail clients
have come a long way.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-08-2010, 06:20 PM
Camaleón
 
Default What does "Stale NFS file handle" mean?

On Mon, 08 Feb 2010 10:15:13 -0800, MPR wrote:

> On Mon, Feb 8, 2010 at 1:51 AM, marc wrote:
>> Please switch off HTML.
>
> Please join the 21st century. It's not 1990 any more. Mail clients have
> come a long way.

Newsreaders and Mutt do not ;-)

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-08-2010, 06:43 PM
"Boyd Stephen Smith Jr."
 
Default What does "Stale NFS file handle" mean?

On Monday 08 February 2010 12:15:13 MPR wrote:
> On Mon, Feb 8, 2010 at 1:51 AM, marc <gmane@auxbuss.com> wrote:
> > Please switch off HTML.
>
> Please join the 21st century. It's not 1990 any more. Mail clients
> have come a long way.

Still, HTML is not welcome on this list. Please see the code of conduct
http://www.debian.org/MailingLists/#codeofconduct for Debian mailing lists. I
believe the 8th bullet point covers this case.

While it may not convince anyone one way or the other, I simply ignore any
HTML-only email. So, I won't be providing help to anyone using HTML-only
email. I strongly suspect there are others like me on this list as well. To
reach the largest audience, posting in plain-text is preferred.
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/
 
Old 02-08-2010, 08:25 PM
Andrei Popescu
 
Default What does "Stale NFS file handle" mean?

On Mon,08.Feb.10, 12:43:11, Boyd Stephen Smith Jr. wrote:

> While it may not convince anyone one way or the other, I simply ignore any
> HTML-only email. So, I won't be providing help to anyone using HTML-only
> email. I strongly suspect there are others like me on this list as well. To
> reach the largest audience, posting in plain-text is preferred.

I seem to recall reading somewhere that the list software is dropping
html-only mails

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 

Thread Tools




All times are GMT. The time now is 12:03 PM.

VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org