zl程序教程

您现在的位置是:首页 >  其它

当前栏目

ceph fuse 挂载

挂载 ceph
2023-09-14 09:09:51 时间

1,ceph fuse 挂载

# mkdir -p /etc/ceph
# scp root@192.168.1.100:/etc/ceph/ceph.conf /etc/ceph/ceph.conf
# scp root@192.168.1.100:/etc/ceph/ceph.client.admin.keyring /etc/ceph/ceph.client.admin.keyring
# mkdir /cephfs/
# apt install ceph-fuse -y
# ceph-fuse -m 192.168.1.100:6789 /cephfs/
ceph-fuse[9485]: starting ceph client
2020-08-15 08:11:32.454269 7f6fcfdb3680 -1 init, newargv = 0x559c6c5ba3a0 newargc=9
ceph-fuse[9485]: starting fuse
# df -Th | grep ceph
ceph-fuse      fuse.ceph-fuse   83T  792G   83T   1% /cephfs

2,开机自动挂载

id=admin,conf=/etc/ceph/ceph.conf /cephfs fuse.ceph defaults 0 0

  1. MOUNT CEPHFS USING FUSE
  2. 安装ceph-fuse