On Fri, Jul 16, 2021 at 11:15 AM Vojtech Juranek <vjura...@redhat.com>
wrote:

>
> >
> > What to do to crosscheck what is using the device and so preventing the
> > "-f" to complete?
>
> can you try
>
>     dmsetup info  /dev/mapper/36090a0d800851c9d2195d5b837c9e328
>
> and check "Open count" filed to see if there is still anything open?
>
> Also, you can try
>
>     fuser /dev/dm-2
>
> to see which process is using the device
>
>
>
[root@ov301 ~]# dmsetup info  /dev/mapper/36090a0d800851c9d2195d5b837c9e328
Name:              36090a0d800851c9d2195d5b837c9e328
State:             ACTIVE
Read Ahead:        256
Tables present:    LIVE
Open count:        1
Event number:      0
Major, minor:      253, 2
Number of targets: 1
UUID: mpath-36090a0d800851c9d2195d5b837c9e328

[root@ov301 ~]# fuser /dev/dm-2
[root@ov301 ~]# echo $?
1
[root@ov301 ~]# ll /dev/dm-2
brw-rw----. 1 root disk 253, 2 Jul 15 11:28 /dev/dm-2

I'm still unable to remove it:
[root@ov301 ~]# multipath -f 36090a0d800851c9d2195d5b837c9e328
Jul 16 12:25:11 | 36090a0d800851c9d2195d5b837c9e328: map in use
[root@ov301 ~]#
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SD67AU7Q3GX254V6JTOJBZNBZJTPY5O3/

Reply via email to