System Control Configuration; Volume And Snapshot Commands - American Megatrends StorTrends User’s guide User Manual

Command line interface version 2.7
Table of Contents

Advertisement

System Control Configuration

These commands configure the System controls.
Command
Argument
shutdown system
For example: shutdown system
get system
For example:
set system
-f/--fansensors <on/off>
-t/--tempsensors <on/off>
-x/--xml
reboot 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
create volume
-t/--type {container}
-c/--containername<containername>
-k/--chunksize< {64} in KB>
-l/--ldname<logical device name> .....
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)
create volume
-t/--type { volume }
-c/--containername <containername>
-v/--volumename <volumename>
-z/--volumesize <volumesize in GB>
-k/-- <chunksize {64 or 8} in KB }><volumesize>
-p/--provisiontype< provisiontype {0/1/2} >
-e/--volumetype <volumetype
{0} >
-f/--voldialect <volumedialect
{0/1} >
For example:
AutoNas -k 64 -z 20 -e 0 -p 2 -f 1 volume
create volume
-t/--type {snap}
-c/--containername <containername>
-v/--volumename <volumename>
-s/--snapname <snapname>
For example: create –t snap –c c0 –v v0 –s snap00
volume
create volume
-t/--type {snap}
-c/--containername <containername>
-v/--volumename <volumename>
-s/--snapname <snapname>
-w/--writablesnapname<writablesnapname >
For example: create –t snap –c c0 –v v0 –s snap00
–w wsnap00 volume
create volume
-t/--type { snap }
-c/--containername <containername>
-v/--volumename <volumename>
-s/--snapname <snapname>
-R/--remotesnap
StorTrends® iTX Software CLI (Command Line Interface) (Version 2.7) User's Guide
26
cli get -x system
create -t volume -c Cont0 -v
Description
Shuts the system down.
Gets the auto shutdown
information.
Sets the fan sensors or temperature
sensors on or off for autoshutdown
(only temperature supported at this
release).
Reboots the system.
Description
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...
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.
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.
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.
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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Stortrends itx

Table of Contents