Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Mounting a s3ql file system to the S3 compatible file system at Softlayer on an Ubuntu 16 Xenial VSI
- apt install s3ql
- nano /etc/s3ql.authinfo
- [softlayer-s3]
- backend-login: somelogin
- backend-password: thatreallybigkeything
- storage-url: s3c://s3-api.us-geo.objectstorage.service.networklayer.com
- chmod 600 /etc/s3ql.authinfo
- mkfs.s3ql --force --plain --cachedir=/var/cache/s3ql/mounthing/ --authfile=/etc/s3ql.authinfo s3c://s3-api.us-geo.objectstorage.service.networklayer.com/mounthing
- mkdir /mnt/mounthing
- chown 777 /mnt/mounthing
- /etc/systemd/system/s3ql-mounthing.service
- [Unit]
- Description=mount s3ql mounthing filesystem
- Wants=network-online.target
- After=network-online.target
- Conflicts=shutdown.target
- [Service]
- ExecStart=/usr/bin/mount.s3ql --fg --log=/var/log/s3ql/mounthing.log --cachedir=/var/cache/s3ql/mounthing/ --authfile=/etc/s3ql.authinfo --cachesize=976563 --allow-other --compress=none s3c://s3-api.us-geo.objectstorage.service.networklayer.com/mounthing /mnt/mounthing
- ExecStop=/usr/bin/umount.s3ql /mnt/mounthing
- TimeoutStopSec=infinity
- [Install]
- WantedBy=multi-user.target
- systemctl enable s3ql-mounthing
Add Comment
Please, Sign In to add comment