Tag Info

Hot answers tagged

22

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 >1, meaning that other processes are still holding it open. Log in to the system where the file physically resides. (no network mount) Execute lsof ...


21

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 ...


20

Thanks for the tips of autossh and autofs. However, for my direct purpose I found a much simpler solution which wasn't documented so well: sshfs -o reconnect server:/path/to/mount


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, ...


5

I have two 500GB drives in a zfs-fuse mirror setup on my home NAS (debian lenny). It has been running for almost 6 months now, and I have not had problems. More details here on my blog.


5

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 ...


4

You need to install: fuse-libs: e.g: yum install fuse-libs Check that you got the libs you need and that ldd finds your shared libs with: ldd `which sshfs`


4

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 ...


3

You can test this fairly easily create a tar file tar -cf test.tar this.txt that.txt Get it's inode number for later comparison ls -i test.tar 24903987 test.tar Mount the test.tar archive and delete a file from it archivemount test.tar /mnt/a rm /mnt/a/that.txt ls -i test.tar 24903987 test.tar Note above that the file retains it's original inode ...


3

You can use curlftpfs. See the examples in the page.


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 ...


2

No it is not possible. If you want the client to retrieve it directly they must have a direct link. If you want to hide source then your web server will basically have to act like a proxy.


2

How is your backup script run? Is it possible that it's run from an open shell which hasn't inherited the group membership (since it was running before you added the user to the group)?


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

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

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


2

There's nothing special about a FUSE mount from a benchmarking perspective - it's just a filesystem. Use bonnie, fio, whatever you like.


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

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.


1

Success for my single user setup came in the form of creating the group fuse adding U to the fuse group mounting with mount_afp -o user=U,group=fuse afp://USER:PASSWD@REMOTE_SERVER/FOLDER /mnt/MOUNTPOINT using the uid and guid was not working for me Unknown user 1000 Unknown group 108 these being the correct uids as retrieved from id U permissions ...


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

FunionFS is available both on Fedora and in Red Hat EPEL. The package name, of course, is funionfs.


1

Build a kernel with aufs support We will start with installing dependacies required to compile kernel yum install gcc rpmbuild glibc-static git git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git git clone http://git.code.sf.net/p/aufs/aufs3-standalone cd linux-2.6 git checkout v3.8 cd .. patch -d linux-2.6 -p1 < ...



Only top voted, non community-wiki answers of a minimum length are eligible