0

I want to extend my server's local disk on Debian 6.0 by mounting a remote file system.

But I don't want to have this remote file system to occupy (too much) local disk space, for instance with caches etc.

On my remote server which offers the additional disk space I have access to protocols like WebDAV, xFTPx, SMB/CIFS, SCP.

I tried davfs2, but it seems that this is copying the files between the client and server (like Dropbox does), which I want to avoid.

2

WebDAV.

You can use it with small cache.

change your /etc/davfs2/davfs2.conf

...
cache_dir       /var/cache/davfs2 # system wide cache
cache_size      1                # MiByte

and you will able to upload any file to webdav storage and you can copy from webdav dir any files.

I have a VPS with 2gb drive space. And using 10gb webdav folder with it.

1

I would recommend sshfs. So many online examples: https://wiki.archlinux.org/index.php/sshfs

Something like:

$ sshfs bob@myserver:/home/bob /mnt/bob 

Not the answer you're looking for? Browse other questions tagged or ask your own question.