Справочник Пользователя для American Megatrends MAN-STOR-ITX27-CLI

Скачать
Страница из 60
Chapter Two: Command Set 
 
27
Command 
Argument 
Description 
-L/--localsnap 
used, then only the local snapshot 
will be created.  
By default, without the switches –L 
and –R, it will create the local 
snapshot only. 
delete volume 
-t/--type {container} 
-c/--containername<containername> 
-f/--force (optional) 
-r/--recursive (optional) 
Deletes the container. 
-r/ option deletes all volumes 
within the container recursively. 
delete volume 
-t/--type {volume} 
-c/ --containername <containername> 
-v/ --volumename <volumename> 
-f/--force (optional) 
Deletes the specified Volume. 
delete volume 
-t/--type {snap} 
-c/ --containername <containername> 
-v/ --volumename <volumename> 
-s/ --snapname <snapname> 
-f/--force (optional) 
Deletes the specified Snapshot. 
delete volume 
-t/--type {snap} 
-c/ --containername <containername> 
-v/ --volumename <volumename> 
-s/ --snapname <snapname> 
-L/--localsnap 
-R/--remotesnap 
-f/--force (optional) 
For example: delete –t snap –c c0 –v v0 –s snap00 
–L –R –f volume 
Deletes the Snapshot on the local 
target as well as the remote target if 
the volume is replication enabled. 
If –R is given, only the remote 
snapshot is deleted. If –L is used, 
only the local snapshot will be 
deleted. By default, without the 
switches –L and –R, it will delete 
the local snapshot. 
delete volume 
-t/--type {volume} 
-c/ --containername <containername> 
-a/--all 
-f/--force (optional) 
Deletes all the volumes within that 
container. 
delete volume 
-t/--type {snap} 
-c/ --containername <containername> 
-v/ --volumename <volumename> 
-a/--all 
-f/--force (optional) 
Deletes all Snapshots for that 
volume. 
expand volume 
-t/--type {container} 
-c/--containername <containername> 
-l/--ldname<logical device name> 
For example: expand –t container –c c0 –l /dev/sdc 
volume 
Expands Container by adding the 
specified LD to it.  
Logical Device name eg;/dev/md0 
Use:–l option 
expand volume 
-t/--type {volume} 
-c/--containername <containername> 
-v/--volumename <volumename> 
-z/-- capacity new volume size (in GB) 
For example: expand –t volume –c c0 –v v0 –z 300 
volume 
Expands Volume. 
list volume 
-t/--type {container/volume/snap } 
For example: list –t snap volume 
List all the  
Containers, Volumes, or Snapshots 
in system. 
list volume 
-t/--type {volume} 
-c/--containername <containername> 
List the details for all the 
 Volumes in specified container. 
list volume 
-t/--type { snap} 
-c/--containername <containername> 
-v/--volumename <volumename> 
List the details about 
SnapShots in specified volume and 
container. 
get volume 
-t/--type {container } 
-i/ --info 
-c /--containername <containername> 
Gets the information about the 
specified Container. 
get volume 
-t/--type {volume} 
-i/--info 
Gets the information about the 
specified Volume.