
我們只在一個節點上安裝了 DRBD(第二個節點沒有安裝)。
做完之後
drbdadm primary theres
service drbd start
一切正常(資源可用),但出現以下警告訊息
WARN: nothing stacked for this host (node01.com), nothing to do in stacked mode!
使用drbd 8.4.6,配置:
global {
minor-count 1;
usage-count no;
}
resource theres {
protocol C;
on node01.com {
device /dev/drbd0;
disk /dev/dxcd0e;
address 10.10.10.1:7788;
meta-disk internal;
}
on node02.com {
device /dev/drbd0;
disk /dev/dxcd0e;
address 10.10.10.2:7788;
meta-disk internal;
}
disk {
on-io-error detach;
}
net {
}
syncer {
rate 80M;
}
}
升級到該版本之前不會出現此情況。