Comment 3 for bug 1835719

Revision history for this message
zhangbei (zb-ccc) wrote :

The revised help information is as follows:
system help host-stor-add
usage: system host-stor-add [--function [<function>]]
                            [--journal-location [<journal_location>]]
                            [--journal-size [<size of the journal GiB>]]
                            [--tier-uuid [<storage tier uuid>]]
                            <hostname or id> <idisk_uuid>

Add a storage to a host.

Positional arguments:
  <hostname or id> Name or ID of host [REQUIRED]
  <idisk_uuid> uuid of disk [REQUIRED]

Optional arguments:
  --function [<function>]
                        Type of the stor (default: osd)
  --journal-location [<journal_location>]
                        Location of stor's journal
  --journal-size [<size of the journal (GiB)>]
                        Size of stor's journal, in GiB
  --tier-uuid [<storage tier uuid>]
                        storage tier to assign this OSD