CephFS挂载
cephfs 挂载内核低于 2.6.34 版本的挂载可用ceph-fuse方式,内核 2.6.34 版本以后支持ceph直接挂载。
cephfs 挂载内核低于 2.6.34 版本的挂载可用ceph-fuse方式,内核 2.6.34 版本以后支持ceph直接挂载。 ceph-fuse 方式: 配置ceph的yum源 [Ceph] name=Ceph packages for $basearch baseurl=http://download.ceph.com/rpm-hammer/el6/$basearch enabled=1 gpgcheck=1 type=rpm-md gpgkey=https://download.ceph.com/keys/release.asc priority=1 2. 安装 ceph-fuse rpm包 # yum install ceph-fuse -y 3. 拷贝server端的ceph.conf配置文件与ceph.client.admin.keyring文件 # cat /etc/ceph/ceph.keyring [client.admin] key = AQDaPCpcd6wlMxAAC1aDxBgdqtrHwju3wZ1vtA== # rsync -avz ceph-mon05::ceph/ceph.conf /etc/ceph/ 4. 挂载cephfs(挂载点以/data2为例) # ceph-fuse -m ceph-mon01,ceph-mon02,ceph-mon03,ceph-mon04,ceph-mon05:6789 /data2 mount 方式: 要挂载启用了 cephx 认证的 Ceph 文件系统,你必须指定用户名、密钥 mount -t ceph node1,node2,node3:6789:/ /data2 -o name=admin,secret=AQDaPCpcd6wlMxAAC1aDxBgdqtrHwju3wZ1vtA==

浙公网安备 33010602011771号