[DRBD-user] quick syntax check for drbd.conf and drdb.d/*

Ben Timby btimby at gmail.com
Tue May 4 17:20:07 CEST 2010

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Tue, May 4, 2010 at 10:17 AM, Joao Ferreira gmail
<joao.miguel.c.ferreira at gmail.com> wrote:
> Hello,
>
> How do I get a quick parse of drbd.conf files just to determine if there
> could be any syntax errors or typos ?

man drbdadm

--
      dump
          Just parse the configuration file and dump it to stdout.
May be used to check the configuration file for syntactical
correctness.
--

# drbdadm dump all -t /path/to/drbd.conf

You can omit -t if you are using default config location...



More information about the drbd-user mailing list