Pinxi/inxi beta new feature, -L, redone -R raid, endless fixes and small new features

pinxi is at an advanced stage now, the oldest issues and glitches are now being taken care of, a large internal refactor, many new small features and fixes. I used endeavoros in a vm to do the main dev work for this, because, well, because it seemed like a good idea. It also iddn’t hurt that it had a built in luks installer so I had LUKS before even setting anything else up.

If you have pinxi already, then just do: pinxi -U

to install it:

cd /usr/local/bin ; sudo wget -O pinxi smxi.org/pinxi ; sudo chmod +x pinxi

The new option is -L, for --logical, it was going to be --lvm but then I realized there were other types of logical block devices.

To get -L able to function, I had to rewwrite RAID -R, which now also supports LVM RAID. -D Local Storage totals now take RAID into account, and will modify the reported totals and uses, with raw: … usable: used and also for LVM, an lvm-free: item with -x which shows how much unassigned LVM space there is.

Note that the test vm has a bunch of disks, many volume groups, logical volumes, lvm raid, mdraid… and of course, lvm on mdraid.

It does not have all the variants possible since there are too many, which is why feedback would be appreciated.

Note that I have on my todo list bcache support, but I am getting a bit burned on this, so figured, let’s see if the basic stuff is working for most people before it gets extended.

Let me know if there is anything you think is missing or should be added, LVM uses lvs to get the data, which a specially constructed option list, so it it can be added that way, I can extend stuff, but not a lot more.

This is in pinxi current, not in inxi, inxi and pinxi right now are about as far apart from eachother as they have been since pinxi perl was born, I’d say 10-15% of the internal logic has been refactored or optimized or enhanced or restructured.

# pinxi -LRDy
Logical:
  VG-1: vg0 type: lvm2 size: 49.99 GiB free: 23.99 GiB 
  LV-1: flac type: linear size: 15 GiB devices: 1: sdb 2: sdc 
  LV-2: mp3 type: linear size: 6 GiB devices: 1: sdb 
  LV-3: opus type: linear size: 5 GiB devices: 1: sdb 
  VG-2: vg1 type: lvm2 size: 24.41 GiB free: 14.64 GiB 
  LV-1: lvm_raid1 type: raid1 size: 4.88 GiB components: c-1: dm-10 c-2: dm-11 
  c-3: dm-13 c-4: dm-15 
  VG-3: vg2 type: lvm2 size: 24.98 GiB free: 4.98 GiB 
  LV-1: data1 type: linear size: 5 GiB devices: 1: md0 
  LV-2: data2 type: linear size: 5 GiB devices: 1: md0 
  LV-3: data3 type: linear size: 5 GiB devices: 1: md0 
  LV-4: data4 type: linear size: 5 GiB devices: 1: md0 
  VG-4: vg3 type: lvm2 size: 38.37 GiB free: 26.36 GiB 
  LV-1: lvm_raid5 type: raid5 size: 8 GiB components: c-1: dm-12 c-2: dm-5 
  c-3: dm-6 c-4: dm-7 c-5: dm-8 c-6: dm-9 
  VG-5: vg4 type: lvm2 size: 24.41 GiB free: 14.64 GiB 
  LV-1: thin_mirror0 type: raid1 size: 4.88 GiB components: c-1: dm-21 
  c-2: dm-22 c-3: dm-23 c-4: dm-24 
  Crypto-1: LUKS id: luks-a00baac5-44ff-4b48-b303-3bedb1f623ce size: 4.26 GiB 
  devices: 1: sda2 
  Crypto-2: LUKS id: luks-3342c0fb-1868-4ee4-84bd-4f77278cdb61 size: 35.91 GiB 
  devices: 1: sda1 
RAID:
  Device-1: lvm_raid1 type: lvm2 level: mirror size: 4.88 GiB sync: idle 
  Components: Online: 1: dm-11 2: dm-15 Meta: 1: dm-10 2: dm-13 
  Device-2: lvm_raid5 type: lvm2 level: raid-5 size: 8 GiB sync: idle 
  Components: Online: 1: dm-12 2: dm-6 3: dm-8 Meta: 1: dm-5 2: dm-7 3: dm-9 
  Device-3: thin_mirror0 type: lvm2 level: mirror size: 4.88 GiB sync: idle 
  Components: Online: 1: dm-22 2: dm-24 Meta: 1: dm-21 2: dm-23 
  Device-4: md0 type: mdraid level: mirror status: active size: 24.98 GiB 
  report: 2/2 UU 
  Components: Online: 0: sdf 1: sdg Spare: 2: sdi 
Drives:
  Local Storage: total: raw: 340.19 GiB usable: 276.38 GiB 
  used: 8.49 GiB (3.1%) 
  ID-1: /dev/sda vendor: VirtualBox model: VBOX HARDDISK size: 40.19 GiB 
  ID-2: /dev/sdb vendor: VirtualBox model: VBOX HARDDISK size: 25 GiB 
  ID-3: /dev/sdc vendor: VirtualBox model: VBOX HARDDISK size: 25 GiB 
  ID-4: /dev/sdd vendor: VirtualBox model: VBOX HARDDISK size: 25 GiB 
  ID-5: /dev/sde vendor: VirtualBox model: VBOX HARDDISK size: 25 GiB 
  ID-6: /dev/sdf vendor: VirtualBox model: VBOX HARDDISK size: 25 GiB 
  ID-7: /dev/sdg vendor: VirtualBox model: VBOX HARDDISK size: 25 GiB 
  ID-8: /dev/sdh vendor: VirtualBox model: VBOX HARDDISK size: 25 GiB 
  ID-9: /dev/sdi vendor: VirtualBox model: VBOX HARDDISK size: 25 GiB 
  ID-10: /dev/sdj vendor: VirtualBox model: VBOX HARDDISK size: 25 GiB 
  ID-11: /dev/sdk vendor: VirtualBox model: VBOX HARDDISK size: 25 GiB 
  ID-12: /dev/sdl vendor: VirtualBox model: VBOX HARDDISK size: 25 GiB 
  ID-13: /dev/sdm vendor: VirtualBox model: VBOX HARDDISK size: 25 GiB 

## And the full, --admin level RAID and Logical report.

# pinxi -LRDay
Logical:
  VG-1: vg0 type: lvm2 size: 49.99 GiB free: 23.99 GiB 
  LV-1: flac type: linear maj-min: 254:2 dm: dm-2 size: 15 GiB 
  devices: 1: sdb maj-min: 8:16 size: 25 GiB 2: sdc maj-min: 8:32 size: 25 GiB 
  LV-2: mp3 type: linear maj-min: 254:4 dm: dm-4 size: 6 GiB 
  devices: 1: sdb maj-min: 8:16 size: 25 GiB 
  LV-3: opus type: linear maj-min: 254:3 dm: dm-3 size: 5 GiB 
  devices: 1: sdb maj-min: 8:16 size: 25 GiB 
  VG-2: vg1 type: lvm2 size: 24.41 GiB free: 14.64 GiB 
  LV-1: [lvm_raid1_rimage_0] type: linear maj-min: 254:11 dm: dm-11 
  size: 4.88 GiB 
  devices: 1: sdd1 maj-min: 8:49 size: 12.21 GiB 
  LV-2: [lvm_raid1_rimage_1] type: linear maj-min: 254:15 dm: dm-15 
  size: 4.88 GiB 
  devices: 1: sde1 maj-min: 8:65 size: 12.21 GiB 
  LV-3: [lvm_raid1_rmeta_0] type: linear maj-min: 254:10 dm: dm-10 size: 4 MiB 
  devices: 1: sdd1 maj-min: 8:49 size: 12.21 GiB 
  LV-4: [lvm_raid1_rmeta_1] type: linear maj-min: 254:13 dm: dm-13 size: 4 MiB 
  devices: 1: sde1 maj-min: 8:65 size: 12.21 GiB 
  LV-5: lvm_raid1 type: raid1 maj-min: 254:16 dm: dm-16 size: 4.88 GiB 
  components: 
  c-1: dm-10 maj-min: 254:10 size: 4 MiB dev: d-1: sdd1 maj-min: 8:49 
  size: 12.21 GiB 
  c-2: dm-11 maj-min: 254:11 size: 4.88 GiB dev: d-1: sdd1 maj-min: 8:49 
  size: 12.21 GiB 
  c-3: dm-13 maj-min: 254:13 size: 4 MiB dev: d-1: sde1 maj-min: 8:65 
  size: 12.21 GiB 
  c-4: dm-15 maj-min: 254:15 size: 4.88 GiB dev: d-1: sde1 maj-min: 8:65 
  size: 12.21 GiB 
  VG-3: vg2 type: lvm2 size: 24.98 GiB free: 4.98 GiB 
  LV-1: data1 type: linear maj-min: 254:17 dm: dm-17 size: 5 GiB 
  devices: 1: md0 maj-min: 9:0 size: 24.98 GiB 
  LV-2: data2 type: linear maj-min: 254:18 dm: dm-18 size: 5 GiB 
  devices: 1: md0 maj-min: 9:0 size: 24.98 GiB 
  LV-3: data3 type: linear maj-min: 254:19 dm: dm-19 size: 5 GiB 
  devices: 1: md0 maj-min: 9:0 size: 24.98 GiB 
  LV-4: data4 type: linear maj-min: 254:20 dm: dm-20 size: 5 GiB 
  devices: 1: md0 maj-min: 9:0 size: 24.98 GiB 
  VG-4: vg3 type: lvm2 size: 38.37 GiB free: 26.36 GiB 
  LV-1: [lvm_raid5_rimage_0] type: linear maj-min: 254:6 dm: dm-6 size: 4 GiB 
  devices: 1: sdd2 maj-min: 8:50 size: 12.79 GiB 
  LV-2: [lvm_raid5_rimage_1] type: linear maj-min: 254:8 dm: dm-8 size: 4 GiB 
  devices: 1: sde2 maj-min: 8:66 size: 12.79 GiB 
  LV-3: [lvm_raid5_rimage_2] type: linear maj-min: 254:12 dm: dm-12 
  size: 4 GiB 
  devices: 1: sdh2 maj-min: 8:114 size: 12.79 GiB 
  LV-4: [lvm_raid5_rmeta_0] type: linear maj-min: 254:5 dm: dm-5 size: 4 MiB 
  devices: 1: sdd2 maj-min: 8:50 size: 12.79 GiB 
  LV-5: [lvm_raid5_rmeta_1] type: linear maj-min: 254:7 dm: dm-7 size: 4 MiB 
  devices: 1: sde2 maj-min: 8:66 size: 12.79 GiB 
  LV-6: [lvm_raid5_rmeta_2] type: linear maj-min: 254:9 dm: dm-9 size: 4 MiB 
  devices: 1: sdh2 maj-min: 8:114 size: 12.79 GiB 
  LV-7: lvm_raid5 type: raid5 maj-min: 254:14 dm: dm-14 size: 8 GiB 
  components: 
  c-1: dm-12 maj-min: 254:12 size: 4 GiB dev: d-1: sdh2 maj-min: 8:114 
  size: 12.79 GiB 
  c-2: dm-5 maj-min: 254:5 size: 4 MiB dev: d-1: sdd2 maj-min: 8:50 
  size: 12.79 GiB 
  c-3: dm-6 maj-min: 254:6 size: 4 GiB dev: d-1: sdd2 maj-min: 8:50 
  size: 12.79 GiB 
  c-4: dm-7 maj-min: 254:7 size: 4 MiB dev: d-1: sde2 maj-min: 8:66 
  size: 12.79 GiB 
  c-5: dm-8 maj-min: 254:8 size: 4 GiB dev: d-1: sde2 maj-min: 8:66 
  size: 12.79 GiB 
  c-6: dm-9 maj-min: 254:9 size: 4 MiB dev: d-1: sdh2 maj-min: 8:114 
  size: 12.79 GiB 
  VG-5: vg4 type: lvm2 size: 24.41 GiB free: 14.64 GiB 
  LV-1: [thin_mirror0_rimage_0] type: linear maj-min: 254:22 dm: dm-22 
  size: 4.88 GiB 
  devices: 1: sdh1 maj-min: 8:113 size: 12.21 GiB 
  LV-2: [thin_mirror0_rimage_1] type: linear maj-min: 254:24 dm: dm-24 
  size: 4.88 GiB 
  devices: 1: sdj1 maj-min: 8:145 size: 12.21 GiB 
  LV-3: [thin_mirror0_rmeta_0] type: linear maj-min: 254:21 dm: dm-21 
  size: 4 MiB 
  devices: 1: sdh1 maj-min: 8:113 size: 12.21 GiB 
  LV-4: [thin_mirror0_rmeta_1] type: linear maj-min: 254:23 dm: dm-23 
  size: 4 MiB 
  devices: 1: sdj1 maj-min: 8:145 size: 12.21 GiB 
  LV-5: thin_mirror0 type: raid1 maj-min: 254:25 dm: dm-25 size: 4.88 GiB 
  components: 
  c-1: dm-21 maj-min: 254:21 size: 4 MiB dev: d-1: sdh1 maj-min: 8:113 
  size: 12.21 GiB 
  c-2: dm-22 maj-min: 254:22 size: 4.88 GiB dev: d-1: sdh1 maj-min: 8:113 
  size: 12.21 GiB 
  c-3: dm-23 maj-min: 254:23 size: 4 MiB dev: d-1: sdj1 maj-min: 8:145 
  size: 12.21 GiB 
  c-4: dm-24 maj-min: 254:24 size: 4.88 GiB dev: d-1: sdj1 maj-min: 8:145 
  size: 12.21 GiB 
  Crypto-1: LUKS id: luks-a00baac5-44ff-4b48-b303-3bedb1f623ce maj-min: 254:1 
  dm: dm-1 size: 4.26 GiB 
  devices: 1: sda2 maj-min: 8:2 size: 4.26 GiB 
  Crypto-2: LUKS id: luks-3342c0fb-1868-4ee4-84bd-4f77278cdb61 maj-min: 254:0 
  dm: dm-0 size: 35.91 GiB 
  devices: 1: sda1 maj-min: 8:1 size: 35.92 GiB 
RAID:
  Device-1: lvm_raid1 maj-min: 254:16 type: lvm2 level: mirror size: 4.88 GiB 
  sync: idle 
  Info: stripes: 2 mismatches: 0 copied: 100% v-group: vg1 vg-size: 24.41 GiB 
  vg-free: 14.64 GiB 
  Components: Online: 
  1: dm-11 maj-min: 254:11 size: 4.88 GiB mapped: vg1-lvm_raid1_rimage_0 
  dev: sdd1 
  2: dm-15 maj-min: 254:15 size: 4.88 GiB mapped: vg1-lvm_raid1_rimage_1 
  dev: sde1 
  Meta: 
  1: dm-10 maj-min: 254:10 size: 4 MiB mapped: vg1-lvm_raid1_rmeta_0 dev: sdd1 
  2: dm-13 maj-min: 254:13 size: 4 MiB mapped: vg1-lvm_raid1_rmeta_1 dev: sde1 
  Device-2: lvm_raid5 maj-min: 254:14 type: lvm2 level: raid-5 size: 8 GiB 
  sync: idle 
  Info: stripes: 3 mismatches: 0 copied: 100% v-group: vg3 vg-size: 38.37 GiB 
  vg-free: 26.36 GiB 
  Components: Online: 
  1: dm-12 maj-min: 254:12 size: 4 GiB mapped: vg3-lvm_raid5_rimage_2 
  dev: sdh2 
  2: dm-6 maj-min: 254:6 size: 4 GiB mapped: vg3-lvm_raid5_rimage_0 dev: sdd2 
  3: dm-8 maj-min: 254:8 size: 4 GiB mapped: vg3-lvm_raid5_rimage_1 dev: sde2 
  Meta: 
  1: dm-5 maj-min: 254:5 size: 4 MiB mapped: vg3-lvm_raid5_rmeta_0 dev: sdd2 
  2: dm-7 maj-min: 254:7 size: 4 MiB mapped: vg3-lvm_raid5_rmeta_1 dev: sde2 
  3: dm-9 maj-min: 254:9 size: 4 MiB mapped: vg3-lvm_raid5_rmeta_2 dev: sdh2 
  Device-3: thin_mirror0 maj-min: 254:25 type: lvm2 level: mirror 
  size: 4.88 GiB sync: idle 
  Info: stripes: 2 mismatches: 0 copied: 100% v-group: vg4 vg-size: 24.41 GiB 
  vg-free: 14.64 GiB 
  Components: Online: 
  1: dm-22 maj-min: 254:22 size: 4.88 GiB mapped: vg4-thin_mirror0_rimage_0 
  dev: sdh1 
  2: dm-24 maj-min: 254:24 size: 4.88 GiB mapped: vg4-thin_mirror0_rimage_1 
  dev: sdj1 
  Meta: 
  1: dm-21 maj-min: 254:21 size: 4 MiB mapped: vg4-thin_mirror0_rmeta_0 
  dev: sdh1 
  2: dm-23 maj-min: 254:23 size: 4 MiB mapped: vg4-thin_mirror0_rmeta_1 
  dev: sdj1 
  System supports mdraid: raid1 raid6 raid5 raid4 
  Device-4: md0 maj-min: 9:0 type: mdraid level: mirror status: active 
  state: clean size: 24.98 GiB 
  Info: report: 2/2 UU blocks: 26196992 chunk size: N/A super blocks: 1.2 
  Components: Online: 
  0: sdf maj-min: 8:80 size: 25 GiB state: active sync 
  1: sdg maj-min: 8:96 size: 25 GiB state: active sync 
  Spare: 
  2: sdi maj-min: 8:128 size: 25 GiB state: spare 
Drives:
  Local Storage: total: raw: 340.19 GiB usable: 276.38 GiB lvm-free: 84.61 GiB 
  used: 8.49 GiB (3.1%) 
  ID-1: /dev/sda maj-min: 8:0 vendor: VirtualBox model: VBOX HARDDISK 
  size: 40.19 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: VBd3607451-41a541bd rev: 1.0 
  SMART: no 
  ID-2: /dev/sdb maj-min: 8:16 vendor: VirtualBox model: VBOX HARDDISK 
  size: 25 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: VBb5407051-c69764d7 rev: 1.0 
  SMART: no 
  ID-3: /dev/sdc maj-min: 8:32 vendor: VirtualBox model: VBOX HARDDISK 
  size: 25 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: VBc4b6b2f6-4eb40f0f rev: 1.0 
  SMART: no 
  ID-4: /dev/sdd maj-min: 8:48 vendor: VirtualBox model: VBOX HARDDISK 
  size: 25 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: VB8d5f7ac2-dfdff49c rev: 1.0 
  SMART: no 
  ID-5: /dev/sde maj-min: 8:64 vendor: VirtualBox model: VBOX HARDDISK 
  size: 25 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: VBde128404-98e24d6f rev: 1.0 
  SMART: no 
  ID-6: /dev/sdf maj-min: 8:80 vendor: VirtualBox model: VBOX HARDDISK 
  size: 25 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: VBbeae7bc0-99a26ed8 rev: 1.0 
  SMART: no 
  ID-7: /dev/sdg maj-min: 8:96 vendor: VirtualBox model: VBOX HARDDISK 
  size: 25 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: VBbd6c1deb-58016f41 rev: 1.0 
  SMART: no 
  ID-8: /dev/sdh maj-min: 8:112 vendor: VirtualBox model: VBOX HARDDISK 
  size: 25 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: VBb4535226-dd865fc8 rev: 1.0 
  SMART: no 
  ID-9: /dev/sdi maj-min: 8:128 vendor: VirtualBox model: VBOX HARDDISK 
  size: 25 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: VBf19cf218-38c5f705 rev: 1.0 
  SMART: no 
  ID-10: /dev/sdj maj-min: 8:144 vendor: VirtualBox model: VBOX HARDDISK 
  size: 25 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: VB6ba6751b-ab1b1795 rev: 1.0 
  SMART: no 
  ID-11: /dev/sdk maj-min: 8:160 vendor: VirtualBox model: VBOX HARDDISK 
  size: 25 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: VB864d77ae-b60876e6 rev: 1.0 
  SMART: no 
  ID-12: /dev/sdl maj-min: 8:176 vendor: VirtualBox model: VBOX HARDDISK 
  size: 25 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: VBbdcf5f67-52d5d0eb rev: 1.0 
  SMART: no 
  ID-13: /dev/sdm maj-min: 8:192 vendor: VirtualBox model: VBOX HARDDISK 
  size: 25 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: VBef5e7de6-368cd338 rev: 1.0 
  SMART: no
4 Likes

pinxi in the aur is the same ?

I think pinxi in AUR is just a wrapper around git grabbing pinxi from github.

this is what i have :slight_smile:
pinxi is development branch right?

Yes, pinxi is the development version of inxi. All new stuff happens in pinxi first, then once it’s stable and largely done, that gets transferred to inxi for next inxi release.

Note that Arch lvs, vgs, lvdisplay, vgdisplay, have a bug which I may report, pinxi does internal tests on starrtup to see there are permission issues using lvs, the main LVM tool, but the bug is that for some reason, pvs started as non sudo/root correctly returns error code, but lvs and vgs do not, that’s wrong, so the pinxi tests will result for regular user mode like you ran it as in saying there is no lvm data, not to try with root, which is what it’s supposed to say. It does some more tests that in certain cases use non root tools to detect that lvm volumes exist, and those tests, if the data source is present, will also determine the no data type message. Complicated, but the goal is to show the right message always, which is why I need to report the lvs bug to arch.

btw i also i have no lvm also lvm2-mon orsomething is disabled

Yes, there’s two testings that are useful, one is just to run the full pinxi -v8 output as user and root, just to see if there are errors, the other is if you have RAID Or LVM or LUKS, or various other things which will show with sudo pinxi -LDRay. RAID that is not lvm does not require root.

These features are now in inxi 3.2.01 (01 was a quick bug fix for a very subtle issue someone discovered, a two part bug, one very old, and one introduced in 3.2, but manifesting in the same place).

Note that some of the above -L line syntax did not survive, for instance, all Device-xx are now devices, then the type clarifies what type it is, like LVM2, LUKS, bcache, and so on. The nested component list uses new syntax to make it more obvious in normal output form, I was using -y1 too much during testing and didn’t realize how hard it could be to situate a c component with its parent c or p device, now the letters increment to let you know what depth each item is at relative to the others. Also fixed was limited depths, now inxi correctly doesn’t care how many levels of components or devices there are, it will show them all, unless it doesn’t know about one of the types of the level, but that’s easy to correct with the right bug/issue report.

2 Likes

Sample of the finalized syntax, and some other changes Yes, that’s a volume group on 2 physical partitions, the vg is divided into two logical volumes, which are used by mdraid to form a raid mirror, bcache is added to the top of md0, and the actual cache diisk is sdb3, which exposed a lot of bugs in my original logic (two primary components of a device at different levels in), LUKS added on the bcache, and a volume group added on the luks, and 2 logical volumes added on the volume group.

inxi -Lxxy
Logical:
  Device-1: VG: vg1 type: LVM2 size: 15.62 GiB free: 0 KiB 
  LV-1: split1 type: linear dm: dm-0 size: 7.81 GiB 
  Components: p-1: sdb1 
  LV-2: split2 type: linear dm: dm-1 size: 7.81 GiB 
  Components: p-1: sdb2 
  Device-2: VG: vg2 type: LVM2 size: 7.79 GiB free: 0 KiB 
  LV-1: top1 type: linear dm: dm-3 size: 3.89 GiB 
  Components: c-1: dm-2 cc-1: bcache0 ccc-1: md0 cccc-1: dm-0 ppppp-1: sdb1 
  cccc-2: dm-1 ppppp-1: sdb2 ppp-1: sdb3 
  LV-2: top2 type: linear dm: dm-4 size: 3.89 GiB 
  Components: c-1: dm-2 cc-1: bcache0 ccc-1: md0 cccc-1: dm-0 ppppp-1: sdb1 
  cccc-2: dm-1 ppppp-1: sdb2 ppp-1: sdb3 
  Device-3: extreme type: LUKS dm: dm-2 size: 7.79 GiB 
  Components: c-1: bcache0 cc-1: md0 ccc-1: dm-0 pppp-1: sdb1 ccc-2: dm-1 
  pppp-1: sdb2 pp-1: sdb3 
  Device-4: bcache0 type: bcache size: 7.8 GiB 
  Components: c-1: md0 cc-1: dm-0 ppp-1: sdb1 cc-2: dm-1 ppp-1: sdb2 p-1: sdb3