1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/device
наб 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
..
bcache-utils.c cov: ensure data is not derefenced 2021-09-20 14:26:09 +02:00
bcache.c cov: mask some warning about leakage 2021-09-20 14:26:09 +02:00
bcache.h bcache: use indirection table for fd 2020-09-18 15:10:11 -05:00
dev-cache.c pvscan: fix error message for invalid devname 2021-12-01 14:38:17 -06:00
dev-cache.h pvs_online: include devname in pvid files 2021-11-09 11:26:26 -06:00
dev-dasd.c cov: mask uninitialized value 2021-03-10 01:34:27 +01:00
dev-ext-udev-constants.h dev-type: check for DEVLINKS udev db variable existence if udev_device_get_is_initialized fn is not present 2016-09-06 13:21:29 +02:00
dev-ext.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-io.c make: opened can be needed for either defines case 2021-09-27 18:56:14 +02:00
dev-luks.c devices: rework libudev usage 2021-07-13 11:11:23 -05:00
dev-lvm1-pool.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-md.c devices: rework libudev usage 2021-07-13 11:11:23 -05:00
dev-mpath.c devices: exclude multipath components based on matching wwid 2021-11-18 17:41:00 -06:00
dev-swap.c devices: rework libudev usage 2021-07-13 11:11:23 -05:00
dev-type.c cov: add initilizer 2021-07-28 00:49:28 +02:00
dev-type.h devices: exclude multipath components based on matching wwid 2021-11-18 17:41:00 -06:00
device_id.c device_id: handle wwid with spaces or control characters 2021-12-02 13:33:18 -06:00
device_id.h devices: exclude multipath components based on matching wwid 2021-11-18 17:41:00 -06:00
device-types.h devices: recognise rbd (ceph rados block device) 2021-12-13 13:32:06 -06:00
device.h toollib: remove all devices list from process_each_pv 2021-10-13 17:29:32 -05:00
online.c online files: fix vgname check 2021-11-12 11:52:36 -06:00
online.h pvs_online: include devname in pvid files 2021-11-09 11:26:26 -06:00