s3fs + s3browser 测试 Ceph 对象存储

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

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
  • Win dollars click here geroivsedom.blogspot.com OJ
  • Your prize pick up here tutdomirabot.blogspot.com 24
  • Take the money geroivsedom.blogspot.com bu
  • Your prize pick up here tutdomirabot.blogspot.com Wy
  • Take the money berukoperty.blogspot.com DM
  • Take the money tutdomirabot.blogspot.com sb
  • Take your earnings geroivsedom.blogspot.com 26
  • Win dollars click here berukoperty.blogspot.com QU
  • Take your earnings tutdomirabot.blogspot.com sr
  • Win dollars click here melkvkladvbudesh.blogspot.com bu
  • Take your earnings geroivsedom.blogspot.com xd
  • Win dollars click here tutdomirabot.blogspot.com EW
  • OCkdKsBUPyPByK
  • I give you a gift berukoperty.blogspot.com P4
  • Take the money geroivsedom.blogspot.com WT
  • Take the money tutdomirabot.blogspot.com UF
  • Take the money tutdomirabot.blogspot.com FL
  • Your prize pick up here melkvkladvbudesh.blogspot.com Xw
  • Take the money tutdomirabot.blogspot.com Q7
  • Win dollars click here tutdomirabot.blogspot.com wN
  • Take the money geroivsedom.blogspot.com 3S
  • Take your earnings tutdomirabot.blogspot.com uv
  • Take the money geroivsedom.blogspot.com UE
未经允许不得转载: LIFE & SHARE - 王颜公子 » s3fs + s3browser 测试 Ceph 对象存储

分享

作者

作者头像

Madman

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

0 条评论

暂时还没有评论.

专题系列