* loopback block device will not free
@ 2018-11-01 20:22 tedheadster
0 siblings, 0 replies; only message in thread
From: tedheadster @ 2018-11-01 20:22 UTC (permalink / raw)
To: linux-block, axboe
Jens,
I am running the latest 4.19 kernel. When I mount a disk image using
option 'loop' in /etc/fstab, it mounts just fine. When I un-mount the
loopback device, lsof verifies that nothing else is using it.
However, losetup -d will not free the device. Also, the reference
counts in lsmod show 2 references for the one loopback device.
Where should I start debugging?
/usr/src/linux.stable # losetup
NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE DIO LOG-SEC
/dev/loop0 0 0 1 0 /mnt/images0/i486.img 0 512
/usr/src/linux.stable # lsmod | grep loop
loop 24576 2
- Matthew Whitehead
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-11-01 20:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-01 20:22 loopback block device will not free tedheadster
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.