Remote storage mount command backwards
In Remote storage (S3), the arguments for the mount
command are backwards. The Bind mount operation
section of man mount.8
shows the following example:
Bind mount operation
Remount part of the file hierarchy somewhere else. The call is:
mount --bind olddir newdir
or by using this fstab entry:
/olddir /newdir none bind
After this call the same contents are accessible in two places.
In this situation, olddir
would be the S3 bucket (or another mass storage device) and newdir
would be, for example, /var/www/peertube/storage/videos
.