{"id":3780,"date":"2023-06-21T11:27:46","date_gmt":"2023-06-21T04:27:46","guid":{"rendered":"https:\/\/www.forest.go.th\/it\/?p=3780"},"modified":"2023-07-20T11:25:12","modified_gmt":"2023-07-20T04:25:12","slug":"delete-or-replace-osd-in-rook-ceph","status":"publish","type":"post","link":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/","title":{"rendered":"\u0e01\u0e32\u0e23\u0e25\u0e1a\/\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48 OSD \u0e43\u0e19 Rook Ceph"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/replacing-harddisk-art.jpg\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/replacing-harddisk-art-edited.jpg\" alt=\"\" class=\"wp-image-3789\" srcset=\"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/replacing-harddisk-art-edited.jpg 1024w, https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/replacing-harddisk-art-edited-300x169.jpg 300w, https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/replacing-harddisk-art-edited-768x432.jpg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u0e01\u0e23\u0e13\u0e35\u0e17\u0e35\u0e48\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c (HDD, SSD, \u0e2f\u0e25\u0e2f) \u0e25\u0e49\u0e21\u0e40\u0e2b\u0e25\u0e27 \u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e25\u0e1a OSD \u0e02\u0e2d\u0e07\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e17\u0e35\u0e48\u0e21\u0e35\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e2d\u0e2d\u0e01 \u0e2d\u0e32\u0e01\u0e32\u0e23\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e02\u0e2d\u0e07\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e25\u0e49\u0e21\u0e40\u0e2b\u0e25\u0e27\u0e17\u0e35\u0e48\u0e2a\u0e31\u0e07\u0e40\u0e01\u0e15\u0e44\u0e14\u0e49\u0e04\u0e37\u0e2d <code>pod<\/code> \u0e02\u0e2d\u0e07 OSD \u0e17\u0e35\u0e48\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e19\u0e31\u0e49\u0e19 \u0e21\u0e35 <code>STATUS<\/code> \u0e40\u0e1b\u0e47\u0e19 <code>CrashLoopBackoff<\/code> \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 <code>kubectl -n rook-ceph get pod -l app=rook-ceph-osd<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/01-osd-crash-loop-backoff.png\"><img decoding=\"async\" width=\"1024\" height=\"111\" src=\"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/01-osd-crash-loop-backoff-1024x111.png\" alt=\"\" class=\"wp-image-3792\" srcset=\"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/01-osd-crash-loop-backoff-1024x111.png 1024w, https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/01-osd-crash-loop-backoff-300x32.png 300w, https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/01-osd-crash-loop-backoff-768x83.png 768w, https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/01-osd-crash-loop-backoff.png 1081w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">\u0e41\u0e2a\u0e14\u0e07 <code>pod<\/code> \u0e02\u0e2d\u0e07 <code>osd.0<\/code> \u0e17\u0e35\u0e48\u0e21\u0e35\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e40\u0e1b\u0e47\u0e19 <code>CrashLoopBackOff<\/code><\/figcaption><\/figure>\n\n\n\n<p>\u0e42\u0e14\u0e22\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e08\u0e30\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e16\u0e36\u0e07\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e43\u0e19\u0e01\u0e32\u0e23\u0e25\u0e1a OSD \u0e2d\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e04\u0e25\u0e31\u0e2a\u0e40\u0e15\u0e2d\u0e23\u0e4c<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e23\u0e23\u0e30\u0e27\u0e31\u0e07<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e43\u0e2b\u0e49\u0e41\u0e19\u0e48\u0e43\u0e08\u0e27\u0e48\u0e32\u0e16\u0e49\u0e32\u0e40\u0e19\u0e37\u0e49\u0e2d\u0e17\u0e35\u0e48\u0e40\u0e2b\u0e25\u0e37\u0e2d\u0e40\u0e1e\u0e35\u0e22\u0e07\u0e1e\u0e2d\u0e2b\u0e25\u0e31\u0e07\u0e19\u0e33 OSD \u0e2d\u0e31\u0e19\u0e40\u0e14\u0e34\u0e21\u0e2d\u0e2d\u0e01<\/li>\n\n\n\n<li>\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e43\u0e2b\u0e49\u0e41\u0e19\u0e48\u0e43\u0e08\u0e27\u0e48\u0e32 OSD \u0e41\u0e25\u0e30 PG \u0e17\u0e35\u0e48\u0e40\u0e2b\u0e25\u0e37\u0e2d\u0e21\u0e35\u0e2a\u0e16\u0e32\u0e19\u0e30 healthy \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16 rebalance \u0e44\u0e14\u0e49<\/li>\n\n\n\n<li>\u0e2d\u0e22\u0e48\u0e32\u0e19\u0e33 OSD \u0e08\u0e33\u0e19\u0e27\u0e19\u0e21\u0e32\u0e01\u0e2d\u0e2d\u0e01\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e01\u0e31\u0e19\u0e43\u0e19\u0e04\u0e23\u0e32\u0e27\u0e40\u0e14\u0e35\u0e22\u0e27<\/li>\n\n\n\n<li>\u0e23\u0e2d\u0e01\u0e32\u0e23 rebalance \u0e43\u0e2b\u0e49\u0e40\u0e2a\u0e23\u0e47\u0e08\u0e01\u0e48\u0e2d\u0e19\u0e17\u0e35\u0e48\u0e08\u0e30\u0e40\u0e1e\u0e34\u0e48\u0e21 OSD \u0e0a\u0e38\u0e14\u0e16\u0e31\u0e14\u0e44\u0e1b<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e19\u0e33\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e17\u0e35\u0e48\u0e21\u0e35\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e2d\u0e2d\u0e01\u0e08\u0e32\u0e01 CephCluster<\/h2>\n\n\n\n<p>(\u0e2b\u0e32\u0e01\u0e15\u0e31\u0e49\u0e07 <code>useAllDevices: true<\/code> \u0e43\u0e19 <code>CephCluster<\/code> \u0e44\u0e27\u0e49 \u0e43\u0e2b\u0e49\u0e02\u0e49\u0e32\u0e21\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49)<\/p>\n\n\n\n<p>\u0e41\u0e01\u0e49\u0e44\u0e02 <code>CephCluster<\/code> \u0e42\u0e14\u0e22\u0e19\u0e33\u0e23\u0e32\u0e22\u0e01\u0e32\u0e23\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e17\u0e35\u0e48\u0e21\u0e35\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e2d\u0e2d\u0e01 \u0e14\u0e49\u0e27\u0e22\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl -n rook-ceph edit CephCluster rook-ceph<\/code><\/pre>\n\n\n\n<p>\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e08\u0e30\u0e22\u0e01\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07 OSD \u0e17\u0e35\u0e48\u0e21\u0e35\u0e1b\u0e31\u0e0d\u0e2b\u0e32 \u0e04\u0e37\u0e2d <code>osd.0<\/code> \u0e0b\u0e36\u0e48\u0e07\u0e43\u0e0a\u0e49\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c <code>sdb<\/code> \u0e17\u0e35\u0e48\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19\u0e42\u0e19\u0e14 <code>worker01.k8s.example.com<\/code><\/p>\n\n\n\n<p>\u0e40\u0e1e\u0e23\u0e32\u0e30\u0e09\u0e30\u0e19\u0e31\u0e49\u0e19 \u0e40\u0e23\u0e32\u0e08\u0e30\u0e41\u0e01\u0e49\u0e44\u0e02 <code>CephCluster<\/code> \u0e08\u0e32\u0e01<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>spec:\n  ...\n  storage:\n    nodes:\n    - config:\n        deviceClass: vsan\n      deviceFilter: ^sd.\n      name: worker01.k8s.example.com\n      resources: {}<\/code><\/pre>\n\n\n\n<p>\u0e43\u0e2b\u0e49\u0e22\u0e01\u0e40\u0e27\u0e49\u0e19 <code>sdb<\/code> \u0e14\u0e31\u0e07\u0e19\u0e35\u0e49<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>spec:\n  ...\n  storage:\n    nodes:\n    - config:\n        deviceClass: vsan\n      deviceFilter: ^sd&#91;^b]\n      name: worker01.k8s.example.com\n      resources: {}<\/code><\/pre>\n\n\n\n<p><strong>\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e2b\u0e15\u0e38:<\/strong> \u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e2d\u0e32\u0e08\u0e41\u0e15\u0e01\u0e15\u0e48\u0e32\u0e07\u0e01\u0e31\u0e19\u0e44\u0e1b\u0e43\u0e19\u0e41\u0e15\u0e48\u0e25\u0e30\u0e04\u0e25\u0e31\u0e2a\u0e40\u0e15\u0e2d\u0e23\u0e4c<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e1b\u0e34\u0e14 Rook Operator<\/h2>\n\n\n\n<p>\u0e01\u0e23\u0e13\u0e35\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49 Host-based cluster \u0e43\u0e2b\u0e49\u0e1b\u0e34\u0e14 Rook Operator \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e1b\u0e49\u0e2d\u0e07\u0e01\u0e31\u0e19\u0e44\u0e21\u0e48\u0e43\u0e2b\u0e49 Rook Operator \u0e19\u0e33\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e17\u0e35\u0e48\u0e21\u0e35\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e01\u0e25\u0e31\u0e1a\u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e43\u0e19\u0e04\u0e25\u0e31\u0e2a\u0e40\u0e15\u0e2d\u0e23\u0e4c \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl -n rook-ceph scale deployment rook-ceph-operator --replicas=0<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e25\u0e1a OSD<\/h2>\n\n\n\n<p>\u0e04\u0e27\u0e23\u0e25\u0e2d\u0e07\u0e25\u0e1a OSD \u0e14\u0e49\u0e27\u0e22\u0e27\u0e34\u0e18\u0e35\u0e2a\u0e23\u0e49\u0e32\u0e07 job \u0e01\u0e48\u0e2d\u0e19 \u0e2b\u0e32\u0e01\u0e44\u0e21\u0e48\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08\u0e08\u0e36\u0e07\u0e25\u0e1a OSD \u0e14\u0e49\u0e27\u0e22\u0e15\u0e19\u0e40\u0e2d\u0e07<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u0e25\u0e1a OSD \u0e14\u0e49\u0e27\u0e22\u0e27\u0e34\u0e18\u0e35\u0e2a\u0e23\u0e49\u0e32\u0e07 job<\/h3>\n\n\n\n<p><a href=\"https:\/\/github.com\/rook\/rook\/blob\/release-1.11\/deploy\/examples\/osd-purge.yaml\" target=\"_blank\" rel=\"noreferrer noopener\">\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c <code>osd-purge.yaml<\/code><\/a> \u0e21\u0e32 \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e40\u0e1b\u0e34\u0e14\u0e44\u0e1f\u0e25\u0e4c\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e41\u0e01\u0e49\u0e44\u0e02 <code>&lt;OSD-IDs&gt;<\/code> \u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e25\u0e02 OSD \u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e25\u0e1a \u0e40\u0e0a\u0e48\u0e19 <code>0<\/code> \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl create -f osd-purge.yaml<\/code><\/pre>\n\n\n\n<p>\u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl -n rook-ceph logs -f -l app=rook-ceph-purge-osd<\/code><\/pre>\n\n\n\n<p>\u0e16\u0e49\u0e32\u0e25\u0e1a\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08\u0e41\u0e25\u0e49\u0e27 (\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08) \u0e43\u0e2b\u0e49\u0e1b\u0e34\u0e14\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e02\u0e2d\u0e07 job \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl delete -f osd-purge.yaml<\/code><\/pre>\n\n\n\n<p>\u0e01\u0e23\u0e13\u0e35\u0e17\u0e35\u0e48\u0e25\u0e1a\u0e44\u0e21\u0e48\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08 \u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e25\u0e1a\u0e14\u0e49\u0e27\u0e22\u0e15\u0e19\u0e40\u0e2d\u0e07 \u0e15\u0e32\u0e21\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14\u0e43\u0e19\u0e2b\u0e31\u0e27\u0e02\u0e49\u0e2d\u0e16\u0e31\u0e14\u0e44\u0e1b<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u0e25\u0e1a OSD \u0e14\u0e49\u0e27\u0e22\u0e15\u0e19\u0e40\u0e2d\u0e07<\/h3>\n\n\n\n<p>\u0e01\u0e23\u0e13\u0e35\u0e17\u0e35\u0e48\u0e08\u0e30\u0e25\u0e1a OSD \u0e14\u0e49\u0e27\u0e22\u0e15\u0e19\u0e40\u0e2d\u0e07 \u0e43\u0e2b\u0e49\u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e43\u0e19 Rook Toolbox \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl -n rook-ceph exec -it deploy\/rook-ceph-tools -- bash<\/code><\/pre>\n\n\n\n<p>\u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e23\u0e31\u0e19\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e14\u0e31\u0e07\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e19\u0e35\u0e49<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ceph osd out osd.&lt;ID>\nceph status # \u0e14\u0e39\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e22 \u0e46 \u0e08\u0e19\u0e01\u0e27\u0e48\u0e32 PG \u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14\u0e40\u0e1b\u0e47\u0e19 active+clean \u0e2b\u0e21\u0e14\u0e41\u0e25\u0e49\u0e27 \u0e08\u0e36\u0e07\u0e08\u0e30\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e15\u0e48\u0e2d\u0e44\u0e1b\nceph osd purge &lt;ID> --yes-i-really-mean-it\nceph osd tree # \u0e14\u0e39\u0e27\u0e48\u0e32 osd \u0e16\u0e39\u0e01\u0e25\u0e1a\u0e44\u0e1b\u0e41\u0e25\u0e49\u0e27<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e25\u0e1a Deployment \u0e02\u0e2d\u0e07 OSD \u0e40\u0e14\u0e34\u0e21\u0e2d\u0e2d\u0e01<\/h2>\n\n\n\n<p>(\u0e16\u0e49\u0e32\u0e15\u0e31\u0e49\u0e07 <code>removeOSDsIfOutAndSafeToRemove: true<\/code> \u0e43\u0e19 <code>CephCluster<\/code> \u0e44\u0e27\u0e49 \u0e43\u0e2b\u0e49\u0e02\u0e49\u0e32\u0e21\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49)<\/p>\n\n\n\n<p>\u0e25\u0e1a deployment \u0e02\u0e2d\u0e07 OSD \u0e40\u0e14\u0e34\u0e21\u0e2d\u0e2d\u0e01 \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl delete deployment -n rook-ceph rook-ceph-osd-&lt;ID&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e25\u0e49\u0e32\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e43\u0e19\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e40\u0e14\u0e34\u0e21<\/h2>\n\n\n\n<p>\u0e16\u0e49\u0e32\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e40\u0e14\u0e34\u0e21\u0e22\u0e31\u0e07\u0e43\u0e0a\u0e49\u0e44\u0e14\u0e49\u0e2d\u0e22\u0e39\u0e48 \u0e43\u0e2b\u0e49\u0e25\u0e49\u0e32\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e42\u0e14\u0e22 ssh \u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e43\u0e19\u0e42\u0e19\u0e14\u0e41\u0e25\u0e49\u0e27\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e19\u0e35\u0e49<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export DISK=\"\/dev\/sdX\" # \u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19 sdX \u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e0a\u0e37\u0e48\u0e2d\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e17\u0e35\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07\nwipefs -af $DISK\ndd if=\/dev\/zero of=\"$DISK\" bs=1M count=100 oflag=direct,dsync\nblkdiscard $DISK # \u0e40\u0e09\u0e1e\u0e32\u0e30\u0e01\u0e23\u0e13\u0e35\u0e17\u0e35\u0e48\u0e40\u0e1b\u0e47\u0e19 SSD\npartprobe $DISK<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e40\u0e1b\u0e34\u0e14 Rook Operator<\/h2>\n\n\n\n<p>\u0e01\u0e23\u0e13\u0e35\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49 Host-based cluster \u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e34\u0e14 Rook Operator \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl -n rook-ceph scale deployment rook-ceph-operator --replicas=1<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e17\u0e14\u0e41\u0e17\u0e19\u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e43\u0e19 CephCluster<\/h2>\n\n\n\n<p>(\u0e2b\u0e32\u0e01\u0e15\u0e31\u0e49\u0e07 <code>useAllDevices: true<\/code> \u0e43\u0e19 <code>CephCluster<\/code> \u0e44\u0e27\u0e49 \u0e43\u0e2b\u0e49\u0e02\u0e49\u0e32\u0e21\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49)<\/p>\n\n\n\n<p>\u0e41\u0e01\u0e49\u0e44\u0e02 <code>CephCluster<\/code> \u0e42\u0e14\u0e22\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e17\u0e35\u0e48\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e40\u0e02\u0e49\u0e32\u0e21\u0e32\u0e43\u0e2b\u0e21\u0e48 (\u0e2b\u0e23\u0e37\u0e2d\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e40\u0e14\u0e34\u0e21\u0e17\u0e35\u0e48\u0e1c\u0e48\u0e32\u0e19\u0e01\u0e32\u0e23\u0e25\u0e49\u0e32\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e41\u0e25\u0e49\u0e27) \u0e14\u0e49\u0e27\u0e22\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl -n rook-ceph edit CephCluster rook-ceph<\/code><\/pre>\n\n\n\n<p>\u0e41\u0e25\u0e30\u0e41\u0e01\u0e49\u0e44\u0e02\u0e43\u0e2b\u0e49 <code>CephCluster<\/code> \u0e21\u0e2d\u0e07\u0e40\u0e2b\u0e47\u0e19\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e17\u0e35\u0e48\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e40\u0e02\u0e49\u0e32\u0e21\u0e32\u0e43\u0e2b\u0e21\u0e48 \u0e40\u0e0a\u0e48\u0e19 \u0e08\u0e32\u0e01\u0e40\u0e14\u0e34\u0e21\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e22\u0e01\u0e40\u0e27\u0e49\u0e19\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c <code>sdb<\/code> \u0e43\u0e19\u0e42\u0e19\u0e14 <code>worker01.k8s.example.com<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>spec:\n  ...\n  storage:\n    nodes:\n    - config:\n        deviceClass: vsan\n      deviceFilter: ^sd&#91;^b]\n      name: worker01.k8s.example.com\n      resources: {}<\/code><\/pre>\n\n\n\n<p>\u0e41\u0e01\u0e49\u0e44\u0e02 <code>deviceFilter<\/code> \u0e43\u0e2b\u0e49\u0e01\u0e25\u0e31\u0e1a\u0e21\u0e32\u0e15\u0e23\u0e27\u0e08\u0e08\u0e31\u0e1a\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e17\u0e35\u0e48\u0e21\u0e35\u0e0a\u0e37\u0e48\u0e2d <code>sd?<\/code> \u0e40\u0e2b\u0e21\u0e37\u0e2d\u0e19\u0e40\u0e14\u0e34\u0e21<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>spec:\n  ...\n  storage:\n    nodes:\n    - config:\n        deviceClass: vsan\n      deviceFilter: ^sd.\n      name: worker01.k8s.example.com\n      resources: {}<\/code><\/pre>\n\n\n\n<p>\u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e1c\u0e48\u0e32\u0e19\u0e44\u0e1b\u0e2a\u0e31\u0e01\u0e1e\u0e31\u0e01 <code>rook-ceph-operator<\/code> \u0e08\u0e30\u0e21\u0e2d\u0e07\u0e40\u0e2b\u0e47\u0e19\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e43\u0e2b\u0e21\u0e48 \u0e41\u0e25\u0e30\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e43\u0e19\u0e04\u0e25\u0e31\u0e2a\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e42\u0e14\u0e22\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34<\/p>\n\n\n\n<p>\u0e2b\u0e32\u0e01\u0e40\u0e27\u0e25\u0e32\u0e1c\u0e48\u0e32\u0e19\u0e44\u0e1b\u0e19\u0e32\u0e19\u0e41\u0e25\u0e49\u0e27\u0e41\u0e15\u0e48\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e21\u0e35\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 <code>pod<\/code> \u0e02\u0e2d\u0e07 OSD \u0e43\u0e2b\u0e21\u0e48\u0e02\u0e36\u0e49\u0e19\u0e21\u0e32 \u0e43\u0e2b\u0e49\u0e25\u0e1a <code>pod<\/code> \u0e02\u0e2d\u0e07 Rook Operator \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>kubectl -n rook-ceph delete pod -l app=rook-ceph-operator<\/code><\/pre>\n\n\n\n<p><strong>\u0e2b\u0e21\u0e32\u0e22\u0e40\u0e2b\u0e15\u0e38:<\/strong> <code>pod<\/code> \u0e02\u0e2d\u0e07 Rook Operator \u0e16\u0e39\u0e01\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e02\u0e36\u0e49\u0e19\u0e21\u0e32\u0e42\u0e14\u0e22 <code>deployment<\/code> \u0e40\u0e1e\u0e23\u0e32\u0e30\u0e09\u0e30\u0e19\u0e31\u0e49\u0e19 \u0e17\u0e31\u0e19\u0e17\u0e35\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e25\u0e1a <code>pod<\/code> Kubernetes \u0e08\u0e30\u0e2a\u0e23\u0e49\u0e32\u0e07 <code>pod<\/code> \u0e43\u0e2b\u0e21\u0e48\u0e02\u0e36\u0e49\u0e19\u0e21\u0e32\u0e42\u0e14\u0e22\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0e2d\u0e49\u0e32\u0e07\u0e2d\u0e34\u0e07<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/rook.io\/docs\/rook\/v1.11\/Storage-Configuration\/Advanced\/ceph-osd-mgmt\/#purge-the-osd-with-a-job\" target=\"_blank\" rel=\"noreferrer noopener\">Ceph OSD Management &#8211; Rook Ceph Documentation<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/documentation.suse.com\/ses\/7\/html\/ses-all\/admin-caasp-cephosd.html#remove-an-osd\" target=\"_blank\" rel=\"noreferrer noopener\">SES 7 | Deploying and Administering SUSE Enterprise Storage with Rook | Ceph OSD management<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0e01\u0e23\u0e13\u0e35\u0e17\u0e35\u0e48\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c (HDD, SSD, \u0e2f\u0e25\u0e2f) \u0e25\u0e49\u0e21\u0e40\u0e2b\u0e25\u0e27 \u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e25\u0e1a OSD \u0e02\u0e2d\u0e07 [&hellip;]<\/p>\n","protected":false},"author":181,"featured_media":3782,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[56],"tags":[55,51,44,43,49,54],"class_list":{"0":"post-3780","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-km","8":"tag-ceph","9":"tag-distributed-storage","10":"tag-k8s","11":"tag-kubernetes","12":"tag-persistent-storage","13":"tag-rook","14":"czr-hentry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0e01\u0e32\u0e23\u0e25\u0e1a\/\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48 OSD \u0e43\u0e19 Rook Ceph - \u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/\" \/>\n<meta property=\"og:locale\" content=\"th_TH\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0e01\u0e32\u0e23\u0e25\u0e1a\/\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48 OSD \u0e43\u0e19 Rook Ceph - \u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23\" \/>\n<meta property=\"og:description\" content=\"\u0e01\u0e23\u0e13\u0e35\u0e17\u0e35\u0e48\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c (HDD, SSD, \u0e2f\u0e25\u0e2f) \u0e25\u0e49\u0e21\u0e40\u0e2b\u0e25\u0e27 \u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e25\u0e1a OSD \u0e02\u0e2d\u0e07 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-21T04:27:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-20T04:25:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/replacing-harddisk-art.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Wee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Wee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u0e19\u0e32\u0e17\u0e35\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/delete-or-replace-osd-in-rook-ceph\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/delete-or-replace-osd-in-rook-ceph\\\/\"},\"author\":{\"name\":\"Wee\",\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/#\\\/schema\\\/person\\\/5dbc1c984434569a24da99df80b51bc2\"},\"headline\":\"\u0e01\u0e32\u0e23\u0e25\u0e1a\\\/\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48 OSD \u0e43\u0e19 Rook Ceph\",\"datePublished\":\"2023-06-21T04:27:46+00:00\",\"dateModified\":\"2023-07-20T04:25:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/delete-or-replace-osd-in-rook-ceph\\\/\"},\"wordCount\":75,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/delete-or-replace-osd-in-rook-ceph\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/wp-content\\\/uploads\\\/sites\\\/21\\\/2023\\\/06\\\/replacing-harddisk-art.jpg\",\"keywords\":[\"ceph\",\"distributed storage\",\"k8s\",\"kubernetes\",\"persistent storage\",\"rook\"],\"articleSection\":[\"\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e04\u0e27\u0e32\u0e21\u0e23\u0e39\u0e49\"],\"inLanguage\":\"th\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/delete-or-replace-osd-in-rook-ceph\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/delete-or-replace-osd-in-rook-ceph\\\/\",\"url\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/delete-or-replace-osd-in-rook-ceph\\\/\",\"name\":\"\u0e01\u0e32\u0e23\u0e25\u0e1a\\\/\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48 OSD \u0e43\u0e19 Rook Ceph - \u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/delete-or-replace-osd-in-rook-ceph\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/delete-or-replace-osd-in-rook-ceph\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/wp-content\\\/uploads\\\/sites\\\/21\\\/2023\\\/06\\\/replacing-harddisk-art.jpg\",\"datePublished\":\"2023-06-21T04:27:46+00:00\",\"dateModified\":\"2023-07-20T04:25:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/delete-or-replace-osd-in-rook-ceph\\\/#breadcrumb\"},\"inLanguage\":\"th\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/delete-or-replace-osd-in-rook-ceph\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"th\",\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/delete-or-replace-osd-in-rook-ceph\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/wp-content\\\/uploads\\\/sites\\\/21\\\/2023\\\/06\\\/replacing-harddisk-art.jpg\",\"contentUrl\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/wp-content\\\/uploads\\\/sites\\\/21\\\/2023\\\/06\\\/replacing-harddisk-art.jpg\",\"width\":1024,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/delete-or-replace-osd-in-rook-ceph\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0e01\u0e32\u0e23\u0e25\u0e1a\\\/\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48 OSD \u0e43\u0e19 Rook Ceph\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/#website\",\"url\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/\",\"name\":\"\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23\",\"description\":\"\u0e43\u0e2b\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e14\u0e49\u0e32\u0e19\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"th\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/#organization\",\"name\":\"\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23\",\"url\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"th\",\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/wp-content\\\/uploads\\\/sites\\\/21\\\/2023\\\/02\\\/new-rfd-web-logo-it.png\",\"contentUrl\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/wp-content\\\/uploads\\\/sites\\\/21\\\/2023\\\/02\\\/new-rfd-web-logo-it.png\",\"width\":720,\"height\":200,\"caption\":\"\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23\"},\"image\":{\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/#\\\/schema\\\/person\\\/5dbc1c984434569a24da99df80b51bc2\",\"name\":\"Wee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"th\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/01458eaaaec34a4081d440b97161c1d5752ffb67e2dbd149e4eed7deb34715da?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/01458eaaaec34a4081d440b97161c1d5752ffb67e2dbd149e4eed7deb34715da?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/01458eaaaec34a4081d440b97161c1d5752ffb67e2dbd149e4eed7deb34715da?s=96&d=mm&r=g\",\"caption\":\"Wee\"},\"url\":\"https:\\\/\\\/www.forest.go.th\\\/it\\\/blog\\\/author\\\/wees\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0e01\u0e32\u0e23\u0e25\u0e1a\/\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48 OSD \u0e43\u0e19 Rook Ceph - \u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/","og_locale":"th_TH","og_type":"article","og_title":"\u0e01\u0e32\u0e23\u0e25\u0e1a\/\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48 OSD \u0e43\u0e19 Rook Ceph - \u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23","og_description":"\u0e01\u0e23\u0e13\u0e35\u0e17\u0e35\u0e48\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c (HDD, SSD, \u0e2f\u0e25\u0e2f) \u0e25\u0e49\u0e21\u0e40\u0e2b\u0e25\u0e27 \u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e25\u0e1a OSD \u0e02\u0e2d\u0e07 [&hellip;]","og_url":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/","og_site_name":"\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23","article_published_time":"2023-06-21T04:27:46+00:00","article_modified_time":"2023-07-20T04:25:12+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/replacing-harddisk-art.jpg","type":"image\/jpeg"}],"author":"Wee","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Wee","Est. reading time":"3 \u0e19\u0e32\u0e17\u0e35"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/#article","isPartOf":{"@id":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/"},"author":{"name":"Wee","@id":"https:\/\/www.forest.go.th\/it\/#\/schema\/person\/5dbc1c984434569a24da99df80b51bc2"},"headline":"\u0e01\u0e32\u0e23\u0e25\u0e1a\/\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48 OSD \u0e43\u0e19 Rook Ceph","datePublished":"2023-06-21T04:27:46+00:00","dateModified":"2023-07-20T04:25:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/"},"wordCount":75,"commentCount":0,"publisher":{"@id":"https:\/\/www.forest.go.th\/it\/#organization"},"image":{"@id":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/#primaryimage"},"thumbnailUrl":"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/replacing-harddisk-art.jpg","keywords":["ceph","distributed storage","k8s","kubernetes","persistent storage","rook"],"articleSection":["\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e04\u0e27\u0e32\u0e21\u0e23\u0e39\u0e49"],"inLanguage":"th","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/","url":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/","name":"\u0e01\u0e32\u0e23\u0e25\u0e1a\/\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48 OSD \u0e43\u0e19 Rook Ceph - \u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23","isPartOf":{"@id":"https:\/\/www.forest.go.th\/it\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/#primaryimage"},"image":{"@id":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/#primaryimage"},"thumbnailUrl":"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/replacing-harddisk-art.jpg","datePublished":"2023-06-21T04:27:46+00:00","dateModified":"2023-07-20T04:25:12+00:00","breadcrumb":{"@id":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/#breadcrumb"},"inLanguage":"th","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/"]}]},{"@type":"ImageObject","inLanguage":"th","@id":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/#primaryimage","url":"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/replacing-harddisk-art.jpg","contentUrl":"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/replacing-harddisk-art.jpg","width":1024,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/www.forest.go.th\/it\/blog\/delete-or-replace-osd-in-rook-ceph\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.forest.go.th\/it\/"},{"@type":"ListItem","position":2,"name":"\u0e01\u0e32\u0e23\u0e25\u0e1a\/\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48 OSD \u0e43\u0e19 Rook Ceph"}]},{"@type":"WebSite","@id":"https:\/\/www.forest.go.th\/it\/#website","url":"https:\/\/www.forest.go.th\/it\/","name":"\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23","description":"\u0e43\u0e2b\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e14\u0e49\u0e32\u0e19\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28","publisher":{"@id":"https:\/\/www.forest.go.th\/it\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.forest.go.th\/it\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"th"},{"@type":"Organization","@id":"https:\/\/www.forest.go.th\/it\/#organization","name":"\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23","url":"https:\/\/www.forest.go.th\/it\/","logo":{"@type":"ImageObject","inLanguage":"th","@id":"https:\/\/www.forest.go.th\/it\/#\/schema\/logo\/image\/","url":"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/02\/new-rfd-web-logo-it.png","contentUrl":"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/02\/new-rfd-web-logo-it.png","width":720,"height":200,"caption":"\u0e28\u0e39\u0e19\u0e22\u0e4c\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e2a\u0e32\u0e23\u0e2a\u0e19\u0e40\u0e17\u0e28\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e37\u0e48\u0e2d\u0e2a\u0e32\u0e23"},"image":{"@id":"https:\/\/www.forest.go.th\/it\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.forest.go.th\/it\/#\/schema\/person\/5dbc1c984434569a24da99df80b51bc2","name":"Wee","image":{"@type":"ImageObject","inLanguage":"th","@id":"https:\/\/secure.gravatar.com\/avatar\/01458eaaaec34a4081d440b97161c1d5752ffb67e2dbd149e4eed7deb34715da?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/01458eaaaec34a4081d440b97161c1d5752ffb67e2dbd149e4eed7deb34715da?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/01458eaaaec34a4081d440b97161c1d5752ffb67e2dbd149e4eed7deb34715da?s=96&d=mm&r=g","caption":"Wee"},"url":"https:\/\/www.forest.go.th\/it\/blog\/author\/wees\/"}]}},"jetpack_featured_media_url":"https:\/\/www.forest.go.th\/it\/wp-content\/uploads\/sites\/21\/2023\/06\/replacing-harddisk-art.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.forest.go.th\/it\/wp-json\/wp\/v2\/posts\/3780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.forest.go.th\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.forest.go.th\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.forest.go.th\/it\/wp-json\/wp\/v2\/users\/181"}],"replies":[{"embeddable":true,"href":"https:\/\/www.forest.go.th\/it\/wp-json\/wp\/v2\/comments?post=3780"}],"version-history":[{"count":7,"href":"https:\/\/www.forest.go.th\/it\/wp-json\/wp\/v2\/posts\/3780\/revisions"}],"predecessor-version":[{"id":3794,"href":"https:\/\/www.forest.go.th\/it\/wp-json\/wp\/v2\/posts\/3780\/revisions\/3794"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.forest.go.th\/it\/wp-json\/wp\/v2\/media\/3782"}],"wp:attachment":[{"href":"https:\/\/www.forest.go.th\/it\/wp-json\/wp\/v2\/media?parent=3780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.forest.go.th\/it\/wp-json\/wp\/v2\/categories?post=3780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.forest.go.th\/it\/wp-json\/wp\/v2\/tags?post=3780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}