After removing an OSD following the instructions in : Removing OSDs - Pre-Quincy - Documentation - Ubuntu Community Hub my osd tree shows that the it was successfully removed. But I sill can see device mapper that was used for that unit /dev/mapper/ceph--df9c0ef1--fbd7--46a0--bb7f--c54b44d2ed54-osd--block--f9c0ef1--fbd7--46a0--bb7f--c54b44d2ed54
. .
My questions are:
1.- is that a normal behavior?
2.- Will I be able to run juju run-action ceph-osd/1 add-disk osd-devices
3.- or Should I remove that /dev/mapper/ first?
I hope some one can help me with this.
Thanks.
geoint@MAAS-01:~$ juju ssh ceph-mon/leader sudo ceph osd tree
ID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF
-1 183.32373 root default
-21 21.83060 host calm-stag
6 hdd 21.83060 osd.6 up 1.00000 1.00000
-7 21.38379 host clean-hog
4 hdd 21.38379 osd.4 up 1.00000 1.00000
-13 21.38379 host exotic-goblin
5 hdd 21.38379 osd.5 up 1.00000 1.00000
-5 0 host key-ox
-9 21.38379 host liked-hermit
1 hdd 21.38379 osd.1 up 1.00000 1.00000
-17 21.83060 host pumped-bat
7 hdd 21.83060 osd.7 up 1.00000 1.00000
-15 0 host sharp-grouse
-19 32.74359 host sharp-heron
8 hdd 32.74359 osd.8 up 1.00000 1.00000
-11 21.38379 host stable-liger
0 hdd 21.38379 osd.0 up 1.00000 1.00000
-3 21.38379 host star-koala
3 hdd 21.38379 osd.3 up 1.00000 1.00000
Disk /dev/mapper/ceph--df9c0ef1--fbd7--46a0--bb7f--c54b44d2ed54-osd--block--df9c0ef1--fbd7--46a0--bb7f--c54b44d2ed54: 21.39 TiB, 23511720525824 bytes, 45921329152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes