Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello,
First, I realize that a software RAID1 will accomplish
this, but just humor me please.
The drbd.conf man page mentions the ability to use the
loopback address to maintain DRBD on a single node. I am
referencing the disable-io-hints portion.
I am having trouble finding a correct drbd.conf example
that would show how to accomplish a single node setup and
what I have tried gives me route errors when I try to start
up DRBD.
Here is what I have:
global { disable-io-hints; }
resource r0 {
protocol C;
startup {
wfc-timeout 0; degr-wfc-timeout 120;
}
disk {
on-io-error detach;
}
net { }
syncer {
rate 50M;
group 0;
}
on laptop {
device startup {
wfc-timeout 0; degr-wfc-timeout 120;
}
disk {
on-io-error detach;
}
net { }
syncer {
rate 10M;
group 0;
}
on laptop {
device /dev/drbd0;
disk /dev/hda6;
address 192.168.0.213:7788;
meta-disk internal;
}
on localhost {
device /dev/drbd1;
disk /dev/hda7;
address 127.0.0.1:7788;
meta-disk internal;
}
}
Thanks for the help!
Regards,
Shane M. Walton
dsrelist at yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com