Linux S3FS实用程序无法与StorageGRID存储分段连接
适用场景
- StorageGRID 11.6.
- S3FS实用程序
- Ubuntu或Redhat Linux
问题描述
将存储分段挂载到Linux系统时、s3fs实用程序失败、并显示以下内容:
sudo s3fs exxx /home/ubuntu/testS3MOUNT/mytenant -o url=https://x.x.x.x:10444 -o no_check_certificate -o use_path_request_style -o passwd_file=~/.passwd-s3fs -d -d -f -o dbglevel=info -o curldbg
sudo s3fs electronic-name /home/ubuntu/testS3MOUNT/mytenant -o url=https://x.x.x.x:10444 -o no_check_certificate -o use_path_request_style -o passwd_file=~/.passwd-s3fs -d -d -f -o dbglevel=info -o curldbg
2023-06-01T05:31:58.029Z [INF] s3fs version 1.90(unknown) : s3fs -o url=https://x.x.x.x:10444 -o no_check_certificate -o use_path_request_style -o passwd_file=/home/ubuntu/.passwd-s3fs -d -d -f -o dbglevel=info -o curldbg electronic-name /home/ubuntu/testS3MOUNT/mytenant
2023-06-01T05:31:58.030Z [CRT] s3fs_logger.cpp:LowSetLogLevel(240): change debug level from [CRT] to [INF]
2023-06-01T05:31:58.030Z [INF] s3fs.cpp:set_mountpoint_attribute(4093): PROC(uid=0, gid=0) - MountPoint(uid=1000, gid=1000, mode=40775)
2023-06-01T05:31:58.033Z [INF] curl.cpp:InitMimeType(434): Loaded mime information from /etc/mime.types
2023-06-01T05:31:58.034Z [INF] fdcache_stat.cpp:CheckCacheFileStatTopDir(79): The path to cache top dir is empty, thus not need to check permission.
FUSE library version: 2.9.9
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 2, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.34
flags=0x33fffffb
max_readahead=0x00020000
2023-06-01T05:31:58.044Z [INF] s3fs.cpp:s3fs_init(3382): init v1.90(commit:unknown) with GnuTLS(gcrypt)
2023-06-01T05:31:58.044Z [INF] s3fs.cpp:s3fs_check_service(3516): check services.
2023-06-01T05:31:58.044Z [INF] curl.cpp:CheckBucket(3388): check a bucket.
2023-06-01T05:31:58.044Z [INF] curl_util.cpp:prepare_url(254): URL is https://x.x.x.x:10444/exxx/
2023-06-01T05:31:58.045Z [INF] curl_util.cpp:prepare_url(287): URL changed is https://x.x.x.x:10444/exxx/
2023-06-01T05:31:58.045Z [INF] curl.cpp:insertV4Headers(2680): computing signature [GET] [/] [] []
2023-06-01T05:31:58.045Z [INF] curl_util.cpp:url_to_host(331): url is https://x.x.x.x:10444
2023-06-01T05:31:58.046Z [CURL DBG] * Trying x.x.x.x:10444...
2023-06-01T05:31:58.047Z [CURL DBG] * Connected to x.x.x.x (x.x.x.x) port 10444 (#0)
2023-06-01T05:31:58.080Z [CURL DBG] * found 411 certificates in /etc/ssl/certs
2023-06-01T05:31:58.080Z [CURL DBG] * GnuTLS ciphers: NORMAL:-ARCFOUR-128:-CTYPE-ALL:+CTYPE-X509:-VERS-SSL3.0
2023-06-01T05:31:58.083Z [CURL DBG] * SSL connection using TLS1.3 / ECDHE_RSA_AES_256_GCM_SHA384
2023-06-01T05:31:58.084Z [CURL DBG] * server certificate verification SKIPPED
2023-06-01T05:31:58.084Z [CURL DBG] * server certificate status verification SKIPPED
2023-06-01T05:31:58.085Z [CURL DBG] * SSL: certificate subject name (StorageGRID) does not match target host name 'x.x.x.x'
2023-06-01T05:31:58.085Z [CURL DBG] * Closing connection 0
2023-06-01T05:31:58.087Z [ERR] curl.cpp:RequestPerform(2455): ### CURLE_SSL_CACERT