Re: cephadm adopting osd failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux