[DRBD-user] drbdadm resize - unrecognized option '--size'
Dominik Vallendor
vallendor at tralios.de
Thu Aug 23 17:58:17 CEST 2018
Hello everyone,
today we tried to shrink a drbd device online.
Following the documentation over at:
https://docs.linbit.com/docs/users-guide-8.4/#s-resizing we ran
"drbdadm resize --size=<new-size> <resource>"
which led to the following error: "drbdadm: unrecognized option '--size'".
After some research we found an archived thread
(http://lists.linbit.com/pipermail/drbd-user/2012-June/018551.html)
which mentions that error and confirms it as a bug.
The documentation for drbd 8.0-8.3 uses the old command syntax ("drbdadm
-- --size=<new-size> resize <resource>") which works, the documentation
for drbd 8.4 and 9.0 uses a new command syntax which does not work.
I tried this with drdb-utils 8.9.6 and the current 9.5.0 version.
These mistakes in the documentation can be found in the man pages for
drbdadm as well.
Debug information:
drbd: version: 8.4.10 (api:1/proto:86-101)
drbd-utils:
Version: 8.9.6 (api:1)
GIT-hash: c6e62702d5e4fb2cf6b3fa27e67cb0d4b399a30b build by
user at somewhere, 2018-04-04 11:24:10
Version: 9.5.0 (api:1)
GIT-hash: ee126652638328b55dc6bff47d07d6161ab768db build by
user at somewhere, 2018-08-23 16:53:06
Could you please confirm this bug and fix the documentation/bug?
Kind regards
Dominik
--
Tralios IT GmbH
Douglasstr. 24-26
76133 Karlsruhe
Telefon: 07 21 - 94 26 96 60
Telefax: 07 21 - 94 26 96 66
E-Mail: info at tralios.de
Homepage: https://www.tralios.de
Registergericht: Amtsgericht Mannheim
Registernummer: HRB 710690
USt-ID: DE274667358
Vertretungsberechtigte Geschäftsführer:
Dipl.-Inform. Dominik Vallendor
Dipl.-Inform. Carl Thomas Witzenrath
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3683 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180823/89393131/attachment.bin>
More information about the drbd-user
mailing list