s3 bucket support in Unraid


pho3nix

Recommended Posts

Recently i checkout a video on youtube about QuTScloud a QNAP cloud NAS OS. Basicaly is a QNAP in public NAS using S3 compatible support you can install in any public cloud or  in your Unraid (for example) using VMS, problem of that is $11.99 month.

 

I checked a similar solution for Unraid but not founded. But I founded this link https://tecadmin.net/mount-s3-bucket-centosrhel-ubuntu-using-s3fs/

 

My ideia is try implement this solution in Unraid directly in terminal and connect  to mount mnt/disks and try use like a disk. I don't know if possible and how to do this similar commands in terminal?

Edited by pho3nix
Link to comment

I founded a solution based on that link, here complete tutorial

 

In terminal:

 

cd /tmp

wget --no-check-certificate https://slack.conraid.net/repository/slackware64-current/s3fs-fuse/s3fs-fuse-1.88-x86_64-1cf.txz

upgradepkg --install-new s3fs-fuse-1.88-x86_64-1cf.txz

echo AWS_ACCESS_KEY_ID:AWS_SECRET_ACCESS_KEY > ~/.passwd-s3fs

chmod 600 ~/.passwd-s3fs

mkdir /tmp/cache /s3mnt

chmod 777 /tmp/cache /s3mnt

s3fs -o use_cache=/tmp/cache mydbbackup /s3mnt

 

where mydbbackup is bucket name

 

I making tests if can share this shares inside Unraid, notify when have more informations.

 

1. Notification:

Add symbolic link to a disk1 this can show a s3-nas folder inside unraid folder struct can see and can download file.

 

In terminal:

ln -s /s3mnt/ /mnt/disk1/s3-nas

 

 

 

 

 

 

 

 

Edited by pho3nix
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.