[drbd-mc] drbd.d config directory not used anymore and some resources not available anymore.
Caspar Smit
c.smit at truebit.nl
Fri Jan 21 13:04:30 CET 2011
Hi Rasto,
The resource section for r3 is exactly the same as for r0, r1 and r2:
resource r3 {
protocol C;
handlers {
pri-on-incon-degr "echo o > /proc/sysrq-trigger ; reboot -f";
pri-lost-after-sb "echo r > /proc/sysrq-trigger; echo e >
/proc/sysrq-trigge
r; echo i > /proc/sysrq-trigger; echo s > /proc/sysrq-trigger; echo u >
/proc/sy
srq-trigger; echo b > /proc/sysrq-trigger;";
local-io-error "echo o > /proc/sysrq-trigger ; halt -f";
outdate-peer "/usr/lib/heartbeat/drbd-peer-outdater -t 5";
}
startup {
wfc-timeout 120;
degr-wfc-timeout 120;
}
disk {
on-io-error detach;
}
net {
sndbuf-size 512k;
max-buffers 16384;
max-epoch-size 16384;
after-sb-0pri discard-older-primary;
after-sb-1pri consensus;
after-sb-2pri call-pri-lost-after-sb;
rr-conflict disconnect;
}
syncer {
rate 170M;
al-extents 1801;
}
on node01 {
device /dev/drbd3;
disk /dev/md3;
address 10.0.3.1:7788;
meta-disk internal;
}
on node02 {
device /dev/drbd3;
disk /dev/md3;
address 10.0.3.2:7788;
meta-disk internal;
}
}
It shows the device for node1 (/dev/md3) but not for node2 (/dev/md3 is
hidden)
I don't know why it is hidden because it is not in use by anything else then
drbd.
btw, the /dev/sdv /dev/sdw /dev/sdx /dev/sdy are assigned as spare disks to
each md so:
/dev/sdv is spare of /dev/md0
/dev/sdw is spare of /dev/md1
/dev/sdx is spare of /dev/md2
/dev/sdy is spare of /dev/md3
All md's are in the same sparegroup.
I guess those disks are not "available" or anything so should be hidden in
the Storage (DRBD)?
Kind regards,
Caspar Smit
2011/1/21 Rasto Levrinc <rasto.levrinc at linbit.com>
>
> On Fri, January 21, 2011 12:41 pm, Caspar Smit wrote:
> > I can add to this that even after manually adding the r3 config to
> > /etc/drbd.conf the drbd-mc still won't see the r3 correctly under:
> > Storage (DRBD) allthough the resource is up and running fine when I press
> > /proc/drbd:
>
> Can you show me the resource config section of the resource r3? The
> devices on which you have the DRBD, don't show up in the graph, right? The
> DRBD MC, tries to hide some devices in order to save space, but sometimes
> it hides to much.
>
> >>
> >> Why isn't it possible to keep the rx.res files?
>
> There's a plan to generate this style of config.
>
> Rasto
>
> --
> : Dipl-Ing Rastislav Levrinc
> : DRBD MC http://oss.linbit.com/drbd-mc/
> : DRBD MC http://www.drbd.org/mc/management-console/
> : DRBD/HA support and consulting http://www.linbit.com/
> DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.
>
>
> _______________________________________________
> drbd-mc mailing list
> drbd-mc at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-mc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-mc/attachments/20110121/7679bf55/attachment.htm>
More information about the drbd-mc
mailing list