Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi, Thanks for your comments. It was my typo, it is /dev/zero And I was creating pv /dev/drbd0 instead of /dev/sda1. And I was wrong, the 1M erased is not MBR which is related with booting, but some other header for which part I'm not sure. But now it works. Thanks. BRs, Yuan Luo -----Original Message----- From: Felix Frank [mailto:ff at mpexnet.de] Sent: 2012年1月11日 21:10 To: Yuan Luo Cc: drbd-user Subject: Re: [DRBD-user] DRBD LVM device-mapper error 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