Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!
0 Пользователей и 1 Гость просматривают эту тему.
root@ubuntu01:/dev/drbd0# sudo drbdadm create-md r0DRBD module version: 8.4.3 userland version: 8.3.11you should upgrade your drbd tools!md_offset 51538554880al_offset 51538522112bm_offset 51536949248Found ext3 filesystem 50330624 kB data area apparently used 50329052 kB left usable by current configurationDevice size would be truncated, whichwould 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 0 v08 /dev/sda1 internal create-md' terminated with exit code 40drbdadm create-md r0: exited with code 40
# You can find an example in /usr/share/doc/drbd.../drbd.conf.exampleinclude "drbd.d/global_common.conf";include "drbd.d/*.res";#global { usage-count no; }#common { syncer { rate 100M; } }resource r0 { protocol C; startup { wfc-timeout 15; degr-wfc-timeout 60; } net { cram-hmac-alg sha1; shared-secret "secret"; } on ubuntu01 { device /dev/drbd0; disk /dev/sda1; address 192.168.1.185:7788; meta-disk internal; } on ubuntu02 { device /dev/drbd0; disk /dev/sda1; address 192.168.0.186:7788; meta-disk internal; }}
You need to either * use external meta data (recommended) * shrink that filesystem first * zero out the device (destroy the filesystem)
dd if=/dev/zero of=/dev/sda1
Страница сгенерирована за 0.056 секунд. Запросов: 25.