Hi,

On 01/11/2012 01:24 PM, Yuan Luo wrote:
> dd if=/dev/null of=/dev/sda1 bs=1M count=1

don't you mean /dev/zero?

/dev/sda1 is unlikely to start in a boot sector, I'm not sure about LVM
metadata though. If this wiped it, I guess you're good(?)

*If* you ever do need to wipe a boot sector, be aware that its 512
byte(!) not 1M (that's 2048 boot sectors' worth of data).

Finally, manipulating the backing devices of a live DRBD is horribly bad
practice as far as I'm concerned.

HTH,
Felix
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to