On Sun, Mar 20, 2011 at 5:01 PM, Simon Hobson <
linux@xxxxxxxxxxxxxxxx> wrote:
> Fajar A. Nugraha wrote:
>
>> ... or simply
>>
>> dd if=/dev/zero of=/xen/domains/SRV03/opt-disk.img bs=1024k seek=30720
>> count=0
>>
>> that way no actual write needs to occur, but you get the same result.
>
> I'd never thought of trying a count of zero.
>
> On the other hand, what does this do for I/O performance long term ? Does a
> sparse image that's grown piecemeal over time perform better/worse/no
> different to an image that was written in one go ?
It shouldn't matter much how many times you extend it (as long as the