Documentation of the LVM metadata format
Good morning, is there any documentation available regarding the meta data stored within LVM that ceph-volume manages / creates? My background is that ceph-volume activate does not work on non-systemd Linux distributions, but if I know how to recreate the tmpfs, we can easily start the osd without systemd. Any pointers in the right direction are appreciated. Best regards, Nico -- Sustainable and modern Infrastructures by ungleich.ch
The best questions are the ones that one can answer oneself. The great documentation on https://docs.ceph.com/en/latest/dev/ceph-volume/lvm/ gives the right pointers. The right search term is "lvm list tags" and results into something like this: [15:56:04] server20.place6:~# lvs -o lv_tags /dev/sda: open failed: No medium found /dev/sdb: open failed: No medium found LV Tags ceph.block_device=/dev/ceph-26fdb7c4-17af-42af-8353-06d95b0071c7/osd-block-bb63e9b6-b2d7-40d1-83ee-815262ae8b45,... If anyone is interested in upstream ceph-volume support for non-systemd Linux distributions to activate the ceph-osds, let me know. In any case, we'll publish our new style scripts on [0]. Best regards, Nico [0] https://code.ungleich.ch/ungleich-public/ungleich-tools Nico Schottelius <nico.schottelius@ungleich.ch> writes:
Good morning,
is there any documentation available regarding the meta data stored within LVM that ceph-volume manages / creates?
My background is that ceph-volume activate does not work on non-systemd Linux distributions, but if I know how to recreate the tmpfs, we can easily start the osd without systemd.
Any pointers in the right direction are appreciated.
Best regards,
Nico
-- Sustainable and modern Infrastructures by ungleich.ch
Hi,
My background is that ceph-volume activate does not work on non-systemd Linux distributions
Why not using the --no-systemd option during the ceph-volume activate command? The systemd part is only enabling and starting the service but the tmpfs part should work if you're not using systemd https://github.com/ceph/ceph/blob/master/src/ceph-volume/ceph_volume/devices... Dimitri On Monday, April 19, 2021, Nico Schottelius <nico.schottelius@ungleich.ch> wrote:
The best questions are the ones that one can answer oneself. The great documentation on
https://docs.ceph.com/en/latest/dev/ceph-volume/lvm/
gives the right pointers. The right search term is "lvm list tags" and results into something like this:
[15:56:04] server20.place6:~# lvs -o lv_tags /dev/sda: open failed: No medium found /dev/sdb: open failed: No medium found LV Tags ceph.block_device=/dev/ceph-26fdb7c4-17af-42af-8353- 06d95b0071c7/osd-block-bb63e9b6-b2d7-40d1-83ee-815262ae8b45,...
If anyone is interested in upstream ceph-volume support for non-systemd Linux distributions to activate the ceph-osds, let me know.
In any case, we'll publish our new style scripts on [0].
Best regards,
Nico
[0] https://code.ungleich.ch/ungleich-public/ungleich-tools
Nico Schottelius <nico.schottelius@ungleich.ch> writes:
Good morning,
is there any documentation available regarding the meta data stored within LVM that ceph-volume manages / creates?
My background is that ceph-volume activate does not work on non-systemd Linux distributions, but if I know how to recreate the tmpfs, we can easily start the osd without systemd.
Any pointers in the right direction are appreciated.
Best regards,
Nico
-- Sustainable and modern Infrastructures by ungleich.ch _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hey Dimitir, because --no-systemd still requires systemd: [19:03:00] server20.place6:~# ceph-volume lvm activate --all --no-systemd --> Executable systemctl not in PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --> FileNotFoundError: [Errno 2] No such file or directory: 'systemctl': 'systemctl' Best regards, Nico Dimitri Savineau <dsavinea@redhat.com> writes:
Hi,
My background is that ceph-volume activate does not work on non-systemd Linux distributions
Why not using the --no-systemd option during the ceph-volume activate command?
The systemd part is only enabling and starting the service but the tmpfs part should work if you're not using systemd
https://github.com/ceph/ceph/blob/master/src/ceph-volume/ceph_volume/devices...
Dimitri
On Monday, April 19, 2021, Nico Schottelius <nico.schottelius@ungleich.ch> wrote:
The best questions are the ones that one can answer oneself. The great documentation on
https://docs.ceph.com/en/latest/dev/ceph-volume/lvm/
gives the right pointers. The right search term is "lvm list tags" and results into something like this:
[15:56:04] server20.place6:~# lvs -o lv_tags /dev/sda: open failed: No medium found /dev/sdb: open failed: No medium found LV Tags ceph.block_device=/dev/ceph-26fdb7c4-17af-42af-8353- 06d95b0071c7/osd-block-bb63e9b6-b2d7-40d1-83ee-815262ae8b45,...
If anyone is interested in upstream ceph-volume support for non-systemd Linux distributions to activate the ceph-osds, let me know.
In any case, we'll publish our new style scripts on [0].
Best regards,
Nico
[0] https://code.ungleich.ch/ungleich-public/ungleich-tools
Nico Schottelius <nico.schottelius@ungleich.ch> writes:
Good morning,
is there any documentation available regarding the meta data stored within LVM that ceph-volume manages / creates?
My background is that ceph-volume activate does not work on non-systemd Linux distributions, but if I know how to recreate the tmpfs, we can easily start the osd without systemd.
Any pointers in the right direction are appreciated.
Best regards,
Nico
-- Sustainable and modern Infrastructures by ungleich.ch _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
-- Sustainable and modern Infrastructures by ungleich.ch
So that's a bug ;) https://github.com/ceph/ceph/blob/master/src/ceph-volume/ceph_volume/devices... This doesn't honor the --no-systemd flag. But this should work when you're not using the --all option. Dimitri On Mon, Apr 19, 2021 at 10:41 AM Nico Schottelius < nico.schottelius@ungleich.ch> wrote:
Hey Dimitir,
because --no-systemd still requires systemd:
[19:03:00] server20.place6:~# ceph-volume lvm activate --all --no-systemd --> Executable systemctl not in PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --> FileNotFoundError: [Errno 2] No such file or directory: 'systemctl': 'systemctl'
Best regards,
Nico
Dimitri Savineau <dsavinea@redhat.com> writes:
Hi,
My background is that ceph-volume activate does not work on non-systemd Linux distributions
Why not using the --no-systemd option during the ceph-volume activate command?
The systemd part is only enabling and starting the service but the tmpfs part should work if you're not using systemd
https://github.com/ceph/ceph/blob/master/src/ceph-volume/ceph_volume/devices...
Dimitri
On Monday, April 19, 2021, Nico Schottelius <
nico.schottelius@ungleich.ch>
wrote:
The best questions are the ones that one can answer oneself. The great documentation on
https://docs.ceph.com/en/latest/dev/ceph-volume/lvm/
gives the right pointers. The right search term is "lvm list tags" and results into something like this:
[15:56:04] server20.place6:~# lvs -o lv_tags /dev/sda: open failed: No medium found /dev/sdb: open failed: No medium found LV Tags ceph.block_device=/dev/ceph-26fdb7c4-17af-42af-8353- 06d95b0071c7/osd-block-bb63e9b6-b2d7-40d1-83ee-815262ae8b45,...
If anyone is interested in upstream ceph-volume support for non-systemd Linux distributions to activate the ceph-osds, let me know.
In any case, we'll publish our new style scripts on [0].
Best regards,
Nico
[0] https://code.ungleich.ch/ungleich-public/ungleich-tools
Nico Schottelius <nico.schottelius@ungleich.ch> writes:
Good morning,
is there any documentation available regarding the meta data stored within LVM that ceph-volume manages / creates?
My background is that ceph-volume activate does not work on
non-systemd
Linux distributions, but if I know how to recreate the tmpfs, we can easily start the osd without systemd.
Any pointers in the right direction are appreciated.
Best regards,
Nico
-- Sustainable and modern Infrastructures by ungleich.ch _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
-- Sustainable and modern Infrastructures by ungleich.ch _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hi All, I want to send Ceph logs out to an external Graylog server. I’ve configured the Graylog host IP using “ceph config set global log_graylog_host x.x.x.x” and enabled logging through the Ceph dashboard (I’m running Octopus 15.2.9 – container based). I’ve also setup a GELF UDP input on Graylog. Do I need to do anything else? Any services that need to be restarted? Cheers Andrew Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
participants (3)
-
Andrew Walker-Brown
-
Dimitri Savineau
-
Nico Schottelius