ceph fuse 挂载

ceph fuse 挂载

  • 1,ceph fuse 挂载
  • 2,~~开机自动挂载~~

1,ceph fuse 挂载

# mkdir -p /etc/ceph
# scp [email protected]:/etc/ceph/ceph.conf /etc/ceph/ceph.conf
# scp [email protected]:/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

你可能感兴趣的:(Ceph,ceph,ceph-fuse)