Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add s3fuse examples like setting file, command line

  • Loading branch information...
commit 328c7350237d751b250d53eca0fa94ff19e4402d 1 parent f535a65
@mocchira mocchira authored
Showing with 224 additions and 0 deletions.
  1. +224 −0 leofs_clients/survey/s3fuse/README.md
View
224 leofs_clients/survey/s3fuse/README.md
@@ -0,0 +1,224 @@
+Command line example
+====================
+
+```
+ s3fuse -f -v10 -o allow_other,uid=504,gid=500 /mnt/s3fs
+```
+
+s3fuse.conf example
+===================
+
+```
+ # s3fuse.conf
+ # configuration file for s3fuse(1) 0.15
+
+ # REQUIRED PARAMETERS
+ # ###################
+
+ # name: bucket_name, type: std::string
+ # description: bucket name
+ # default:
+ bucket_name=bbb
+
+ # name: service, type: std::string
+ # description: specifies the service to use -- must be one of the enabled services listed by 's3fuse -V'
+ # default:
+ service=aws
+
+ # AWS S3
+ # ######
+
+ # name: aws_secret_file, type: std::string
+ # description: path to file containing AWS Access Key ID followed by a space followed by AWS Secret Access Key; file must not be group- or world-readable or -writable
+ # default:
+ aws_secret_file=/home/leofs/dev/aws.conf
+
+ # name: aws_service_endpoint, type: std::string
+ # description: service endpoint for Amazon AWS (change to 's3-eu-west-1.amazonaws.com' for EU buckets)
+ # default: s3.amazonaws.com
+ aws_service_endpoint=intel12:8080
+
+ # name: aws_use_ssl, type: bool
+ # description: set to 'no'/'false' to disable SSL
+ # default: true
+ aws_use_ssl=false
+
+ # GOOGLE STORAGE
+ # ##############
+
+ # name: gs_token_file, type: std::string
+ # description: path to token file generated by s3fuse_gs_get_token(1); file must not be group- or world-readable or -writable
+ # default:
+ #gs_token_file=
+
+ # FV/S
+ # ####
+
+ # name: fvs_secret_file, type: std::string
+ # description: path to file containing FV/S Access Key ID followed by a space followed by FV/S Secret Access Key; file must not be group- or world-readable or -writable
+ # default:
+ #fvs_secret_file=
+
+ # name: fvs_service_endpoint, type: std::string
+ # description: service endpoint for IIJ FV/S
+ # default: gss.iijgio.com
+ #fvs_service_endpoint=
+
+ # name: fvs_use_ssl, type: bool
+ # description: set to 'no'/'false' to disable SSL
+ # default: true
+ #fvs_use_ssl=
+
+ # ENCRYPTION
+ # ##########
+
+ # name: use_encryption, type: bool
+ # description: encryption/decryption support will be enabled if set to 'true'/'yes'
+ # default: false
+ #use_encryption=
+
+ # name: volume_key_id, type: std::string
+ # description: volume key identifier (required if use_encryption is 'true'/'yes')
+ # default:
+ #volume_key_id=
+
+ # name: encrypt_new_files, type: bool
+ # description: all newly-created files will be encrypted if set to 'true'/'yes'
+ # default: true
+ #encrypt_new_files=
+
+ # name: volume_key_file, type: std::string
+ # description: name of file containing hex-encoded volume key. will prompt for password if blank.
+ # default:
+ #volume_key_file=
+
+ # GLACIER
+ # #######
+
+ # name: allow_glacier_restores, type: bool
+ # description: set to 'true'/'yes' to enable glacier object restores
+ # default: false
+ #allow_glacier_restores=
+
+ # STATISTICS
+ # ##########
+
+ # name: stats_file, type: std::string
+ # description: write statistics on various operations and exceptions to specified file if set
+ # default:
+ #stats_file=
+
+ # DEFAULT OBJECT ATTRIBUTES
+ # #########################
+
+ # name: default_uid, type: int
+ # description: UID for files in S3 that don't have a UID set (defaults to process effective UID)
+ # default: UID_MAX
+ #default_uid=
+
+ # name: default_gid, type: int
+ # description: GID for files in S3 that don't have a GID set (defaults to process effective GID)
+ # default: GID_MAX
+ #default_gid=
+
+ # name: default_mode, type: int
+ # description: mode for files in S3 that don't have a mode set
+ # default: 0755
+ #default_mode=
+
+ # name: default_cache_control, type: std::string
+ # description: default Cache-Control header (can be overriden with per-object extended attribute)
+ # default:
+ #default_cache_control=
+
+ # CACHE PARAMETERS
+ # ################
+
+ # name: cache_expiry_in_s, type: int
+ # description: time in seconds before objects in stats cache expire
+ # default: 3 * 60
+ #cache_expiry_in_s=
+
+ # name: cache_directories, type: bool
+ # description: cache directory listings if set to 'true'/'yes'
+ # default: false
+ #cache_directories=
+
+ # name: max_objects_in_cache, type: int
+ # description: maximum number of objects to hold in cache
+ # default: 1000
+ #max_objects_in_cache=
+
+ # name: precache_on_readdir, type: bool
+ # description: precache object attributes when listing directory contents (improves performance in interactive use); set to 'no'/'false' to disable
+ # default: true
+ precache_on_readdir=false
+
+ # MIME
+ # ####
+
+ # name: default_content_type, type: std::string
+ # description: MIME type for newly-created objects
+ # default: binary/octet-stream
+ #default_content_type=
+
+ # name: auto_detect_mime_type, type: bool
+ # description: set file content type based on extension
+ # default: true
+ #auto_detect_mime_type=
+
+ # UPLOADS/DOWNLOADS
+ # #################
+
+ # name: download_chunk_size, type: size_t
+ # description: download chunk size in bytes
+ # default: 128 * 1024
+ #download_chunk_size=
+
+ # name: upload_chunk_size, type: int
+ # description: override default upload chunk size (in bytes) (-1: use service default; 0: disable multipart uploads)
+ # default: -1
+ #upload_chunk_size=
+
+ # name: max_transfer_retries, type: int
+ # description: maximum number of times a chunk transfer will be retried before failing
+ # default: 5
+ #max_transfer_retries=
+
+ # name: transfer_timeout_in_s, type: int
+ # description: transfer timeout in seconds; should be long enough to transfer download_chunk_size/upload_chunk_size
+ # default: 5 * 60
+ #transfer_timeout_in_s=
+
+ # name: max_parts_in_progress, type: int
+ # description: maximum number of file chunks that should be transferred at a time
+ # default: 4
+ #max_parts_in_progress=
+
+ # DEBUG
+ # #####
+
+ # name: verbose_requests, type: bool
+ # description: set CURLOPT_VERBOSE (enable verbosity in libcurl) if 'yes'/'true'
+ # default: false
+ #verbose_requests=
+
+ # TIMEOUTS
+ # ########
+
+ # name: request_timeout_in_s, type: int
+ # description: request timeout in seconds (for all HTTP requests besides transfers)
+ # default: 30
+ #request_timeout_in_s=
+
+ # name: timeout_retries, type: int
+ # description: number of times to retry a request that times out (if zero; don't retry)
+ # default: 5
+ #timeout_retries=
+
+ # name: max_inconsistent_state_retries, type: int
+ # description: number of times to retry an operation if an inconsistent state is encountered (must be >= 2)
+ # default: 10
+ #max_inconsistent_state_retries=
+```
+
Please sign in to comment.
Something went wrong with that request. Please try again.