Huawei OceanStor VIS6000 Series Command Reference Manual page 173

Virtual intelligent storage system
Hide thumbs Also See for OceanStor VIS6000 Series:
Table of Contents

Advertisement

OceanStor VIS6000 Series Virtual Intelligent Storage
System
Command Reference
Level
Administrator level.
Usage Guidelines
When using the command, pay attention to the following points:
l
l
l
l
l
l
l
l
l
Example
Example 1: Create disk group dg_02 on disks Disk_5 and Disk_6.
VIS CLI:root>server>vxdg -s init dg_02 Disk_5 Disk_6
This command may cause long time elapse. Please wait...
SUCCESS
Example 2: Add disk Disk_2 to disk group dg_02 to expand the capacity of dg_02.
VIS CLI:root>server>vxdg -g dg_02 adddisk Disk_2
This command may cause long time elapse. Please wait...
SUCCESS
Example 3: View the information about disk group dg_02.
VIS CLI:root>server>vxdg list dg_02
This command may cause long time elapse. Please wait...
Group:
dgid:
import-id: 33792.25
flags:
Issue 06 (2010-05-10)
You can expand the capacity of a specified disk group by running the command vxdg -g
diskgroup adddisk [medianame=]accessname.... The disks specified by medianame must
be initialized and cannot belong to any disk groups.
You can export a disk group (disable local access) by running the command vxdg deport
diskgroup.... Before running the command, you need to stop all volumes of the disk group.
The exported disk group is not deleted, but it cannot be used by the system. The disks in
an exported disk group can be reused, reinitialized, added to another disk group, or imported
into another system. The system can reaccess the disk group after you run the command
vxdg import.
You can import a disk group (enable local access) by running the command vxdg
destroy diskgroup.... Before running the command, you need to move all the disks in the
disk group to another system. Otherwise, importing the disk group fails.
You can display the information about a specified disk group in the system by running the
command vxdg import diskgroup.... Before running the command, you need to move all
the disks in the disk group to another system. Otherwise, importing the disk group fails.
You can display the information about a specified disk group in the system by running the
command vxdg list diskgroup...
You can display all disk groups in the system by running the command vxdg list.
You can recover a disk group by running the command vxdg recover diskgroup. If the
disks in a disk group are being moved, separated, or reconstructed, you need to recover the
disk group manually by using the command.
You can display the free space of the disks in a specified disk group by running the command
vxdg -g diskgroup free.
You can display the free space of the disks in all disk groups of the system by running the
command vxdg free.
dg_02
1200459636.26.linux-vm1
shared
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 Commands
2-141

Advertisement

Table of Contents
loading

Table of Contents