jan1
Intern
Intern
  • UID5455
  • Fans0
  • Follows0
  • Posts2
Reads:275Replies:2

s3ql mount OSS

Created#
More Posted time:Apr 9, 2018 21:44 PM
I just defined my first bucket and created an API key. Now I can't find any documentation about configuring the s3ql client-configuration.


Is s3ql supported?
How can i construct the backend login ,password, storage-url?



--
Rgds, Jan.

jan1
Intern
Intern
  • UID5455
  • Fans0
  • Follows0
  • Posts2
1st Reply#
Posted time:Apr 12, 2018 0:11 AM
s3ql mount OSS --> Sloved
I found a solution.

1. Mount the bucket using ossfs (see https://github.com/aliyun/ossfs)
   # ossfs -f <bucketname> <mountpoint> -ourl=oss-eu-central-1.aliyuncs.com

2. Create a folder on the mounter oss filesystem
   # mkdir <mountpoint>/<folder>

3. Create a local s3ql filesystem on the newly created folder
   # mkfs.s3ql --authfile <credentialfile> local://<mountpoint>/<folder>

4. Mount the s3ql filesystem
    # mount.s3ql --allow-other --cachesize 100000 --cachedir /var/cache/s3ql --authfile <credentialfile> local://<mountpoint>/<folder>  /mnt/s3ql

Now I can create files that are cached and encrypted locally and stored remotely.
Being able to encrypt/decrypt on the client guarantees the confidentiality of the stored data..

shhanshan
Forum Moderator
Forum Moderator
  • UID105
  • Fans4
  • Follows0
  • Posts343
2nd Reply#
Posted time:Apr 16, 2018 17:34 PM
I think jan1 solution is good
AlibabaCloud.com
Guest