![]() ![]() Then try to flush multipath device again and if the problem is still exists, follow the below for troubleshooting: If there is no problem about killing the process, kill the process by the below command: kill -9 10298 In this example output, oracle process holding the disk and the process should be identified before any action: ps -ef | grep 10298 Here is an example of the error: multipath -f (deleted) Once all holders of the device have been removed, the multipath device should be flushed with “ multipath -f“.īut may the above instruction failed at first step because the disk is hold by a process. See dmsetup man page for full explanation of these commands. If “ lvchange -an” fails, the logical volume is only partially removed, or there are blocked processes with I/O outstanding on the device, use “ dmsetup remove -f” followed by “ dmsetup clear” on the multipath device.A list of logical volumes associated with the multipath device may be found by examining the output of “ lvs -o +devices“. Use “ lvchange -an” to deactivate any logical volume(s) associated with the multipath device.The multipath device was used by LVM, and still has device mapper state in the kernel.Unmount the filesystem and if it exists in /etc/fstab, remove it.A filesystem exists on the multipath device and is currently mounted.Use “ kpartx -d” on the multipath device to remove the device partition mapping(s). ![]() One or more partition mapping(s) still exists on the multipath device.Some examples of possible holders of a multipath device and the commands to release it:.For any subsystem or process holding the multipath device open, stop the process, or issue commands to release the multipath device.Locate any subsystem or process holding the multipath device open.1.2 Solution! Multipath Device, Remove From Linuxīased on Red Hat solution ( ), the below steps should be done before flush any multipath device, otherwise the command will be failed: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |