Hello,

I'm trying to replace my OSDs with higher capacity drives. I went through
the steps to remove the OSD on the OSD node:
# ceph osd out osd.2
# ceph osd down osd.2
# ceph osd rm osd.2
Error EBUSY: osd.2 is still up; must be down before removal.
# systemctl stop ceph-osd@2
# ceph osd rm osd.2
removed osd.2
# ceph osd crush rm osd.2
removed item id 2 name 'osd.2' from crush map
# ceph auth del osd.2
updated

umount /var/lib/ceph/osd/ceph-2

It no longer shows in the crush map, and I am ready to remove the drive.
However, the ceph-osd@ service keeps restarting and mounting the disk in
/var/lib/ceph/osd. I do "systemctl stop ceph-osd@2" and umount the disk,
but then the service starts again and mounts the drive.

# systemctl stop ceph-osd@2
# umount /var/lib/ceph/osd/ceph-2

/dev/sdb1 on /var/lib/ceph/osd/ceph-2 type xfs
(rw,noatime,seclabel,attr2,inode64,logbsize=256k,sunit=512,swidth=512,noquota)

ceph version 12.2.5 (cad919881333ac92274171586c827e01f554a70a) luminous
(stable)

What am I missing?

Thanks,
Michael
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to