[DRBD-user] "drbdadm attach" problem under 8.4.5

d tbsky tbskyd at gmail.com
Mon Oct 27 19:07:31 CET 2014

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


hi:
    the man page said "drbdadm up" is "drbdadm attach and connect". but

"drbdadm -d up drbd-single" result:
drbdsetup-84 new-resource drbd-single
drbdsetup-84 new-minor drbd-single 10 0
drbdmeta 10 v08 /dev/rootvg/drbd-single internal apply-al
drbdsetup-84 attach 10 /dev/rootvg/drbd-single .....
drbdsetup-84 connect drbd-single ...


and "drbdadm -d attach drbd-single" result:
drbdmeta 10 v08 /dev/rootvg/drbd-single internal apply-al
drbdsetup-84 attach 10 /dev/rootvg/drbd-single ...

under drbd 8.4.5. "drbdadm attach" won't do "drbdsetup new-resource"
and "drbdsetup new-minor" first so it failed.
and if I manually do "drbdsetup new-resource" and "drbdsetup
new-minor" first by hand, then "drbdadm attach" will success.

is this a bug or feature?

Regards,
tbskyd



More information about the drbd-user mailing list