Mounting a ssh filesystem with FUSE succeeds but still gives error

Bug #434680 reported by Ketil Wendelbo Aanensen
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
sshfs-fuse (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: sshfs

Karmic alpha6, all updates.

Not quite sure if this is the correct package to assign this to.

I ssh into my server, and mount it now through Places > ssh-backup
When I click the item ssh-backup is mounted and I see it on my desktop, and I can access it fine. However, I *always* get an error dialog:

Unable to mount ssh-backup
Timeout waiting for mount to appear

I close the dialog, and all is still well. Rather annoying and unpolished thing.

Revision history for this message
shankao (shankao) wrote :

Confirmed in Karmic Beta

Changed in sshfs-fuse (Ubuntu):
status: New → Confirmed
shankao (shankao)
tags: added: usability
Revision history for this message
tave (tave) wrote :

also in karmic final

Revision history for this message
shankao (shankao) wrote :

And lucid alpha2 :)

tags: added: karmic lucid
summary: - Mounting SSH succeeds but still gives error
+ Mounting and ssh filesystem with FUSE succeeds but still gives error
summary: - Mounting and ssh filesystem with FUSE succeeds but still gives error
+ Mounting a ssh filesystem with FUSE succeeds but still gives error
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for this report. Does this error appear when not mounting through nautilus (Places)? I have not seen the error, using Xubuntu Lucid with SSHFS manually run to mount my 12 directories.

Changed in sshfs-fuse (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
tave (tave) wrote :

I get the error via nautilus

if i try "sudo mount /media/server" i get "read: Connection reset by peer"

my fstab entry is: sshfs#<email address hidden>:/media/data /media/server fuse users,rw,noauto 0 0

maybe its a configproblem

the command "sshfs <email address hidden>:/media/data /media/server/" works well

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

tave: I think you might be seeing a different bug, bug 243298. Try using

sshfs#<email address hidden>:/home/user /mnt/sshdisk fuse user,noauto,fsname=sshfs#<email address hidden>:/home/user 0 0

(this is supposed to be one line in fstab)

If this works, you have that bug instead.

As for this bug, I have attempted to reproduce this issue in Nautilus using Ubuntu Lucid Beta1, dated 2010-03-17.1 and cannot get the error. Could you please give me step-by-step instructions if you can reproduce it.

Revision history for this message
strangedata (rcteigao) wrote :

Indeed, adding fsname to my fstab entry solved both the mounting and unmounting problems.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

I have attempted to reproduce this issue in Nautilus using Ubuntu Lucid and cannot get the error. Could you please give me step-by-step instructions if you can reproduce it.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in sshfs-fuse (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Ash Kyd (k-launchpad-kyd-com-au) wrote :

I can reproduce this bug by:

# Add the following line to my fstab: sshfs#ash@10.0.2.4:/media/Backups/ash /media/Backups fuse user,noauto,reconnect,nonempty 0 0
# Click the entry "Backups" in the Nautilus "Computer" place.

Actual result:
# Nautilus waits to connect to the server, displaying the message "Opening 'Backups'. You can stop this operation by clicking cancel."
# Another icon with the same name "Backups" appears in the "Computer" place. The second icon contains the desired remote filesystem.
# Eventually Nautilus times out with the message "Unable to mount location. Timeout waiting for mount to appear"

Desired result:
The mountpoint should mount under the first icon instead of creating another.

Solution:
The solution is to add the following option to the fstab line: fsname=sshfs#ash@10.0.2.4:/media/Backups/ash

This appears to tell Nautilus that the mounted filesystem and the fstab entry are the same item, and makes clicking the unmounted filesystem mount in the right place instead of creating another icon. I'm not sure if this is merely a configuration error or truly a bug, but I thought I'd provide the workaround here, because it's truly frustrating.

I have attached a screenshot of this taking place.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.