Hot answers tagged fuse
10
I've found the answer myself. The problem was that I didn't use the option allow_other.
sshfs -o allow_other -o kernel_cache -o auto_cache -o reconnect \
-o compression=no -o cache_timeout=600 -o ServerAliveInterval=15 \
xxx@yyy.yyy.yyy.yyy:/mnt/content /home/xxx/path_to/content
To use this option you have to set the option user_allow_other in ...
8
It's a virtual filesystem, used by gnome. It doesn't implement everything stat() wants to get so it returns an error. Here is a quote from Fedora mailing list about a similar problem:
The issue is that when the user is
logged in, fuse creates a memory
resident filesystem interpreted by the
user process.
This user process doesn't implement
...
7
Autossh automatically reconnects ssh sessions when it notices ssh has died or stopped passing traffic. Since it is just automated ssh, it will work from different IP's and from suspend (even if the laptop wakes up on a different lan).
5
One thing you could do is mount your filesystems via autofs. Autofs is a tool that will mount a filesystem when you to use something in the directory that the filesystem will be mounted to. When it detects activity the filesystem is mounted. When nothing is happening on the filesystem is it unmounted.
Here is a howto I found on google to accomplish this, ...
4
Follow the Ubuntu RcLocalHowto to create /etc/init.d/local, and then put your command in that file. The mount will then happen automatically on boot.
To test, invoke /etc/init.d/local manually on the command line (as root). You should see that causes the mount to occur.
EDIT: doing the mount from /etcd/fstab should work fine too, according to the s3fs ...
3
I have used FUSE with both sshfs and HDFS. sshfs seems to be very reliable, I've not seen a panic or hard crash at all. HDFS otoh has caused numerous crashes. This was investigated tuned, so long as we don't see heavy usage of hdfs everything is stable.
I've seen sshfs's host systems disappear with no ill effects. HDFS caused all kinds of problems. This ...
2
It appears (correct me if I'm wrong) that you're considering installing FUSE-sshfs on your server. You might be confused about the way it works: FUSE-sshfs should be installed on client machines. The server does need any more than it already has: the SSH server.
The "potential for a FUSE mount to destabilize a Linux server" is "some".
It will pay to ...
2
This is similar to what happens when you delete a file that another system has open on a NFS mount. The problem is that the file has been removed from the filesystem while its "link count" was >0, meaning that other processes are still holding it open.
Log in to the system where the file physically resides. (no network mount)
Execute lsof ...
2
I'm curious as to where your rsync errors are coming from. Do a "grep s3fs /var/log/syslog" or "grep s3fs /var/log/messages" to try to uncover internal error conditions. You can report these as an issue at http://code.google.com/p/s3fs/issues/list for potential help. If these messages imply a connectivity issue, then there isn't much that can be done.
2
I suspect there isn't, because even if you can configure your SSH client not to drop the connection, the server might be configured to do so after a specified period of inactivity, and you wouldn't be able to override that. Even if you could, if you never resume the connection, the server would be left hanging, and over time that could lead to a significant ...
2
I've been looking into this myself. There are a couple of WebDAV servers for App Engine:
gae-appengine (Java); and
gaedav (Python)
I haven't tried either of these, and there isn't a lot of documentation for either of them, so I don't have a lot of information. But if you can run a WebDAV server on App Engine, it should be easy to mount it from Windows.
2
Okay isn't this always how it works... Just as I submitted this question, a dim light bulb went off in my head and I remembered something about the pty terminal Fabric uses causing problems every now and then. Found this is in the Fabric docs for run():
You may pass pty=False to forego
creation of a pseudo-terminal on the
remote end in case the ...
2
Did you install the dkms and dkms-fuse package? That is probably what you are missing. The fuse package just has the userspace tools, so I am not sure why it does not depend on dkms-fuse.
DKMS is a system for automatically rebuilding external kernel modules when your kernel is updated. It is also used for some nvidia kernel modules. You will also need ...
2
There is now a native linux port of ZFS. I only learned of this recently, and as such have not had a chance to test it. It is under active development, though, which is a good sign. It's probably worth trying, as long as you're not scared off by having to compile the kernel module and tools for yourself.
If you can get it working, it will, without a doubt, ...
2
I know this thread is ancient, but things have changed quite a bit since then. (E.g. the state of ZFS-FUSE and in-kernel options, the arguable disappearance of "Open" Solaris, etc.)
First of all, the kernel port of ZFS won't necessarily perform much better than ZFS-FUSE "without a doubt". That reply seems to echo the common misconception that FUSE ...
1
Instead of Solaris 10, Linux/ZFS-fuse or FreeBSD, I would use the latest dev opensolaris build (build 134 as of today) which has the more up to date ZFS code included to diagnose what the issue might be.
Please post the output of "zfs get all 'invisible-filesystem'" to see what property might prevent some of them to show up.
1
Zoredache is correct, however you can obfuscate the ftp servers a bit... and hope nobody looks too closely at the link.
There's no way to really hide the connection made to another server. At best, you can setup DNS entries to the IP of the device... and provide links like "ftp://user:password@dnsname.yourwebdomain.tld".
I honestly can't think of any ...
1
Use a udev rule to create the special file with mode 777. Create a new file /etc/udev/rules.d/99-fuse.rules with the following contents.
KERNEL==fuse, MODE=0777
As for the group membership problem, did you add the user to the group after puppet was started? If so, restarting puppet would likely fix the issue.
1
In the Azouk infrastructure we also use OpenVZ and Glusterfs, but don't give VPSes sys_admin privileges.
If you feel uncomfortable giving sys_admin privileges to every VPS mounting Gluster — and most Admins probably do — you can slightly alter GlusterFS source code so that it stores its xattrs in unprivileged namespace:
find . -regex '.*/[^/]*\.[ch]' -exec ...
1
you can find i386 rpm in: http://rpm.vitki.net/pub/centos/5/i386/fuse-2.8.5-99.vitki.01.el5.i386.rpm
the src rpm is in: http://rpm.vitki.net/pub/SRPMS/fuse-2.8.5-99.vitki.01.el5.src.rpm
in case you will need to build it to x86_64...
a little how to build from source...
1
By default, sshfs caches things for 20 seconds, use -o cache_timeout=N to change the default cache timeout (in seconds) or -o cache=no for disabling the cache.
You can also control cache timeouts for directory listing etc with -o cache_stat_timeout=N, -o cache_dir_timout=N, and -o cache_link_timout=N.
also u can use system-wide cache
-o kernel_cache
1
I don't think defining FUSE_HOME would help. The important lines are
[exec] /usr/bin/ld: fuse_stat_struct.o: undefined reference to symbol 'ceil@@GLIBC_2.2.5'
[exec] /usr/bin/ld: note: 'ceil@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
[exec] /lib64/libm.so.6: could not read symbols: Invalid operation
...
1
Generally your OpenVZ provider only needs to enable the FUSE device /dev/fuse for your container. This is handled more-or-less the same way enabling TUN/TAP support is. Just open a ticket to the provider to have them enable it.
Or if you want things to work out of the box, skip OpenVZ (how do I hate thee, let me count the ways) and use Xen or KVM.
1
Assuming you're committing to a bare/shared repo, it's pretty straightforward to add a post-receive hook to ssh to each server, cd to the appropriate directory, and run a git pull.
#!/bin/bash
for node in $(cat nodelist)
do
ssh $node "cd /path/do/working/directory && git pull"
done
If you want to clobber any changes someone may have made ...
1
Yes, you can re-export an NFS share.
It's generally a Bad Idea™, though - first from a performance viewpoint (that's a lot fo traffic in-out-in-out on the same wire, and second from a reliability standpoint (if your machine has issues, or if the originating server has issues, or NIS/LDAP problems, etc etc).
Might there be another method you could ...
1
JungleDisk does this on Windows and Linux, providing a shared network drive that's mapped onto Amazon S3 or Rackspace Cloud Files, and also acts as a cloud backup service. It caches some files on the local disk so the network drive is not always as slow as the cloud storage service.
JungleDisk does have some known security problems - in particular it ...
1
As a starter answer.. I would suggest the following.
1) sshfs doesn't require access to the /etc/fstab, so if you can map your webdav users onto linux users with similar file structure, then that is a simple alternative.
Then you can use non-root syntax like this to mount within your local home directory;
sshfs -o ControlPath=none -o workaround=rename -o ...
1
I was able to use wdfs to make it work as a non priv. user:
wdfs <dav url> <mount point>
To unmount
fusermount -u <mount point>
wdfs is from here and uses fuse.
I use Archlinux and this AUR package worked fine
1
Try stopping the glusterfs service, first on the second node, then on the first node.
For Ubuntu, the command is:
sudo/etc/init.d/glusterfs stop
Alternatively, remove the glusterfs service from startup on both machines and reboot both. The partitions shouldn't mount on boot then, as glusterfs does this job.
Only top voted, non community-wiki answers of a minimum length are eligible
