所选语种没有对应资源,请选择:

本站点使用Cookies,继续浏览表示您同意我们使用Cookies。Cookies和隐私政策>

提示

尊敬的用户,您的IE浏览器版本过低,为获取更好的浏览体验,请升级您的IE浏览器。

升级

OceanStor 2200 V3&2600 V3 存储系统 V300R005 命令参考

"本文档针对DeviceManager管理软件提供的CLI(Command Line Interface)命令行,介绍如何使用CLI设置、管理存储系统,以及按功能分类详细介绍各命令的使用方法。"
评分并提供意见反馈 :
华为采用机器翻译与人工审校相结合的方式将此文档翻译成不同语言,希望能帮助您更容易理解此文档的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 华为对于翻译的准确性不承担任何责任,并建议您参考英文文档(已提供链接)。
上下文相关帮助

上下文相关帮助

在CLI中,上下文相关帮助可以在命令输入时提供实时的帮助和指引。

CLI上下文相关帮助通过输入“?”或按“Ctrl+A”来实现。
说明:
  • “q”可以退出上下文帮助界面。
  • “PageUp”“PageDown”可以在上下文帮助界面中翻页,按“↑”“↓”可以在界面中移动。

上下文相关帮助——“?”

通过输入“?”,可以查询CLI基本操作使用说明,以及命令参数的详细说明。举例如下:

  • 当需要查询CLI基本帮助信息时,如错误提示、上下文帮助、命令补全和快捷键等时,输入“?”
    admin:/>? //直接输入问号
    ERROR REPORTING
    The ^ (a caret) indicates a syntax error occurred in the preceding command
    statement. The location of a caret in the command statement indicates the
    location of the syntax error.
    
    CONTEXT SENSITIVE HELP
    [?]         - Display context sensitive help. This is either a list of possible
                  command completions with summaries, or the full syntax of the
                  current command. A subsequent repeat of this key, when a command
                  has been resolved, will display a detailed reference.
    
    [CTRL+A]    - Display available list of the object that can be used as valid
                  parameter. It is supported in limited context and the tips will be
                  promoted after the TAB or space key is pressed.
    
    AUTO-COMPLETION
    The following keys both perform auto-completion for the current command line.
    If the command prefix is not unique then the bell will ring and a subsequent
    repeat of the key will display possible completions.
    
    [Tab]       - Auto-complete and display possible inputs.
    
    [Space]     - Auto-complete.
    MOVEMENT KEYS
    [Up]           - Move to the previous command line held in history.
    [Down]         - Move to the next command line held in history.
    [Left]         - Move the insertion point left one character.
    [Right]        - Move the insertion point right one character.
    [CTRL+Left]    - Move the insertion point left one word.
    [CTRL+Right]   - Move the insertion point right one word.
    [CTRL+S]    - Move the insertion point to the start of the command line
    [CTRL+E]    - Move the insertion point to the end of the command line.
    
    DELETION KEYS
    [CTRL+C]    - Delete the whole line.
    [CTRL+D]    - Delete the character to the right on the insertion point.
    [CTRL+K]    - Delete all the characters to the right of the insertion point.
    [Backspace] - Delete the character to the left of the insertion point.
    
    PAGING KEYS
    [Enter]     - Move to the next line.
    [Space]     - Move to the next page.
    [SHIFT+G]   - Move to the last page.
    
  • 当输入命令的前一个字段并空格后,输入“?”可以查询所有可用的下一个字段及每个字段的详细说明。
    admin:/>add ?//空格后输入问号
    cache_partition
    clone                Add a LUN to the clone
    consistency_group    Add a remote replication to the consistency group
    disk_domain          Add disks to disk domain
    host                 Add an initiator to the host
    host_group           Add host(s) to host group
    lun_copy             Add a target to the LUN copy
    lun_group            Add the LUN(s) to the LUN group
    mapping_view         Add port group to mapping view
    notification         Add a trap notification record
    port                 Add a route to the port
    port_group           Add port(s) to port group
    remote_device        Add a link to the remote device
    security_rule        Add a security rule
    smartqos_policy      Add LUN(s) to the SmartQoS policy
    snmp                 Add a SNMP USM record
    storage_pool         Add tier to storage pool
    

上下文相关帮助——“Ctrl+A”

通过按“Ctrl+A”,可以在某些命令中指定参数时,自动提示某些参数的可选取值。这些取值通常需要从系统中获取。举例如下:

当需要提示当前参数的所有可选取值时,按“Ctrl+A”
admin:/>create disk_domain name=domain disk_list=//按“Ctrl+A”,系统会提示所有可选的取值

ID         Health Status  Running Status  Type          Capacity    
---------  -------------  --------------  ------------  ----------  
ENG0.4     Normal         Online          SSD             92.596GB  
ENG0.9     Normal         Online          SSD             92.596GB  
DAE000.3   Normal         Online          SAS            136.169GB  
DAE000.4   Normal         Online          SAS            837.799GB  
DAE000.5   Normal         Online          SAS            278.833GB  
DAE000.6   Normal         Online          SAS            136.169GB  
DAE000.7   Normal         Online          SAS            837.799GB  
DAE000.8   Normal         Online          SAS            558.348GB  
DAE000.10  Normal         Online          SAS            278.833GB  
DAE000.12  Normal         Online          SAS            278.833GB  
DAE000.13  Normal         Online          SAS            558.348GB  
DAE000.17  Normal         Online          SAS            837.799GB  
DAE000.19  Normal         Online          SAS            837.799GB  
DAE000.20  Normal         Online          SAS            837.799GB  

Role         Disk Domain ID  Speed(RPM)  Health Mark
-----------  --------------  ----------  -----------
Free Disk    --              --          --
Free Disk    --              --          --
Free Disk    --              10000       87
Free Disk    --              10000       100
Free Disk    --              10000       86
Free Disk    --              10000       --
Free Disk    --              10000       100
Free Disk    --              10000       84
Free Disk    --              10000       98
Free Disk    --              10000       87
Free Disk    --              10000       84
Free Disk    --              10000       100
Free Disk    --              10000       100
Free Disk    --              10000       100
翻译
下载文档
更新时间:2019-04-22

文档编号:EDOC1000106112

浏览量:29647

下载量:236

平均得分:
本文档适用于这些产品
相关文档
相关版本
分享
上一页 下一页