[Bug 15339] New: loop-device not always released after usage.

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Tue Sep 13 15:14:24 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=15339
Ubuntu | kernel-package

           Summary: loop-device not always released after usage.
           Product: Ubuntu
           Version: unspecified
          Platform: amd64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel-package
        AssignedTo: ben.collins at ubuntu.com
        ReportedBy: jesper at krogh.cc
         QAContact: kernel-bugs at lists.ubuntu.com


When having used the loop-back filsystem mount several times (20+) it seem that
the loopback device doesn't get released every time:
root at hal:/tmp# mount | grep loop
/tmp/initrd.img.new on /mnt type cramfs (rw,loop=/dev/loop7)
root at hal:/tmp# mount /tmp/newsys.img /tmp/newsys -oloop
mount: could not find any free loop device
root at hal:/tmp# 

Usually there har 8 available: 
root at hal:~# ls -nc /dev/loop*
brw-rw----  1 0 6 7, 0 Sep 13 13:35 /dev/loop0
brw-rw----  1 0 6 7, 1 Sep 13 13:35 /dev/loop1
brw-rw----  1 0 6 7, 2 Sep 13 13:35 /dev/loop2
brw-rw----  1 0 6 7, 3 Sep 13 13:35 /dev/loop3
brw-rw----  1 0 6 7, 4 Sep 13 13:35 /dev/loop4
brw-rw----  1 0 6 7, 5 Sep 13 13:35 /dev/loop5
brw-rw----  1 0 6 7, 6 Sep 13 13:35 /dev/loop6
brw-rw----  1 0 6 7, 7 Sep 13 13:35 /dev/loop7

root at hal:~# uname -a             
Linux hal.localdomain 2.6.12-3-amd64-k8-smp #1 SMP Mon Jul 4 16:07:37 BST 2005
x86_64 GNU/Linux

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kernel-bugs mailing list