1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-25 21:57:45 +03:00
наб 6a431eb242 devices: recognise rbd (ceph rados block device)
Description stolen from linux d/b/rbd.c L3:
  rbd.c -- Export ceph rados objects as a Linux block device

16 partitions seem to make sense according to L90:
  #define RBD_SINGLE_MAJOR_PART_SHIFT 4

Running *scan -vvvvvvdddddd yields
  #filters/filter-type.c:28            /dev/rbd1p5: Skipping: Unrecognised LVM device type 252
  #filters/filter-persistent.c:131           filter caching bad /dev/rbd1p5
right now, and adding
  types = ["rbd", 252]
to /e/l/lvm.conf (with the matching "252 rbd" in /p/devices) works as a
per-machine fix:
  rbd1               252:16   0      1T  1 disk
  |-rbd1p1           252:17   0    243M  1 part
  |-rbd1p2           252:18   0      1K  1 part
  `-rbd1p5           252:21   0 1023.8G  1 part
    `-dev01--vg-root 253:0    0 1023.8G  0 lvm
but rbd is supported by upstream so it'd be nice to have it work OOB
2021-12-13 13:32:06 -06:00
..
2018-06-08 13:40:53 +01:00
2021-11-19 12:02:35 -06:00
2018-06-08 13:40:53 +01:00
2021-10-18 19:17:27 +02:00
2021-09-27 18:56:14 +02:00
2021-09-15 15:24:56 +02:00
2021-03-19 23:21:18 +01:00
2021-02-08 23:53:41 +01:00
2018-06-08 13:40:53 +01:00
2021-02-08 23:43:38 +01:00
2018-06-08 13:40:53 +01:00
2021-02-17 11:21:35 +01:00
2021-02-08 23:53:41 +01:00
2018-06-08 13:40:53 +01:00