[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Zero LVM



Hi Jonathan,

On 12/6/10 5:24 PM, Jonathan Tripathy wrote:
Hi Everyone,

When providing Xen guests to cutomers, it is important to make sure that the LVM LV is "zeroed" before use. What is the correct syntax to do this?

I've tried:

dd if=/dev/zero of=/dev/vg0/lvname

however this seems to go on forever (unless my test machine is just slow!)

Any ideas?

That command will use a default block size of 512 bytes which takes, indeed, forever. Try:

dd if=/dev/zero of=/dev/vg0/lvname bs=1M




Regards,
Thomas

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.