帮助命令 本节主要介绍帮助命令行的使用。 ./stor { help h } 此命令用来查看HBlock的命令帮助信息。 示例 示例1 查看HBlock整体命令。 plaintext [root@hblockserver CTYUNHBlockPlus4.0.0x64] ./stor –help Usage: stor [options] stor [options] Type 'stor help ' or 'stor help ' to print help on a specific subcommand. Type 'stor version' to print HBlock version. Available commands: alarm View and manage alarms. backup Manage backup(s). config Configure HBlock. conssnap Manage consistency snapshot(s). event Event information. info Get HBlock information. install Install HBlock. license Manage HBlock license(s). logcollect Log collection information. lun Manage LUN(s). monitor Get performance data. qos Manage QoS policy. restart Restart HBlock. server Manage HBlock server(s). setup Initialize HBlock. snapshot Manage snapshot(s). start Start HBlock. status Get HBlock status. stop Stop HBlock. storagepool Manage storage pools. target Manage target(s). topology Manage topology. tuning Adjusting parameters to fit different scenarios. uninstall Uninstall HBlock on all servers. upgrade Upgrade HBlock. General subcommands: add Add an entity, such as adding a LUN or server. ls List entities or the specified entity, such as listing servers or the specified server. rm Remove an entity, such as removing a LUN or server. set Set entity properties, such as setting LUN or server properties. Available subcommands for alarm: E[export] Export alarm records to a file. M[mute] Set the mute status of a specified alarm record to Muted status, stop receiving its alarm emails and not list it by default. UM[unmute] Set the mute status of a specified alarm record to Normal status. R[resolve] Set a specified alarm record to Resolved status. Available subcommands for backup: E[export] Export backup file. I[import] Import backup file to a LUN. Available subcommands for conssnap: R[rollback] Rollback consistency snapshot. Available subcommands for lun: C[clone] Create clone LUN. F[flatten] Flatten clone LUN. RC[recover] Recover the specified LUN from the cloud. RS[resume] Resume the specified LUN. SUS[suspend] Suspend the specified LUN. S[switch] Switch between active and standby iSCSI targets. W[wipe] Wipe the specified LUN. X[expand] Expand LUN. Available subcommands for monitor: E[export] Export historical performance data to a file. V[view] Get realtime performance data. Available subcommands for qos: A[assoc] Associate the QoS policy with the specified objects. D[disass] Disassociate the QoS policy with the specified objects. Available subcommands for server: A[addpath] Add path(s) to store data. R[rmpath] Remove path(s). S[setpath] Set path(s) properties. Available subcommands for snapshot: R[rollback] Rollback snapshot or a snapshot in consistency snapshot. Available subcommands for storagepool: A[addnode] Add node(s) to storage pool. R[rmnode] Remove node(s) from storage pool. Available subcommands for target: R[rmallow] Remove iSCSI target allowlist. S[setallow] Set iSCSI target allowlist. Available subcommands for upgrade: T[status] Get upgrade status.