########################################################################################################### # # One thing to note is that while this works, it doesn't work from multiple simultaneous machines due # to inode numbering issues... # # I believe this is a side-effect of ecryptfs encoding the inode as part of the salt for the filenames. # I have no checked this yet, so please bear with me if my hunch is wrong. # # In addition, s3fs supports its own caching system, but done at the minio level # (assuming only active-passive failover) it allows it to be shared between multiple machines. # # # Why would I want to do this? # # # Writes are actually pretty fast... # # root@nbg03:~# docker run -it -v minio:/root -v `pwd`/test:/root/test minio/mc cp /root/test/test.file wasabi/wwff-backup/ # ...t/test/test.file: 1024.00 MB / 1024.00 MB ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓┃ 100.00% 81.05 MB/s 12s # # Reads not so much... # # root@nbg03:~# docker run -it -v minio:/root -v `pwd`/test:/root/test minio/mc cp wasabi/wwff-backup/test.file . # ...backup/test.file: 1024.00 MB / 1024.00 MB ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓┃ 100.00% 24.26 MB/s 42s # # With the minio gateway doing write-through caching? # # Writes aren't much slower # # root@nbg03:~# docker run -it -v minio:/root -v `pwd`/test:/root/test minio/mc cp /root/test/test.file mys3/wwff-backup/ # ...t/test/test.file: 1024.00 MB / 1024.00 MB ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓┃ 100.00% 76.12 MB/s 14s # # ...and reads? # # root@nbg03:~# docker run -it -v minio:/root -v `pwd`/test:/root/test minio/mc cp mys3/wwff-backup/test.file . # ...backup/test.file: 1024.00 MB / 1024.00 MB ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓┃ 100.00% 753.34 MB/s 1s # # # I believe the term w00t is justified here. # ###########################################################################################################