how to replace disks when using cache?
alexurpi
8 Posts
February 19, 2021, 12:12 amQuote from alexurpi on February 19, 2021, 12:12 amHi, I had a failing disk in a node with 4 OSDs and 1 SSD acting as cache (4 partitions). I marked the failing disk as "out", I waited for rebalancing, and I stopped OSD, and replaced the disk.
However, the cache ssd marks 0/4 available partitions, and lvm shows:
......
/dev/sdc3 ps-2e1fa5e6-1e20-4a48-8390-493b59378c72-wc-osd.0 [cache]
[unknown] ps-2e1fa5e6-1e20-4a48-8390-493b59378c72-wc-osd.0 [main_wcorig]
.......
Where OSD 0 was the removed one. How should we proceed to change failing disks when using cache?
(we are using petasan 2.7.2)
Thanks!
Hi, I had a failing disk in a node with 4 OSDs and 1 SSD acting as cache (4 partitions). I marked the failing disk as "out", I waited for rebalancing, and I stopped OSD, and replaced the disk.
However, the cache ssd marks 0/4 available partitions, and lvm shows:
......
/dev/sdc3 ps-2e1fa5e6-1e20-4a48-8390-493b59378c72-wc-osd.0 [cache]
[unknown] ps-2e1fa5e6-1e20-4a48-8390-493b59378c72-wc-osd.0 [main_wcorig]
.......
Where OSD 0 was the removed one. How should we proceed to change failing disks when using cache?
(we are using petasan 2.7.2)
Thanks!
admin
2,930 Posts
February 21, 2021, 10:34 amQuote from admin on February 21, 2021, 10:34 amwas the OSD deleted from ui or manually ?
was the OSD deleted from ui or manually ?
alexurpi
8 Posts
February 21, 2021, 5:14 pmQuote from alexurpi on February 21, 2021, 5:14 pmI stopped the OSD from shell, and I removed from GUI.
Note, I ended up reinstalling the whole node and replacing it, now everything is fine. But I'd like to know the official procedure to replace a failing disk, behind a cache drive.
Thanks for your help!
I stopped the OSD from shell, and I removed from GUI.
Note, I ended up reinstalling the whole node and replacing it, now everything is fine. But I'd like to know the official procedure to replace a failing disk, behind a cache drive.
Thanks for your help!
how to replace disks when using cache?
alexurpi
8 Posts
Quote from alexurpi on February 19, 2021, 12:12 amHi, I had a failing disk in a node with 4 OSDs and 1 SSD acting as cache (4 partitions). I marked the failing disk as "out", I waited for rebalancing, and I stopped OSD, and replaced the disk.
However, the cache ssd marks 0/4 available partitions, and lvm shows:
......
/dev/sdc3 ps-2e1fa5e6-1e20-4a48-8390-493b59378c72-wc-osd.0 [cache]
[unknown] ps-2e1fa5e6-1e20-4a48-8390-493b59378c72-wc-osd.0 [main_wcorig]
.......Where OSD 0 was the removed one. How should we proceed to change failing disks when using cache?
(we are using petasan 2.7.2)
Thanks!
Hi, I had a failing disk in a node with 4 OSDs and 1 SSD acting as cache (4 partitions). I marked the failing disk as "out", I waited for rebalancing, and I stopped OSD, and replaced the disk.
However, the cache ssd marks 0/4 available partitions, and lvm shows:
......
/dev/sdc3 ps-2e1fa5e6-1e20-4a48-8390-493b59378c72-wc-osd.0 [cache]
[unknown] ps-2e1fa5e6-1e20-4a48-8390-493b59378c72-wc-osd.0 [main_wcorig]
.......
Where OSD 0 was the removed one. How should we proceed to change failing disks when using cache?
(we are using petasan 2.7.2)
Thanks!
admin
2,930 Posts
Quote from admin on February 21, 2021, 10:34 amwas the OSD deleted from ui or manually ?
was the OSD deleted from ui or manually ?
alexurpi
8 Posts
Quote from alexurpi on February 21, 2021, 5:14 pmI stopped the OSD from shell, and I removed from GUI.
Note, I ended up reinstalling the whole node and replacing it, now everything is fine. But I'd like to know the official procedure to replace a failing disk, behind a cache drive.
Thanks for your help!
I stopped the OSD from shell, and I removed from GUI.
Note, I ended up reinstalling the whole node and replacing it, now everything is fine. But I'd like to know the official procedure to replace a failing disk, behind a cache drive.
Thanks for your help!