System information
Using the CLI Commands
4-3
4.2.3 Disk groups
4.2.4 Spare and rebuild
Command
dgcreate
Synopsis
dgcreate dgi hddx hddy ... [-n name] [-i par/seq] [-z]
[-s hddz,hdda, ...] [-t capacity]
Description
Create a disk group with member disks.
Parameters
[-n name]: the name of a disk group
[-i par/seq]: logical disk initialization mode (parallel or sequential)
[-z]: write-zero immediately
[-s hddz,hdda, ...]: local spare disks
[-t capacity]: capacity to truncate
Command
dgdelete
Synopsis
dgdelete dgi
Description
Delete a disk group.
Command
dgname
Synopsis
dgname dgx name
Description
Name a disk group.
Command
dginit
Synopsis
dginit dgi par/seq
Description
Set initiation mode of a disk group.
Command
dglist
Synopsis
dglist dgx/all
Description
List the status of one or all disk groups.
Command
dgunload
Synopsis
dgunload dgx
Description
Unload the specity disk group from system. After the command is executed, the disk group
and all logical disks of the disk group will be removed from system and state of all member
disks of the disk group will be CONFLICT.
Command
dgspare
Synopsis
dgspare add/remove dgi hddx
Description
Add or remove a local spare in a disk group.
Command
dgrebseq
Synopsis
dgrebseq dgi par/seq/pri [-l ldx,ldy, ...]
Description
Set rebuild mode of a disk group.
Parameters
par/seq/pri: parallel, sequential, or priority
[-l ldx,ldy, ...]: priority of logical disks to rebuild
Command
globalspare
Synopsis
globalspare add/remove hddx hddy ...
Description
Add or remove one or more hard disks as global spare disks.