关闭命令

1
2
3
4
5
6
7
8
9
ceph fs set cephfs down true
ceph osd set noout
ceph osd set norecover
ceph osd set norebalance
ceph osd set nobackfill
ceph osd set nodown
ceph osd set pause

systemctl stop ceph.target

开机命令

1
2
3
4
5
6
7
8
9
ceph-volume lvm activate --all
ceph osd unset noout
ceph osd unset norecover
ceph osd unset norebalance
ceph osd unset nobackfill
ceph osd unset nodown
ceph osd unset pause

ceph fs set cephfs down false

网络设备挂载命令

1
mount.ceph 10.0.1.2:6789:/ /mnt/storage -o name=admin,secretfile=/etc/ceph/admin.secret