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
相关推荐
lisanmengmeng6 天前
cephfs rbd应用
linux·运维·服务器·ceph
oMcLin7 天前
如何在 Manjaro Linux 上实现高效的 Ceph 存储集群,提升大规模文件存储的冗余性与性能?
linux·运维·ceph
wniuniu_9 天前
ceph的osd
java·前端·ceph
mixboot10 天前
Ceph PG 不一致问题排查与修复 scrub errors
ceph·scrub
斯普信专业组10 天前
从 Deep Scrubbing 滞后到集群性能跃迁:一次“以小见大”的 Ceph 优化实录
ceph
oMcLin10 天前
如何在CentOS 7.9 服务器上配置并优化 Ceph 分布式存储集群,提升数据冗余与性能?
服务器·ceph·centos
mixboot10 天前
Ceph BlueFS 溢出修复
ceph·bluefs溢出
only火车头14 天前
升级 ceph (16.2 -> 18.2) ceph mon 启动失败
服务器·ceph
iconball17 天前
个人用云计算学习笔记 --35 Ceph 分布式存储
运维·笔记·ceph·学习·云计算
become__better17 天前
判断ceph osd 节点磁盘异常
linux·运维·ceph