My backup disks use lvm.
They are both inserted into the same cage, so only one of them can be present in the system at any one time. When I remove a disk, the entry in
/dev/mapper usually doesn't go away, misleading to be interpreted as if the disk was present.
I want to run a command, that updates
/dev/mapper entirely, to be sure that available disks show up and unavailable disk do not.
How can I do that?