![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
Mr-li-李
这个作者很懒,什么都没留下…
展开
-
linux磁盘挂载之后,容量显示异常
linux磁盘挂载之后,容量显示异常问题现象:磁盘挂载之后,容量显示异常处理方法:ext4:resize2fs /dev/vdb1xfs:xfs_growfs /dev/vdb1原创 2021-10-20 09:58:20 · 1875 阅读 · 1 评论 -
k8s创建pod报错:Cannot set property TasksAccounting
问题现象:创建k8s pod的时,出现如下报错信息:Error syncing pod, skipping: failed to “StartContainer” for “POD” with RunContainerError: “runContainer: Error response from daemon: {“message”:“oci runtime error: container_linux.go:235: starting container process caused \“proc原创 2021-01-05 16:05:08 · 693 阅读 · 1 评论 -
k8s创建pod失败
k8s创建pod失败问题现象:kubectl describe pod static-web查看信息,显示如下:Error syncing pod, skipping: failed to “StartContainer” for “POD” with ErrImagePull: “image pull failed for registry.access.redhat.com/rhel7/pod-infrastructure:latest, this may be because there are原创 2021-01-05 15:51:50 · 862 阅读 · 1 评论 -
验证ETCD服务时报错
验证ETCD服务时报错故障现象:Error: client: etcd cluster is unavailable or misconfigured; error #0: client: endpoint http://etcd:2379 exceeded header timeout; error #1: dial tcp: lookup etcd: no such hosterror #0: client: endpoint http://etcd:2379 exceeded header原创 2020-12-30 21:50:08 · 3425 阅读 · 1 评论 -
查看磁盘是ssd还是hdd
cat /sys/block/vda/queue/rotational返回值0:ssd盘返回值1:hdd盘原创 2018-10-22 14:09:53 · 1874 阅读 · 0 评论 -
Ceph osd启动报错osd init failed (36) File name too long
1、问题现象:在Ceph的OSD节点上,启动OSD进程失败,在其日志中看到如下报错信息:2017-02-14 16:26:13.558535 7fe3883f58c0 0 filestore(/var/lib/ceph/osd/ceph-1) mount: enabling WRITEAHEAD journal mode: checkpoint is not enabled2017-02-...原创 2018-10-29 17:46:51 · 613 阅读 · 0 评论 -
由于object大小与oi size大小不一致导致pg inconsistent
1、问题现象:ceph -s 集群出现pg inconsistent错误,ceph pg repair无法修复,查看日志,报错信息如下:log [ERR] : 3.f80 repair 1 missing, 0 inconsistent objectslog [ERR] : 3.f80 repair 2 errors, 1 fixedlog [ERR] : deep-scrub 3.f8...原创 2018-10-29 17:58:15 · 1330 阅读 · 0 评论 -
测试:找出在ceph中存放的数据
1、创建测试文件test.txtecho "hello world" > test.txt2、将文件写入到pool中:rados -p abc put object1 test.txtrados ls -p abc3、查看object1的pg mapceph osd map abc object14、查看三个OSD的信息,主要看host信息,即OSD在哪个机器上。cep...原创 2018-10-30 11:25:07 · 1082 阅读 · 0 评论 -
rbd删除image报:rbd: error: image still has watchers
1、解决思路:遇到有image无法删除的情况,一般有以下两种原因:a、由于image下有快照信息,只需要先将快照信息删除,然后就可以删除该image了;b、该image正在被另一个客户端访问,具体表现为该image中有watcher。如果该客户端异常,那么就会出现无法删除该image的情况;对于第一种情况,只需要删除快照即可解决,下面介绍第二种情况的解决方法。2、解决方案:查看当前im...原创 2018-10-30 14:31:11 · 1281 阅读 · 0 评论