Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello,
I have configured node1 and node2 as primary and secondary. If node1 is crashed, how to mount /dev/drbd0? After node1 crashed, node2 can't run. Anybody help me pls?
after node1 crashed, I run below command on node2. But it was not run.
# cat /proc/drbd
version: 8.3.11 (api:88/proto:86-96)
srcversion: 71955441799F513ACA6DA60
0: cs:WFConnection ro:Secondary/Unknown ds:Diskless/DUnknown C r-----
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0
mount /dev/drbd0 /srv/data
mount: block device /dev/drbd0 is write-protected, mounting read-only
mount: Wrong medium type
my drbd.conf is below
resource r0 {
protocol C;
handlers {
pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt -f";
pri-lost-after-sb "echo o > /proc/sysrq-trigger ; halt -f";
local-io-error "echo o > /proc/sysrq-trigger ; halt -f";
#outdate-peer "/usr/lib/heartbeat/drbd-peer-outdater -t 5";
}
startup {
degr-wfc-timeout 120;
}
disk {
on-io-error detach;
}
net {
cram-hmac-alg sha1;
shared-secret "sessecses";
after-sb-0pri disconnect;
after-sb-1pri disconnect;
after-sb-2pri disconnect;
rr-conflict disconnect;
}
syncer {
rate 100M;
verify-alg sha1;
al-extents 257;
}
on node1 {
device /dev/drbd0;
disk /dev/sda5;
address 10.10.10.1:7788;
meta-disk internal;
}
on node2 {
device /dev/drbd0;
disk /dev/sda5;
address 10.10.10.2:7788;
meta-disk internal;
}
}
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120619/c94c0616/attachment.htm>