0

After a reboot, a SLES 12.3 box doesn't recognizes a few disks (that are actually behind HW raid).

What could the issue be?

If I "head /dev/sdb | strings | head" the problematic disks, I can see data on them, ok.

But "pvscan" doesn't recognizes it.

SERVER:~ # pvck /dev/sdb
  Device /dev/sdb not found (or ignored by filtering).
SERVER:~ # 
SERVER:~ # grep '  filter' /etc/lvm/lvm.conf
    filter = [ "r|/dev/.*/by-path/.*|", "r|/dev/.*/by-id/.*|", "r|/dev/fd.*|", "r|/dev/cdrom|",  "a|/dev/sd.*[1-9]|", "a|/dev/vda[1-9]|", "a|/dev/mapper/.*|", "a|/dev/dm-*|" , "r|.*|" ]
SERVER:~ #

Strangely, the OS recognizes sda, which holds the OS itself.

But it doesn't recognizes the sdb/sdc/etc (holding the data) as PV.

UPDATE on 2018 Dec 11: all the disks: sda (raid1), sdb(raid5), sdc(raid5), sdd(raid1) are on HW RAID. "zypper up" says nothing to update.

KollarA
  • 95

1 Answers1

0

finally, we found out:

It looks like something deleted the non-sda partitions :)

So the data was there on the ex.: sdb, sdc, sdd, but we had to re-run the partition creating oneliner:

parted -s /dev/sdb mklabel gpt mkpart primary xfs 0% 100% set 1 lvm on

and presto, pvscan found them! yay.

KollarA
  • 95