s3fs + s3browser 测试 Ceph 对象存储

  • 原创
  • Madman
  • /
  • /
  • 0
  • 8194 次阅读

Synopsis: 搭建好 Ceph S3 RadosGW 对象存储后,可以在 Linux 上安装 s3fs 或者在 Windows 上安装 S3 Browser 简单测试一下对象存储的连通性

1. 客户端编译安装 s3fs

1.1 准备依赖环境

[root@client ~]# yum install automake fuse-devel gcc-c++ git libcurl-devel libxml2-devel make openssl-devel -y

1.2 获取源码包

[root@client ~]# git clone https://github.com/s3fs-fuse/s3fs-fuse.git

1.3 编译

[root@client ~]# cd s3fs-fuse
[root@client ~]# ./autogen.sh
[root@client ~]# ./configure
[root@client ~]# make && make install

2. 使用 s3fs 将 bucket 挂载为本地目录

2.1 在对象网关节点,查看 radosgw 用户信息和 bucket 信息

[root@vsm-node1 ~]# radosgw-admin user info --uid=testuser
{
    "user_id": "testuser",
    "display_name": "First User",
    "email": "",
    "suspended": 0,
    "max_buckets": 1000,
    "auid": 0,
    "subusers": [],
    "keys": [
        {
            "user": "testuser",
            "access_key": "X1HBIMWFU0ERR69SDC0Q",
            "secret_key": 
                                
                            
分类: Ceph
标签: RadosGW S3 Browser s3fs Ceph S3
  • katarina
  • malaree
  • willliam
  • leahrose
  • jeniya
  • cloretta
  • ilkhamiya
  • coral
  • jerrah
  • raniah
  • adhemar
  • skylah
  • martinjr
  • stefannie
  • milasia
  • deajah
  • lamontay
  • shaquna
  • cailynn
  • abhilash
  • eldredge
  • ehaan
  • wrylee
  • suliana
未经允许不得转载: LIFE & SHARE - 王颜公子 » s3fs + s3browser 测试 Ceph 对象存储

分享

作者

作者头像

Madman

如需 Linux / Python 相关问题付费解答,请按如下方式联系我

0 条评论

暂时还没有评论.

专题系列