{"id":1233,"date":"2023-04-07T11:14:05","date_gmt":"2023-04-07T10:14:05","guid":{"rendered":"https:\/\/blog.bl-its.at\/?p=1233"},"modified":"2023-04-14T08:50:59","modified_gmt":"2023-04-14T07:50:59","slug":"proxmox-ceph-fehlerbehebung","status":"publish","type":"post","link":"https:\/\/blog.bl-its.at\/?p=1233","title":{"rendered":"Proxmox Ceph Fehlerbehebung"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Problem:<\/h2>\n\n\n\n<p>Im Proxmox Ceph Dasboard wird fongedes angezeigt<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/ceph-error-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"199\" src=\"https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/ceph-error-1.png\" alt=\"\" class=\"wp-image-1241\" srcset=\"https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/ceph-error-1.png 697w, https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/ceph-error-1-300x86.png 300w, https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/ceph-error-1-500x143.png 500w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/a><\/figure>\n\n\n\n<p>Die OSDs sind alle Up und In.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">L\u00f6sung:<\/h2>\n\n\n\n<p>in der Shell aller Clusterknoten folgenden Befehl ausr\u00fchren<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ceph osd repair all<\/code><\/pre>\n\n\n\n<p>Danach muss gewartet werden bis die Befehle ausgef\u00fchrt wurden. Das kann, je nach gr\u00f6\u00dfe, ein paar Stunden dauern. In meinem Fall, bei 2TB NVME, waren das ca. 2 Stunden.<\/p>\n\n\n\n<p>Nachdem dieser Schritt ausgef\u00fchrt wurde, sollte der Ceph-Storage wieder OK sein.<\/p>\n\n\n\n<p>Wenn das nicht der Fall ist und folgender Fehler pl\u00f6tzlich im Ceph-Dasboard steht:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/ceph-error2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"712\" height=\"302\" src=\"https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/ceph-error2.png\" alt=\"\" class=\"wp-image-1246\" srcset=\"https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/ceph-error2.png 712w, https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/ceph-error2-300x127.png 300w, https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/ceph-error2-500x212.png 500w\" sizes=\"auto, (max-width: 712px) 100vw, 712px\" \/><\/a><\/figure>\n\n\n\n<p>oder auf der Konsole wenn man den folgenden Befehl eingibt:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ceph health detail<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;WRN] OSD_TOO_MANY_REPAIRS: Too many repaired reads on 2 OSDs\n    osd.0 had 48 reads repaired\n    osd.1 had 19 reads repaired<\/code><\/pre>\n\n\n\n<p>kann das Folgende helfen.<\/p>\n\n\n\n<p>Bei mir half, die SSD einfach neu zu starten.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/osd-restart.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"265\" src=\"https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/osd-restart-1024x265.png\" alt=\"\" class=\"wp-image-1235\" srcset=\"https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/osd-restart-1024x265.png 1024w, https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/osd-restart-300x78.png 300w, https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/osd-restart-768x199.png 768w, https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/osd-restart-500x129.png 500w, https:\/\/blog.bl-its.at\/wp-content\/uploads\/2023\/04\/osd-restart.png 1434w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Die osd wird nicht sofort wieder gestartet sein, habt etwas Geduld. Nach da 3 &#8211; 4 Minuten sind dann alle wieder Online.<\/p>\n\n\n\n<p><strong>Hinweis:<\/strong><br \/>Startet eine OSD nach der anderen und wartet bis die OSD, die ihr zuletzt neu gestartet habt, wieder da ist.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem: Im Proxmox Ceph Dasboard wird fongedes angezeigt Die OSDs sind alle Up und In. L\u00f6sung: in der Shell aller Clusterknoten folgenden Befehl ausr\u00fchren Danach muss gewartet werden bis die Befehle ausgef\u00fchrt wurden. Das kann, je nach gr\u00f6\u00dfe, ein paar &hellip; <a href=\"https:\/\/blog.bl-its.at\/?p=1233\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,351],"tags":[353,354,352],"class_list":["post-1233","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-proxmox","tag-ceph","tag-fehler","tag-proxmox"],"_links":{"self":[{"href":"https:\/\/blog.bl-its.at\/index.php?rest_route=\/wp\/v2\/posts\/1233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bl-its.at\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bl-its.at\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bl-its.at\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bl-its.at\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1233"}],"version-history":[{"count":7,"href":"https:\/\/blog.bl-its.at\/index.php?rest_route=\/wp\/v2\/posts\/1233\/revisions"}],"predecessor-version":[{"id":1247,"href":"https:\/\/blog.bl-its.at\/index.php?rest_route=\/wp\/v2\/posts\/1233\/revisions\/1247"}],"wp:attachment":[{"href":"https:\/\/blog.bl-its.at\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bl-its.at\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bl-its.at\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}