Elite Pete | 2 Apr 2006 12:03
Picon

[sshfs] Free Space Bug

i have SSHFS setup on both of my machines, when i SSHFS from my main
PC to my backup PC it shows the freespace as 7629.4GB i'm sure i don't
have that much freespace, i'm using the newest SSHFS version, any
ideas?

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
Miklos Szeredi | 3 Apr 2006 10:50
Picon

Re: [sshfs] Free Space Bug

> i have SSHFS setup on both of my machines, when i SSHFS from my main
> PC to my backup PC it shows the freespace as 7629.4GB i'm sure i don't
> have that much freespace, i'm using the newest SSHFS version, any
> ideas?

The SFTP protocol doesn't provide a method for retrieving free space
from the server.  So sshfs just sets free space to a fixed huge value.

Miklos

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Heikki Orsila | 6 Apr 2006 21:30
Picon
Picon

[sshfs] timed/counted reconnect

sshfs 1.4 contains a reconnect feature. I could use that feature for 
network load balancing, if it had forced reconnect based on time or byte 
count. I have a server with multiple IPs and I would like to multiplex 
traffic among those IPs. Any of these policies would be useful:

	- reconnect after x bytes of down+up traffic
	- reconnect after 5 minutes of active traffic

sshfs could do round-robin on different hostnames/ips, but it is not 
necessary because I have a port-forwarding tool that does network load 
balancing for multiple IPs:

	http://zakalwe.fi/~shd/foss/shd-tcp-tools

My current scheme uses netcat. sshfs would be much better.

--

-- 
Heikki Orsila			Barbie's law:
heikki.orsila <at> iki.fi		"Math is hard, let's go shopping!"
http://www.iki.fi/shd

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
vmil | 7 Apr 2006 02:11
Picon

[sshfs] fusermount: mount failed: Invalid argument

Hi,
I would like to mount a directory of an other computer into mine and I
constantly get this error
fusermount: mount failed: Invalid argument
I also tried on the same machine but no luck. I'm running debian stable
sarge.
Any suggestions on the source of the problem
Thanks in advance Vasilis

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Lucas Carey | 7 Apr 2006 05:04
Picon

[sshfs] "remote host has disconnected" error message

Hi All,
I'm running Gentoo Linux:
Linux localhost 2.6.16-archck2 #1 PREEMPT Wed Apr 5 03:56:59 EDT 2006 i686 AMD Athlon(tm) XP 3000+
AuthenticAMD GNU/Linux
fuse-2.6.0_pre2 (also tried 2.5.2)
sshfs-1.2, -1.6, and the current CVS
ssh: SSH Secure Shell 3.2.9.1 (non-commercial version) on i686-pc-linux-gnu

Below is an output from the last several lines of strace 'sshfs hostname: mountpoint'
it doesn't matter what I pass sshfs as long is the first arg has a :, I still get the same error (sshfs
'127.0.0.1: /mnt/floppy' yields same result)
passing options (-1 -d) has no effect.
what is going on here?
thanks
-Lucas

---------
getpid()                                = 19374
uname({sys="Linux", node="localhost", ...}) = 0
rt_sigaction(SIGRTMIN, {0x419f3a7c, [], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x419f3af9, [], 0}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x419f3bf7, [], 0}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 8) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbff91744, 38, (nil), 0}) = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, ";j>P", 4)                      = 4
close(3)                                = 0
brk(0)                                  = 0x8054000
brk(0x8075000)                          = 0x8075000
(Continue reading)

Miklos Szeredi | 7 Apr 2006 09:43
Picon

Re: [sshfs] timed/counted reconnect

> sshfs 1.4 contains a reconnect feature. I could use that feature for 
> network load balancing, if it had forced reconnect based on time or byte 
> count. I have a server with multiple IPs and I would like to multiplex 
> traffic among those IPs. Any of these policies would be useful:
> 
> 	- reconnect after x bytes of down+up traffic
> 	- reconnect after 5 minutes of active traffic
> 
> sshfs could do round-robin on different hostnames/ips, but it is not 
> necessary because I have a port-forwarding tool that does network load 
> balancing for multiple IPs:
> 
> 	http://zakalwe.fi/~shd/foss/shd-tcp-tools
> 
> My current scheme uses netcat. sshfs would be much better.

It should not be too hard to implement.  But note, that any
outstanding requests and/or open files are lost on reconnection.

Miklos

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Miklos Szeredi | 7 Apr 2006 09:44
Picon

Re: [sshfs] fusermount: mount failed: Invalid argument

> I would like to mount a directory of an other computer into mine and I
> constantly get this error
> fusermount: mount failed: Invalid argument
> I also tried on the same machine but no luck. I'm running debian stable
> sarge.

Try a fuse version > 2.2.  There are packages for sarge on
www.backports.org.

Miklos

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Miklos Szeredi | 7 Apr 2006 09:46
Picon

Re: [sshfs] "remote host has disconnected" error message

> I'm running Gentoo Linux:
> Linux localhost 2.6.16-archck2 #1 PREEMPT Wed Apr 5 03:56:59 EDT 2006 i686 AMD Athlon(tm) XP 3000+
AuthenticAMD GNU/Linux
> fuse-2.6.0_pre2 (also tried 2.5.2)
> sshfs-1.2, -1.6, and the current CVS
> ssh: SSH Secure Shell 3.2.9.1 (non-commercial version) on i686-pc-linux-gnu
> 
> 
> Below is an output from the last several lines of strace 'sshfs hostname: mountpoint'
> it doesn't matter what I pass sshfs as long is the first arg has a :, I still get the same error (sshfs
'127.0.0.1: /mnt/floppy' yields same result)
> passing options (-1 -d) has no effect.
> what is going on here?

Does 'sftp hostname' work?

Miklos

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Heikki Orsila | 7 Apr 2006 11:36
Picon
Picon

Re: [sshfs] timed/counted reconnect

On Fri, Apr 07, 2006 at 09:43:00AM +0200, Miklos Szeredi wrote:
> It should not be too hard to implement.  But note, that any
> outstanding requests and/or open files are lost on reconnection.

Unfortunately I need it to be reliable. Would there be a way to 
synchronize reconnection points like this:

$ cp file1 /remote/path/
$ syncsshfs /remote/path <reconnection can only happen here if given
                          conditions are true>
$ cp file2 /remote/path/

--

-- 
Heikki Orsila			Barbie's law:
heikki.orsila <at> iki.fi		"Math is hard, let's go shopping!"
http://www.iki.fi/shd

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Lucas Carey | 7 Apr 2006 17:38
Picon

Re: [sshfs] "remote host has disconnected" error message

Yes, sft, scp, ssh all work fine to every host, as well as localhost.                       
from the strace output the program seems to die long before it might be calling anything    
else.                                                                                       
-Lucas       

On Friday, April 07, 2006 at 09:46 +0200, Miklos Szeredi wrote:
> > I'm running Gentoo Linux:
> > Linux localhost 2.6.16-archck2 #1 PREEMPT Wed Apr 5 03:56:59 EDT 2006 i686 AMD Athlon(tm) XP 3000+
AuthenticAMD GNU/Linux
> > fuse-2.6.0_pre2 (also tried 2.5.2)
> > sshfs-1.2, -1.6, and the current CVS
> > ssh: SSH Secure Shell 3.2.9.1 (non-commercial version) on i686-pc-linux-gnu
> > 
> > 
> > Below is an output from the last several lines of strace 'sshfs hostname: mountpoint'
> > it doesn't matter what I pass sshfs as long is the first arg has a :, I still get the same error (sshfs
'127.0.0.1: /mnt/floppy' yields same result)
> > passing options (-1 -d) has no effect.
> > what is going on here?
> 
> Does 'sftp hostname' work?
> 
> Miklos

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
(Continue reading)


Gmane