We cannot kill these processes, because they are already waiting for a signal from the kernel. In my case there was some vgs processes blocked trying to access the device. We can try to find out which processes are with lsoft command filtering by device mayor and minor number: ~# pvremove /dev/mapper/2554b454e79496758Īnd if the device file is still mapped under /dev remove it:Īt this point there shouldn’t be any processes accessing this device and we should be able to remove it with the command above, but it some cases there are still processes blocked waiting for the device. ~# dmsetup info /dev/mapper/2554b454e79496758įirst remove any LVM active devices on this device, ex: if you have a volume group “vggroup” and a lvm “vol1” on this device remove them: You can view how many processes are using this map with the dmsetup tool, see the open count field: I tried to remove with multipath -f, but it was not possible, it said that the map was in use: This device is on top on some lvm volumes that I am not using it any longer. I got in trouble when I tried to remove a multipath device from my servers.
0 Comments
Leave a Reply. |