Linux /dev/mapper – remove entries

I recently had a linux distro that upon losing all members of a Volume group in LVM didn’t allow me to recreate the volume group with the same name as /dev/mapper/volume_name was still present.

vgscan was complaining like this:

What I ended up doing is: