Comment 2 for bug 925309

Revision history for this message
William Anderson (william-anderson) wrote :

Hi,

Just an added note, running the qemu-img command on a directory that is not encrypted results in a 5gb image file being created so fast that i thought there must have been an error of some sort, but there is a file created.

william@ishtar:/home/Books$ qemu-img create -f raw Ubuntu-11.04-desktop.img 5G
Formatting 'Ubuntu-11.04-desktop.img', fmt=raw size=5368709120
william@ishtar:/home/Books$ ls -al
total 8
drwxrwxrwx 2 root root 4096 2012-02-02 00:48 .
drwxr-xr-x 8 root root 4096 2012-01-20 00:39 ..
-rw-r--r-- 1 william william 5368709120 2012-02-02 00:51 Ubuntu-11.04-desktop.img
william@ishtar:/home/Books$ file Ubuntu-11.04-desktop.img
Ubuntu-11.04-desktop.img: data

VirtualBox also created an 8gb disk image file with no trouble.

both of these results were running the latest 3.0.0-15-generic kernel.

there seems to be a bad interaction with the kernel and the encrypted file system.