[Lxc-users] disk limit?

Gordon Henderson gordon at drogon.net
Thu May 19 08:32:45 UTC 2011


On Wed, 18 May 2011, Serge Hallyn wrote:

>   dd if=/dev/zero of=/srv/container1.rootfs.img bs=1M skip=10000 count=1

That ought to be seek=10000, not skip. (you skip the input, seek the 
outout)

I'm not a fan of this though - if you create the image file(s) using dd 
there is a good chance it's going to be mostly consecutive blocks on the 
disk which is probably going to be more efficient in the long-run.

Gordon




More information about the lxc-users mailing list