WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Wrong size on a domU partition

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 ?

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users