s3fs with Linode object storage
Does anyone connected to s3fs (the new object storage of linode)
the question is : is this command correct ?
*** command ***
s3fs buket-name /path/to/mount -o passwd_file=/etc/passwd-s3fs/credentials -o url=https://us-east-1.linodeobjects.com/ -o dbglevel=info -f -o curldbg
*** gives this error ***
[CRT] s3fs.cpp:sets3fsloglevel(296): change debug level from [CRT] to [INF]
[INF] s3fs.cpp:setmountpointattribute(4333): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40775)
[INF] s3fs.cpp:s3fsinit(3450): init v1.85(commit:unknown) with OpenSSL
[INF] s3fs.cpp:s3fscheckservice(3794): check services.
[INF] curl.cpp:CheckBucket(3256): check a bucket.
[WAN] curl.cpp:ResetHandle(1855): The CURLOPTSSLENABLEALPN option could not be unset. S3 server does not support ALPN, then this option should be disabled to maximize performance. you need to use libcurl 7.36.0 or later.
[WAN] curl.cpp:ResetHandle(1858): The S3FSCURLOPTKEEPSENDINGONERROR option could not be set. For maximize performance you need to enable this option and you should use libcurl 7.51.0 or later.
[INF] curl.cpp:prepareurl(4510): URL is https://us-east-1.linodeobjects.com/bucket-name/[INF] curl.cpp:prepareurl(4542): URL changed is https://bucket-name.us-east-1.linodeobjects.com/[INF] curl.cpp:insertV4Headers(2593): computing signature [GET] [/] [] []
[INF] curl.cpp:urltohost(102): url is https://us-east-1.linodeobjects.com
About to connect() to bucket-name.us-east-1.linodeobjects.com port 443 (#0)* Trying 104.237.148.145…* Connected to bucket-name.us-east-1.linodeobjects.com (104.237.148.145) port 443 (#0)
Initializing NSS with certpath: sql:/etc/pki/nssdb
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
SSL connection using TLSECDHERSAWITHAES128GCM_SHA256
Server certificate:
subject: CN=linodeobjects.com
start date: Jun 12 15:15:34 2019 GMT
expire date: Sep 10 15:15:34 2019 GMT
common name: linodeobjects.com
issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
GET / HTTP/1.1
User-Agent: s3fs/1.85 (commit hash unknown; OpenSSL)
Accept: /
Authorization: AWS4-HMAC-SHA256 Credential=…..us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date
host: bucket-name.us-east-1.linodeobjects.com
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Mon, 12 Aug 2019 16:58:07 GMT
Connection: close
Closing connection 0
[INF] curl.cpp:RequestPerform(2235): HTTP response code 200
[INF] curl.cpp:ReturnHandler(316): Pool full: destroy the oldest handler
2 Replies
It looks like you're using S3FS/FUSE (File System in User Space) to allow for mounting your Object Storage bucket as a local file system. Linode Object Storage as an additional file storage system is not its intended use case. [EDIT: You can check out these instructions for using S3FS with Object Storage!] The great thing about Object Storage is that it doesn't require attachment to a Linode to operate. If you're looking for more available space for your existing server, you have two options:
Block Storage Volumes
Our Block Storage volumes can be used for storage of data and can be mounted to a Linode. While speed is not the forté of Block Storage, these volumes can hold extensive amounts of data that can be read by your Linode.
Larger Linode Capacity
If you are in need of a way to host your information and process it in the same place, you can resize your Linode to a higher plan. Resizing grants you additional CPU utilization and additional storage space.
Depending on your use case, either of these options may be the best route for you to go. If you have a particular reason for using S3FS, let us know! Object Storage is a new product and we'd love to hear your feedback.