On 6/27/07, Andras Simon <szajmi@xxxxxxxxx> 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. Andras
Andras