Tag Info

Hot answers tagged

24

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


23

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


21

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

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


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.


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

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


3

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


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


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

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

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

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

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

Okay, got it. user=... in the options and it works.


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

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

fuseext2 apparently will mount ext4 partitions read-write. Caveat: ext4 support is not advertised in their documentation, and attempts to mount come with a warning: This is experimental code, opening rw a real file system could be dangerous for your data. Please add "-o ro" if you want to open the file system image in read-only mode, or "-o rw+" if you ...


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

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


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

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

They only way I've seen is via this ZDnet article.



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