คำสั่ง proxmox แก้ปัญหาระบบ
Proxmox
ceph -s
ceph df
ceph status
service ceph status
ceph osd tree | grep -i down
service ceph status osd.4
ceph status osd.4
ceph pg repair 10.201
ceph pg
ceph health detail
ceph -w
grep 10.201 /var/log/ceph/*
grep -Hn 'ERR' /var/log/ceph/ceph-osd.18.log
ceph osd stat
ceph osd crush rule list
ceph osd crush rule ls
vi /etc/pve/storage.cfg;
ceph osd crush tree --show-shadow;
ceph osd lspools;
ceph osd crush rule dump;
rbd list --pool ceph_race
rbd rm -r vm-114-disk-1 --pool ceph_race
rbd rm vm-114-disk-1 --pool ceph_race
service pve-cluster restart && service pvedaemon restart && service pvestatd restart && service pveproxy restart && systemctl restart corosync
pvecm status
pvecm nodes
systemctl status pve*
systemctl status corosync
nano /etc/ceph/ceph.conf
nano /etc/ceph/storage.conf
ceph health detail | grep incomplete
cpeh pg ls incomplete
ceph pg 10.201 query
ceph health detail | grep incomplete
ceph osd dump | grep 'replicated size'
$ceph osd pool get
osd_pool_default_size "
$ceph osd pool get
osd_pool_default_min_size "
if you want to change in runtime, trigger below command
$ceph osd pool set
$ceph osd pool set