Proxmox/iomemory-vsl: Difference between revisions

From Omnia
Jump to navigation Jump to search
No edit summary
 
Line 31: Line 31:
</pre>
</pre>


echo "bluestore" > /var/lib/ceph/osd/ceph-2/type
echo "bluestore" > /var/lib/ceph/osd/ceph-2/type


<ref>https://forum.proxmox.com/threads/why-is-my-ceph-osd-dead-and-wont-start-again.127282/</ref>
<ref>https://forum.proxmox.com/threads/why-is-my-ceph-osd-dead-and-wont-start-again.127282/</ref>

Latest revision as of 05:27, 26 January 2024

dkms

dkms status
dkms autoinstall -k 6.5.11-7-pve

Ceph

OSD fails to start on reboot.

journalctl -u ceph-osd@2.service
auth: unable to find a keyring on /var/lib/ceph/osd/ceph-2/keyring: (2) No such file or directory
AuthRegistry(0x55821f874a40) no keyring found at /var/lib/ceph/osd/ceph-2/keyring, disabling cephx

Solution:

# Export key
ceph auth export osd.2 -o keyring.export
# Adapt user and permissions
chown ceph:ceph keyring.export
chmod 0600 keyring.export
# Remove caps lines
sed -i '/^\s*caps/d' keyring.export
# Put keyring into expected location
mv keyring.export /var/lib/ceph/osd/ceph-2/keyring
# Reset failed counter for service
systemctl reset-failed ceph-osd@2.service
# Start osd service
systemctl start ceph-osd@2.service
echo "bluestore" > /var/lib/ceph/osd/ceph-2/type

[1]