[DRBD-user] drbdadm: unrecognized option `--do-what-I-say'

Helmut Wollmersdorfer helmut.wollmersdorfer at gmx.at
Tue Nov 1 21:59:54 CET 2005

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


Yann Forget wrote:

> # drbdadm --do-what-I-say primary all
> drbdadm: unrecognized option `--do-what-I-say'

'--do-what-I-say' is only allowed in 'drbdsetup', which can be called 
via 'drbdadm -- [options]'.
              ^^

Got the trick?

> Also in "man drbdsetup", there is

> drbdsetup {device} {disk} {lower_dev} {meta_data_dev} {meta_data_index} 
> [-d {size}] [-e {err_handler}]

BTW: 'disk' is not a replaceable (=variable), it's a command (= literal 
constant) in the above syntax.

> What should be the value for {meta_data_dev} {meta_data_index} ?

It works like the values in 'man drbd.conf', i.e. {meta_data_dev} can be 
a block device like '/dev/hdb12', '/dev/vg0/lvvs03md', or the literal 
string 'internal'. {meta_data_index} can be a number.

Thx for the hint - the documentation should be improved.

HTH

Helmut Wollmersdorfer



More information about the drbd-user mailing list