ceph如何增删改查的管理文件

1.创建 Ceph 存储库文件

sudo tee /etc/yum.repos.d/ceph.repo <<EOF
[ceph]
name=Ceph packages for $basearch
baseurl=https://download.ceph.com/rpm-pacific/el8/\$basearch/
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://download.ceph.com/keys/release.asc

[ceph-noarch]
name=Ceph noarch packages
baseurl=https://download.ceph.com/rpm-pacific/el8/noarch/
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://download.ceph.com/keys/release.asc
EOF

2.安装 epel-release​ 和 ceph-fuse​

sudo yum install epel-release
sudo yum update
sudo yum install ceph-fuse

3.将配置文件从ceph机器scp到目标机器 /etc/ceph下

4.创建挂载点

sudo mkdir -p /mnt/ceph

5.使用ceph-fuse挂载

sudo ceph-fuse -m <monitors> /mnt/ceph
例如:
sudo ceph-fuse -m 192.168.1.100:6789 /mnt/ceph

6.卸载挂载点

sudo umount /mnt/ceph
相关推荐
行走的山峰12 小时前
ceph之osd扩容和缩容
ceph
hejingdong12312 小时前
ceph iscsi网关配置过程遇到的问题和解决办法
ceph·ceph iscsi·iscsi 网关
行走的山峰12 小时前
ceph简介
ceph
奋斗的松鼠2 天前
numa分布奇葩引发的性能问题
ceph
奋斗的松鼠9 天前
2.1ceph集群部署准备-硬件及拓扑
linux·服务器·ceph
hejingdong12312 天前
ceph-iscsi 手动安装过程中的一些问题记录以及解决办法
ceph
奋斗的松鼠12 天前
2.2ceph集群部署准备-软件准备上
分布式·ceph
henan程序媛14 天前
云原生存储Rook部署Ceph
ceph·云原生·rook
不爱代码的小杜14 天前
Ceph集群维护相关操作
linux·服务器·ceph
PolarisHuster14 天前
ceph中pg与pool关系
ceph