#4 ls: .: Stale NFS file handle (sshfs)

closed-fixed
None
5
2002-09-26
2002-08-11
No

An example situation with sshfs. You're probably aware
of this, but I'm filing in case this is some weird
situation that's going on only with me.

# ls mount
backups/ boot/ etc/ lost+found/ opt/ root/ tmp/
var/
bin/ dev/ home/ lib/ mnt/ proc/
sbin/ usr/
# cd mount
# ls
ls: .: Stale NFS file handle
# ls /home/gid/mount
backups/ boot/ etc/ lost+found/ opt/ root/ tmp/
var/
bin/ dev/ home/ lib/ mnt/ proc/
sbin/ usr/
# ls
ls: .: Stale NFS file handle
#

Mounted like:

mount -t lufs none /home/gid/mount -o \ nosuid,fs=sshfs,host=hostname.com,username=steve,fmode=444,dmode=555

Great work!

Discussion

  • Florin Malita

    Florin Malita - 2002-08-12

    Logged In: YES
    user_id=154306

    I'm aware of this bug from you guys, too bad it never showed
    up on my machines...

    I'm testing on RH7.3 and MDK8.2. Guess they're too similar
    and I should trade MDK for a Debian.

    Question: does it afect ftpfs too, or it's sshfs specific?

     
  • Florin Malita

    Florin Malita - 2002-08-12
    • assigned_to: nobody --> mali
     
  • Steve Grecni

    Steve Grecni - 2002-08-12

    Logged In: YES
    user_id=134032

    ftpfs is also giving me the same error currently...

    although it looks like lufs is in a weird state, I may have
    accidentally mounted something twice on the same directory.
    and now I can't unmount one of them saying device or
    resource busy, but no process should possibly be using that
    directory.

    I also can't rmmod the module. even after killing off lufsd.
    I'll try and reboot later and see what happens, but I can't
    reboot right now for other reasons.

     
  • Nobody/Anonymous

    Logged In: NO

    i'm using ftpfs and have the same problem...

    mounted as:
    mount -t lufs none lid -n -o
    nosuid,fs=ftpfs,host=host,username=user,password=pass,ftpactive

    hint for gid0ze:
    try umount -f <mount point> or
    umount -l <mount point>

     
  • Steve Grecni

    Steve Grecni - 2002-08-15

    Logged In: YES
    user_id=134032

    this seems to be fixed in 0.5.0!

     
  • Nobody/Anonymous

    Logged In: NO

    I have the same problem on Gentoo Linux with version 0.5.0
    of lufs,
    Mounting with ftpfs.
    The wirerd thing is that you can ls /mnt/lufsmountpoint, or even
    cd /mnt/lufsmountpoint; ls `pwd` and it works.

    But standing in the mounpointdirectory is a nogo.

     
  • Nobody/Anonymous

    Logged In: NO

    i get the same error with FTPFS , did not tried sshfs.

    i can mount without problem , list the mountet directory with contents
    without problems (on ftp). but when my ftp server :P , yes it a ftp server
    with mountet ftp servers :) , access it , it get STALE NFS Handle, and
    when i like to access it normally it always gives stale NFS Handle too.

    i use debian unstable , kernel is 2.4.19 pre 10

     
  • Florin Malita

    Florin Malita - 2002-09-26
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks