[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Wrong size on a domU partition
On Sun, Mar 20, 2011 at 5:55 AM, Simon Hobson <linux@xxxxxxxxxxxxxxxx> wrote: >> > I create the file with this command >>> >>> dd if=/dev/zero of=/xen/domains/SRV03/opt-disk.img bs=1024k seek=30720 >>> count=30720 > The command should be : > dd if=/dev/zero of=/xen/domains/SRV03/opt-disk.img bs=1024k seek=30719 > count=1 > > This will seek to 1M under 30G (( 30 * 1024 ) - 1 ), and then write 1M of > zeros. ... 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. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |