System control configuration, Volume and snapshot commands – American Megatrends MAN-STOR-ITX27-CLI User Manual
Page 32

StorTrends® iTX Software CLI (Command Line Interface) (Version 2.7) User’s Guide
26
System Control Configuration
These commands configure the System controls.
Command
Argument
Description
shutdown system
For example: shutdown system
Shuts the system down.
get system
For example:
cli get -x system
Gets the auto shutdown
information.
set system
-f/--fansensors
-t/--tempsensors
-x/--xml
Sets the fan sensors or temperature
sensors on or off for autoshutdown
(only temperature supported at this
release).
reboot system
Reboots the system.
Volume and Snapshot Commands
These commands manage the way Containers, Volumes and Snapshots are created, or expanded. While some
of these commands are specific to either NAS or iSCSI volumes, most will work in both types of volumes.
Command
Argument
Description
create volume
-t/--type {container}
-c/--containername
-k/--chunksize< {64} in KB>
-l/--ldname
For example: create –t container –c c0 –k 64 –l
/dev/md2 volume (1U)
For example: create –t container –c c0 –k 64 –l
/dev/sdb volume (3U)
Creates a container.
Note:
The chunk size should be 64K
The device name should be in the
form /dev/mdx or /dev/sdx where x
can be 0,1,2,3…
create volume
-t/--type { volume }
-c/--containername
-v/--volumename
-z/--volumesize
-k/--
-p/--provisiontype< provisiontype {0/1/2} >
-e/--volumetype
-f/--voldialect
For example:
create -t volume -c Cont0 -v
AutoNas -k 64 -z 20 -e 0 -p 2 -f 1 volume
Creates a Volume.
Note:
1)volumetype ([0]-ROW
2) voldialect ([[0]-ISCSI [1]-NAS)
3)provisiontype ([0]-Thin [1]-
Exact
2 – Auto(Nas Only)
As a best practice measure, it is
recommended that 20% of
container capacity be reserved (left
free) for snapshots.
create volume
-t/--type {snap}
-c/--containername
-v/--volumename
-s/--snapname
For example: create –t snap –c c0 –v v0 –s snap00
volume
Creates a read-only Snapshot.
Note: A total of 254 read-only
Snapshot can be created per
volume. And the total number of
snapshots (read-only + writable) is
992 per iTX device.
create volume
-t/--type {snap}
-c/--containername
-v/--volumename
-s/--snapname
-w/--writablesnapname
For example: create –t snap –c c0 –v v0 –s snap00
–w wsnap00 volume
Creates a writable Snapshot over a
read-only snapshot.
Note: A total of 254 writable
Snapshot can be created per
volume. But the total number of
snapshots (read-only + writable)
should be 992 per iTX device.
create volume
-t/--type { snap }
-c/--containername
-v/--volumename
-s/--snapname
-R/--remotesnap
Creates a snapshot on the local
target as well as the remote target if
the volume is replication enabled.
If only –R is given, only the remote
snapshot is created. If only –L is