I found something strange, and anoying for me: I'm unable to use /dev/loop[0-9]
How to reproduce:
Have some free space on a disk
Boot Mint Live 4.0 KDE (probably also works with other versions)
Open a terminal and type:
# sudo mkdir /mnt/1
# sudo mkdir /mnt/2
# sudo mount /dev/sd[your_partition_here] /mnt/1
Let's create a virtual partition
# sudo dd if=/dev/zero of=/mnt/1/virtual bs=1M count=2000
Use this virtual partition inside a loop device:
# sudo losetup -f
--> /dev/loop1
# sudo losetup /dev/loop1 /mnt/1/virtual
First test:
# sudo dd if=/dev/zero of=/dev/loop1 bs=1M
--> some datas are written and sometimes the process stop responding
--> and sometimes everything is fine. Depend of what ?
Create a filesystem:
# sudo mkfs.ext2 /dev/loop1
And mount it:
# sudo mount /dev/loop1 /mnt/2
Check it:
# df -h
--> 2 Gb free on /mnt/2
Test 2:
# sudo dd if=/dev/zero of=/mnt/2/bigone bs=1M
--> this test generally never end
--> datas start to be written, then nothing happens
--> iostat show either 50% iowait, or 50% system on a dual core CPU
I tested this on two different computers with Linux Mint Live 4.0 KDE.
AMD 4200+ 1 Gb
Intel Celron 1 Gb
I also tested with Debian Etch, and you can see the bug report here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483830
Fedora 9 Live don't have this behaviour.
The lastest Ubuntu don't have this behaviour.




