A quick fix for the DRBD error “not defined in your config (for this host)”, typically caused by a hostname mismatch in your resource configuration file.
Solution
the fix to your problem is in the .res file in /dev/drbd.d/ . check against ‘uname’ command that the hostnames are correct.

that’s it.
