mount: could not find any free loop device

Luciano Rocha strange at nsk.no-ip.org
Tue Jun 26 22:43:52 UTC 2007


On Wed, Jun 27, 2007 at 12:36:28AM +0200, Andras Simon wrote:
>  On 6/27/07, Andras Simon <szajmi at gmail.com> wrote:
> > I'm trying to
> >
> > mount -o loop,offset=32256 /usr/local/kvm-images/WinXP.raw /mnt/
> >
> > as I've done successfully several times before, but now I get
> >
> > mount: could not find any free loop device
> >
> > What can possibly use loop devices? There are eight processes called
> > loop0 through loop7, all started by kthread. But I've no idea what
> > they do and if it's them who are using the loop devices.
> >
> > This is on Fedora 7.
> 
>  losetup -a shows
> 
>  /dev/loop0: [080c]:14073859 (/usr/local/kvm-images/WinXP.raw), offset 32256
>  /dev/loop1: [080c]:14073859 (/usr/local/kvm-images/WinXP.raw), offset 32256
>  /dev/loop2: [080c]:14073859 (/usr/local/kvm-images/WinXP.raw), offset 32256
>  /dev/loop3: [080c]:14073859 (/usr/local/kvm-images/WinXP.raw), offset 32256
>  /dev/loop4: [080c]:14073859 (/usr/local/kvm-images/WinXP.raw), offset 32256
>  /dev/loop5: [080c]:14073859 (/usr/local/kvm-images/WinXP.raw), offset 32256
>  /dev/loop6: [080c]:14073859 (/usr/local/kvm-images/WinXP.raw), offset 32256
>  /dev/loop7: [080c]:14073859 (/usr/local/kvm-images/WinXP.raw), offset 32256
> 
>  and
> 
>  losetup -d /dev/loop0
> 
>  etc. gets rid of them, mount works again. What is still a mystery is
>  why all these loop devices were set up.
> 

Do you use kvm? The setup scripts could be buggy and forgetting to
remove the device.

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070626/2537417c/attachment-0001.sig>


More information about the fedora-list mailing list