Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Dear all, I have got answer from : http://www.linux-ha.org/DRBD/FAQ best regards, Edward From: guohuai_li at hotmail.com To: drbd-user at lists.linbit.com Date: Thu, 19 Feb 2009 17:09:18 +0800 Subject: [DRBD-user] drbdadm create-md resource failed. Hi, dear friends, I had configured drbd-8.3.0 well. In order to make the disk clean, I issued command "mkfs /dev/sda10"; then issued command "drbdadm create-md r0", then meet below problem: ++++++++++++++++++++++++++++++++++++ linux-10:~ # drbdadm create-md r0 md_offset 50009665536 al_offset 50009632768 bm_offset 50008104960 Found ext2 filesystem which uses 48837568 kB current configuration leaves usable 48836040 kB Device size would be truncated, which would corrupt data and result in 'access beyond end of device' errors. You need to either * use external meta data (recommended) * shrink that filesystem first * zero out the device (destroy the filesystem) Operation refused. Command 'drbdmeta /dev/drbd0 v08 /dev/sda10 internal create-md' terminated with exit code 40 drbdadm create-md r0: exited with code 40 +++++++++++++++++++++++++++++++++++++++++++++++ Would you help to explain this? No important data on the disk, I just want DRBD works, what can I do ? Best regards, Edward Explore the seven wonders of the world Learn more! _________________________________________________________________ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090219/21796e3a/attachment.htm>