FUSE-based file system backed by Amazon S3
Go to file
ggtakec@gmail.com cd21f567a1 Summary of Changes(1.68 -> 1.69)
==========================
List of Changes
==========================
1) Fixes a bug - r418, r419
   Fixed a bug that s3fs failed to get stats when the max_stat_cache_size option was specified 0.

2) Fixed a bug( Issue 291) - r420
   Fixes ( Issue 291 ) "Man file has wrong permissions for passwd file",  
   then changes man page.
   Checks passwd file permission strictly.
   Fixes a bug that s3fs continued to run after finding invalid passwd file 
   permission.

3) Added enable_noobj_cache option for no-existing object - r420, r421
   Adds enable_noobj_cache option(default disable) for performance.
   This option is specified, s3fs memorizes in stat cache that the object
   (file or directory) does not exist.

4) Fixed a bug( Issue 240 ) - r421
   Fixes ( Issue 240 ) "Cannot Mount Path in Bucket".
   Changes man page.

5) Supported s3sync'ed object( Issue 31 ) - r422
   Supports HTTP headers which made by s3sync.
   It means that s3fs supported HTTP headers are x-amz-meta-owner, 
   x-amz-meta-permissions and x-amz-meta-group.

6) Added enable_content_md5 option - r423
   Adds enable_content_md5 option(default disable).
   If "enable_content_md5" option is specified, s3fs puts the object with 
   "Content-MD5" header when s3fs sending small object(under 20MB).

7) Supported uid/gid option - r424
   Supports uid/gid mount(fuse) option.




git-svn-id: http://s3fs.googlecode.com/svn/trunk@425 df820570-a93a-0410-bd06-b72b767a4274
2013-05-16 06:46:35 +00:00
doc Added enable_content_md5 option 2013-05-16 02:02:55 +00:00
src Supported uid/gid options 2013-05-16 04:53:30 +00:00
test For v1.64 2013-03-23 14:16:18 +00:00
.gitignore .gitignore 2013-02-08 15:52:44 +00:00
AUTHORS Simplified s3fs_check_service 2011-08-25 16:34:10 +00:00
autogen.sh In preparation to remove the unnecessary "s3fs" 2010-11-13 23:59:23 +00:00
ChangeLog In preparation to remove the unnecessary "s3fs" 2010-11-13 23:59:23 +00:00
configure.ac Summary of Changes(1.68 -> 1.69) 2013-05-16 06:46:35 +00:00
COPYING In preparation to remove the unnecessary "s3fs" 2010-11-13 23:59:23 +00:00
INSTALL In preparation to remove the unnecessary "s3fs" 2010-11-13 23:59:23 +00:00
Makefile.am Adding a dist-hook to remove .svn directories from things in EXTRA_DIST. 2011-02-21 19:56:00 +00:00
NEWS In preparation to remove the unnecessary "s3fs" 2010-11-13 23:59:23 +00:00
README Support for mounting a remote directory (issue #7). 2011-06-26 00:37:52 +00:00

THIS README CONTAINS OUTDATED INFORMATION - please refer to the wiki or --help

S3FS-Fuse

S3FS is FUSE (File System in User Space) based solution to mount/unmount an Amazon S3 storage buckets and use system commands with S3 just like it was another Hard Disk.

In order to compile s3fs, You'll need the following requirements:

* Kernel-devel packages (or kernel source) installed that is the SAME version of your running kernel
* LibXML2-devel packages
* CURL-devel packages (or compile curl from sources at: curl.haxx.se/ use 7.15.X)
* GCC, GCC-C++
* pkgconfig
* FUSE (>= 2.8.4)
* FUSE Kernel module installed and running (RHEL 4.x/CentOS 4.x users - read below)
* OpenSSL-devel (0.9.8)
* Subversion

If you're using YUM or APT to install those packages, then it might require additional packaging, allow it to be installed.

Downloading & Compiling:
------------------------
In order to download s3fs, user the following command:
svn checkout http://s3fs.googlecode.com/svn/trunk/ s3fs-read-only

Go inside the directory that has been created (s3fs-read-only/s3fs) and run: ./autogen.sh
This will generate a number of scripts in the project directory, including a configure script which you should run with: ./configure
If configure succeeded, you can now run: make. If it didn't, make sure you meet the dependencies above.
This should compile the code. If everything goes OK, you'll be greated with "ok!" at the end and you'll have a binary file called "s3fs"
in the src/ directory.

As root (you can use su, su -, sudo) do: "make install" -this will copy the "s3fs" binary to /usr/local/bin.

Congratulations. S3fs is now compiled and installed.

Usage:
------
In order to use s3fs, make sure you have the Access Key and the Secret Key handy. (refer to the wiki)
First, create a directory where to mount the S3 bucket you want to use.
Example (as root): mkdir -p /mnt/s3
Then run: s3fs mybucket[:path] /mnt/s3

This will mount your bucket to /mnt/s3. You can do a simple "ls -l /mnt/s3" to see the content of your bucket.

If you want to allow other people access the same bucket in the same machine, you can add "-o allow _other" to read/write/delete content of the bucket.

You can add a fixed mount point in /etc/fstab, here's an example:

s3fs#mybucket /mnt/s3 fuse allow_other 0 0

This will mount upon reboot (or by launching: mount -a) your bucket on your machine.

All other options can be read at: http://code.google.com/p/s3fs/wiki/FuseOverAmazon

Known Issues:
-------------
s3fs should be working fine with S3 storage. However, There are couple of limitations:

* There is no full UID/GID support yet, everything looks as "root" and if you allow others to access the bucket, others can erase files. There is, however, permissions support built in.
* Currently s3fs could hang the CPU if you have lots of time-outs. This is *NOT* a fault of s3fs but rather libcurl. This happends when you try to copy thousands of files in 1 session, it doesn't happend when you upload hundreds of files or less.
* CentOS 4.x/RHEL 4.x users - if you use the kernel that shipped with your distribution and didn't upgrade to the latest kernel RedHat/CentOS gives, you might have a problem loading the "fuse" kernel. Please upgrade to the latest kernel (2.6.16 or above) and make sure "fuse" kernel module is compiled and loadable since FUSE requires this kernel module and s3fs requires it as well.
* Moving/renaming/erasing files takes time since the whole file needs to be accessed first. A workaround could be to use s3fs's cache support with the use_cache option.