The ctladm man page incorrectly duplicates content which is confusing. Under the "modify" subcommand it lists the same options as the "remove" subcommand: modify Modify a LUN size. The backend, the LUN number, and the size must be specified. -l lun_id Specify the LUN number to remove. remove Remove a LUN. The backend must be specified, and the LUN number must also be specified. Backend-specific options may also be specified with the -o flag. -l lun_id Specify the LUN number to remove.
I opened a review for this bug here: https://reviews.freebsd.org/D11608
A commit references this bug: Author: bcr Date: Sat Jul 15 17:59:28 UTC 2017 New revision: 321023 URL: https://svnweb.freebsd.org/changeset/base/321023 Log: The ctladm man page incorrectly duplicated the text for the delete subcommand in the modify section. Rewrite the modify description text in two places to say modify/modified instead of remove/removed. PR: 220710 Submitted by: sseekamp@risei.net Reviewed by: mav@ MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D11608 Changes: head/usr.sbin/ctladm/ctladm.8
A commit was made to FreeBSD HEAD to fix this, waiting for MFC period to pass.
A commit references this bug: Author: bcr Date: Sat Jul 22 10:15:11 UTC 2017 New revision: 321367 URL: https://svnweb.freebsd.org/changeset/base/321367 Log: MFC r321023: The ctladm man page incorrectly duplicated the text for the delete subcommand in the modify section. Rewrite the modify description text in two places to say modify/modified instead of remove/removed. PR: 220710 Submitted by: sseekamp@risei.net Reviewed by: mav@ Differential Revision: https://reviews.freebsd.org/D11608 Changes: _U stable/11/ stable/11/usr.sbin/ctladm/ctladm.8
The MFC is done, so no need to keep this problem report open any longer. Thank you for submitting the PR!