[solved] LVM pvcreate "successful" but "pvs" does not show half the devices

I use OpenMediaVault 6 with the lvm plugin, on my Desktop PC with a bunch of SSDs. I use either the GUI or Commandline to create LVM physical volumes, but /dev/sdb and /dev/sdc (all identical and functioning SSDs) don’t show up and are not found to e.g. create a volume group.

root@omv:~# pvcreate /dev/sda /dev/sdb /dev/sdc /dev/sdd
  Physical volume "/dev/sda" successfully created.
  Physical volume "/dev/sdb" successfully created.
  Physical volume "/dev/sdc" successfully created.
  Physical volume "/dev/sdd" successfully created.
root@omv:~# pvs
  PV         VG Fmt  Attr PSize   PFree  
  /dev/sda      lvm2 ---  931.51g 931.51g
  /dev/sdd      lvm2 ---  931.51g 931.51g

Any ideas what is going on?

Oh found it (of course immediately after posting …) – leaving the post for other people with similar problems. pvck showed

root@omv:~# pvck /dev/sdb
  Cannot use /dev/sdb: device is an md component.

while

root@omv:~# mdadm /dev/sdb
/dev/sdb: is not an md array

But then a simple reboot solved the issue.

1 Like