随笔分类 -  ceph

摘要:查看集群状态 $ ceph -s cluster: id: b87d2535-406b-442d-8de2-49d86f7dc599 health: HEALTH_WARN 1 daemons have recently crashed services: mon: 3 daemons, quoru 阅读全文
posted @ 2022-07-06 11:13 jiaxzeng 阅读(1545) 评论(0) 推荐(0) 编辑
摘要:查看image的空间大小 扩容image的空间 在线扩容挂载点空间 xfs文件系统 ext4文件系统 阅读全文
posted @ 2022-05-18 10:52 jiaxzeng 阅读(634) 评论(0) 推荐(0) 编辑
摘要:创建pool 启动application 创建客户端用户 注意:以上步骤都在ceph主机上执行,下面的步骤可以在客户端主机上执行即可 安装客户端软件包 获取相关配置文件 创建image 映射块设备 挂载块设备 设置开机自动挂载 阅读全文
posted @ 2022-05-18 10:37 jiaxzeng 阅读(94) 评论(0) 推荐(1) 编辑
摘要:部署图 主机资源说明: 每台 ceph 主机有两个网卡,一个是走公共网络流量,另一个是走集群网络流量。 每台 ceph 主机有4块硬盘,一块系统盘,一块缓存盘,两块数据盘。 检查环境: 网卡信息 $ ip -4 a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qd 阅读全文
posted @ 2022-05-17 14:58 jiaxzeng 阅读(126) 评论(0) 推荐(0) 编辑
摘要:下载与安装 创建bcache设备 升级内核 需要使用bcache内核参数,该参数需要在4.x内核才支持 可以通过df hT命令判断你的系统是否由uefi引导,如果输出结果中有/boot/efi(即该目录挂载了一个盘),则为uefi引导;或者通过命令ls /sys/firmware/efi看该目录是否 阅读全文
posted @ 2022-05-13 18:49 jiaxzeng 阅读(285) 评论(0) 推荐(0) 编辑
摘要:查看集群状态 [root@storage-ceph01 ~]# ceph -s cluster: id: 4d8fec26-e363-4753-b60f-49d69ab44cab health: HEALTH_WARN Reduced data availability: 1 pg inactive 阅读全文
posted @ 2022-02-21 09:55 jiaxzeng 阅读(4431) 评论(0) 推荐(0) 编辑
摘要:```shell [ceph@storage-ceph02 ~]$ ceph osd out 0 marked out osd.0. [ceph@storage-ceph02 ~]$ sudo systemctl stop ceph-osd@0.service [ceph@storage-ceph02 ~]$ ceph osd crush remove osd.0 removed item id 阅读全文
posted @ 2022-02-20 23:32 jiaxzeng 阅读(135) 评论(0) 推荐(0) 编辑
摘要:先使用管理员用户做前期的准备,后面都是使用ceph用户进行安装。 设置主机名 设置主机名映射 关闭防火墙 关闭selinux 安装ntp服务同步 shell yum install y ntp vi /etc/ntp.conf 注释 的几行,在下面添加 。 systemctl enable ntpd 阅读全文
posted @ 2021-07-02 16:06 jiaxzeng 阅读(169) 评论(0) 推荐(0) 编辑
摘要:先使用管理员用户做前期的准备,后面都是使用ceph用户进行安装。 设置主机名 设置主机名映射 关闭防火墙 关闭selinux 安装ntp服务同步 shell yum install y ntp vi /etc/ntp.conf 注释 的几行,在下面添加 。 systemctl enable ntpd 阅读全文
posted @ 2021-07-02 15:49 jiaxzeng 阅读(354) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示