American Megatrends MAN-STOR-ITX27-CLI User Manual
Page 33
![background image](/manuals/35808/33/background.png)
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
-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
-v/ --volumename
-f/--force (optional)
Deletes the specified Volume.
delete volume
-t/--type {snap}
-c/ --containername
-v/ --volumename
-s/ --snapname
-f/--force (optional)
Deletes the specified Snapshot.
delete volume
-t/--type {snap}
-c/ --containername
-v/ --volumename
-s/ --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
-a/--all
-f/--force (optional)
Deletes all the volumes within that
container.
delete volume
-t/--type {snap}
-c/ --containername
-v/ --volumename
-a/--all
-f/--force (optional)
Deletes all Snapshots for that
volume.
expand volume
-t/--type {container}
-c/--containername
-l/--ldname
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
-v/--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
List the details for all the
Volumes in specified container.
list volume
-t/--type { snap}
-c/--containername
-v/--volumename
List the details about
SnapShots in specified volume and
container.
get volume
-t/--type {container }
-i/ --info
-c /--containername
Gets the information about the
specified Container.
get volume
-t/--type {volume}
-i/--info
Gets the information about the
specified Volume.