storage

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

S3 stoage under Linux / Ubuntu

Install CLI client
apt install -y s3cmd

Configuration file
s3cmd --configure
${HOME}/.s3cfg

Commands
s3cmd mb s3://buk1
s3cmd put /tmp/1m.img s3://buk1
s3cmd ls s3://buk1
s3cmd du
s3cmd rm s3://buk1/1m.img
s3cmd rb s3://buk1
s3cmd rb s3://buk1 --recursive

s3cmd rm s3://lfs/ --recursive --force

# acl
s3cmd setacl s3://bucket/path/to/file --acl-public
s3cmd info s3://bucket/path/to/file
s3cmd setacl s3://bucket/path/to/file --acl-private

Ansible

Ceph

ceph status
ceph health detail
ceph df detail

Syndicate content