[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Zero LVM
On 06/12/10 16:39, Thomas Ronner wrote: 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/lvnamehowever 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 Thanks for that!I'm now getting No space left on device. I'm guessing I have to use a count parameter. What value would I set it at? Thanks _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |