This is a comment for documentation purposes. Note to slightly-future Zac: Add to https://docs.ceph.com/docs/octopus/cephadm/adoption/ a step directing the reader to stop the osd and unmount the tempfs as described in this email thread. CEPH DOCUMENTATION INITIATIVE On Thu, Apr 16, 2020 at 5:47 PM <bbk@xxxxxxxxxx> wrote: > Hi again, > > it is not the first time, just after i posted my question i find a > solution :-) > > What i needed to do was stopping the osd first: > > systemctl stop ceph-osd@0 > > Then unmounting the tempfs: > > umount /var/lib/ceph/osd/ceph-0 > > So now the script is able to remove the folder, and adopt the osd: > > ```````````````````` > ~# cephadm adopt --style legacy --name osd.0 > INFO:cephadm:Pulling latest docker.io/ceph/ceph:v15 container... > INFO:cephadm:objectstore_type is bluestore > INFO:cephadm:Disabling old systemd unit ceph-osd@0... > INFO:cephadm:Moving data... > INFO:cephadm:Chowning content... > INFO:cephadm:Chowning > /var/lib/ceph/6d0ecf22-9155-4684-971a-2f6cde8628c8/osd.0/block... > INFO:cephadm:Disabling host unit ceph-volume@ lvm unit... > INFO:cephadm:Moving logs... > INFO:cephadm:Creating new units... > ```````````````````` > > Yours, > bbk > _______________________________________________ > ceph-users mailing list -- ceph-users@xxxxxxx > To unsubscribe send an email to ceph-users-leave@xxxxxxx > _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx