On Sun, Mar 6, 2016 at 8:33 AM Franco Martelli <martelli...@gmail.com>
wrote:

> The "fuser" command does not print nothing about PID of processes that
> keep busy a schroot's generated mount-point. Error messages when I
> logout a schroot session:
>
> It actually finds the process you are looking for, however it also finds a
lot of other processes.

~# fuser -m
> /var/lib/schroot/mount/kubuntu-a3ca1d7f-7fce-4673-b84a-6c4835bd7316
>
Find something that is in that mount point OR the device of this file.

However there is something odd about that mount point.

> /proc/2061/mountinfo:196 41 253:3 /
> /var/lib/schroot/mount/kubuntu-a3ca1d7f-7fce-4673-b84a-6c4835bd7316
> rw,relatime shared:135 - ext4 /dev/mapper/ld0-lv2
> rw,stripe=256,data=ordered
>
 Device 253:3
I suspect this device is more than just your schroot.
It looks awfully like /dev/dm-3

$ ls -l /dev/dm-3
brw-rw---- 1 root disk 253, 3 Mar  1 19:33 /dev/dm-3

so.. considering the chroot device id is the same as whatever /dev/dm-3 is,
you'll get a long list of processes because it probably something like /home

 - Craig


-- 
Craig Small (@smallsees)   http://enc.com.au/       csmall at : enc.com.au
Debian GNU/Linux           http://www.debian.org/   csmall at : debian.org
GPG fingerprint:        5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5

Reply via email to