Re: Question about cephadm, WAL and DB devices.

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

 



I saw something similar, when I added a block.db  on a ssd partition to the OSD.    I think the OSD is taking the total size of db + data as the OSD size, and then counting the db as already allocated.



________________________________
From: Daniel Persson <mailto.woden@xxxxxxxxx>
Sent: Tuesday, January 4, 2022 12:41 PM
To: Ceph Users <ceph-users@xxxxxxx>
Subject:  Question about cephadm, WAL and DB devices.

Hi.

I'm currently trying out cephadm, and I got into a state that was a bit
unexpected for me.

I created three host machines in VirtualBox to try out cephadm. All drives
I made for OSD are 20GB in size for simplicity.

Bootstrapped one host with one drive and then added the other two. Then
they directly added all available drives, so now I had 3x20 GB OSDs.

Watching the GUI, it said I could add WAL and DB devices, I never figured
out how to do that in the GUI, but I tried to do it manually.

ceph osd destroy osd.2 --force
ceph-volume lvm zap --destroy /dev/sdb
ceph auth get client.bootstrap-osd >
/var/lib/ceph/bootstrap-osd/ceph.keyring
ceph-volume lvm prepare --data /dev/sdb --block.db /dev/sdc --block.wal
/dev/sdd
ceph-volume lvm activate 2 d4a590eb-c0f6-47bc-a5fa-221bf8541e09

It worked, and I got the new OSD registered, but the strange thing was that
it was 40 GB and half full. Is this expected?

Best regards
Daniel
_______________________________________________
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



[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