Package: ceph-common
Version: 16.2.11+ds-2
Severity: normal

Dear Maintainer,

I created an RBD volume and put a LUKS crypto container on it which acts as a LVM PV. lsblk output looks like this:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
rbd0                                          253:0    0  10T  0 disk
└─rbd0p1                                      253:1    0  10T  0 part
  └─crypto-1                                  254:4    0  10T  0 crypt
└─vg_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx_1-data 254:5 0 10T 0 lvm /srv/ceph

However during startup of the machine the crypto container is not activated, only rbd0 and rbd0p1 are active. The crypto container has its entry in /etc/crypttab.

I believe this is due to missing udev rules. I fixed this for my machine by adding the following rules to /etc/udev/rules.d/51-rbd.rules:

KERNEL=="rbd*", ENV{DEVTYPE}=="partition", \
  IMPORT{builtin}="blkid --noraid"
KERNEL=="rbd*", ENV{DEVTYPE}=="partition", ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"


Kind regards,

Daniel


*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 12.5
  APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-18-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages ceph-common depends on:
ii  adduser                         3.134
ii  libbabeltrace1                  1.5.11-1+b2
ii  libblkid1                       2.38.1-5+b1
ii  libboost-context1.74.0          1.74.0+ds1-21
ii  libboost-filesystem1.74.0       1.74.0+ds1-21
ii  libboost-program-options1.74.0  1.74.0+ds1-21
ii  libboost-thread1.74.0           1.74.0+ds1-21
ii  libc6                           2.36-9+deb12u4
ii  libcap-ng0                      0.8.3-1+b3
ii  libcephfs2                      16.2.11+ds-2
ii  libcurl3-gnutls                 7.88.1-10+deb12u5
ii  libexpat1                       2.5.0-1
ii  libfmt9                         9.1.0+ds1-2
ii  libgcc-s1                       12.2.0-14
ii  libgoogle-perftools4            2.10-1
ii  libicu72                        72.1-3
ii  libkeyutils1                    1.6.3-2
ii  libldap-2.5-0                   2.5.13+dfsg-5
ii  liblua5.3-0                     5.3.6-2
ii  libncurses6                     6.4-4
ii  liboath0                        2.6.7-3.1
ii  librabbitmq4                    0.11.0-1+b1
ii  librados2                       16.2.11+ds-2
ii  libradosstriper1                16.2.11+ds-2
ii  librbd1                         16.2.11+ds-2
ii  libssl3                         3.0.11-1~deb12u2
ii  libstdc++6                      12.2.0-14
ii  libtinfo6                       6.4-4
ii  libudev1                        252.22-1~deb12u1
ii  python3                         3.11.2-1+b1
ii  python3-ceph-argparse           16.2.11+ds-2
ii  python3-ceph-common             16.2.11+ds-2
ii  python3-cephfs                  16.2.11+ds-2
ii  python3-distutils               3.11.2-3
ii  python3-prettytable             3.6.0-1
ii  python3-rados                   16.2.11+ds-2
ii  python3-rbd                     16.2.11+ds-2
ii  python3-requests                2.28.1+dfsg-1

ceph-common recommends no packages.

Versions of packages ceph-common suggests:
pn  ceph      <none>
pn  ceph-mds  <none>

-- no debconf information

--
Daniel Schreiber
Facharbeitsgruppe Systemsoftware
Universitaetsrechenzentrum

Technische Universität Chemnitz
Straße der Nationen 62 (Raum B303)
09111 Chemnitz
Germany

Tel:     +49 371 531 35444
Fax:     +49 371 531 835444

Attachment: smime.p7s
Description: Kryptografische S/MIME-Signatur

Reply via email to