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
相关推荐
查士丁尼·绵6 天前
centos stream 9离线分层部署cloudstack 4.22高可用集群
ceph·cloudstack
2301_773643629 天前
ceph镜像
前端·javascript·ceph
2301_7736436210 天前
ceph池
开发语言·ceph·python
2301_7736436210 天前
ceph实践
ceph
2301_7736436213 天前
ceph分布式存储
分布式·ceph
m0_7360348515 天前
ceph分布式存储
分布式·ceph
三十..16 天前
Ceph 三大存储接口深度实践与数据保护指南
运维·ceph
AOwhisky16 天前
Ceph系列第六期:Ceph 文件系统(CephFS)精讲
linux·运维·网络·笔记·ceph
潮起鲸落入海16 天前
Ceph 分布式存储 对象存储管理
ceph