Chat now with support
Chat with Support

DR Series Software 3.2.0.3 - Command Line Reference Guide

Notes, cautions, and warnings *** Introduction to the DR Series System Command Line Reference Guide Introducing the DR Series System Managing the DR Series System
Alerts Commands Authenticate Commands Network
Network Command Usage network --show network --delete network --restart network --setdhcp network --setstatic_ip [--bondif <bondN>] [--nwif <ethN>] --ip <IPv4/IPv6 address not already in use> --netmask <netmask> [--gateway <IPv4/IPv6 address>] network --create_bond network --create_eth network --add_member network --setdns [--suffix <dns suffix>] [--primary <IPv4/IPv6 address>] [--secondary <IPv4/IPv6 address>] network --setbonding --bondif <bondN> [--mode <ALB | 802.3ad>] [--mtu <supported MTU range 512 - 9000>] network --update network --factory_reset network --host network --route network --nslookup --destination <ip address | hostname> network --traceroute --destination <ip address | hostname> network --ping --destination <ip address | hostname> [--tries <number>] [--size <number>] [--interface <bondN | ethN>] network --blink network --enable network --disable network --troubleshoot [--links] [--gateway] [--ntp] [--dns] [--active_domain] [--nis] [--clients] [--port_mapper] [--network_config] [--show_active <NFS|CIFS|OST|NDMP|ISCSI|RDS>] [--interface <bondN | ethN>] network --troubleshoot --gateway --interface <bondN | ethN> network --troubleshoot [--show_active <NFS| CIFS|OST|NDMP|ISCSI|RDS>] network --tcpdump [--port <nfs | windows | replication | ost | rds>] [--pkt_size <128 - 32768>] [--file_size <0 - 100>] [--stop] [--host <ip address list>] [--interface <bondN | ethN>] network --tcpdump [--pkt_size <128 - 32768>] network --tcpdump [--file_size <0 - 100>] network --tcpdump [--host <ip address list>] network --tcpdump [--port <nfs | windows | replication | ost | rds>] network --iperf_client --server <ip address | hostname> [--port <number>] [--window_size <num bytes [KB/MB]>] [--interval <num seconds>] [--time <num seconds>] network --iperf_server [--port <number>] [--window_size <num bytes [KB/MB>] network --help
OST RDA Stats System
System Command Usage system --show [--config] system --show [--hardware] system --show [--storage] [--type <boot | internal | external>] [--service_tag <service tag>] system --show [--storage] system --show [--license] [--verbose] system --show [--ntp] system --show [--version] system --show [--timezones [Region]] system --show [--upgradefile] system --show [--upgradehistory] system --show [--marker] system --show [--replication_traffic] system --show [--opdup_traffic] system --show [--backup_traffic] system --show [--mgmt_traffic] system --reboot system --shutdown system --upgrade system --license [--validate] [--add] system --setname --name <node_name> system --setcompression [--fast] [--best] system --setdate [--date <date>] [--timezone <Region/Zone>] system --setntp [--add <server name>] system --setntp [--delete <server name>] system --setntp [--enable] system --setntp [--disable] system --setntp [--adjust_time] system --setlogin system --telnet [--enable | --disable] system --datacheck --enable system --datacheck --disable system --datacheck --throttle system --marker [--enable] [--disable] system --marker [--disable] system --marker [--enable] system --add_storage --enclosure <service tag> system --storage [--set_usage_alert <70% - 90%>] system --storage [--blink] [--type <internal | external>] [--service_tag <service tag>] [--disk <slot num>] system --storage [--unblink] [--type <internal | external>] [--service_tag <service tag>] [--disk <slot num> system --mgmt_traffic system --backup_traffic system --replication_traffic system --opdup_traffic system --encryption --show system --encryption --passphrase system --encryption [--mode <static|internal>] [--interval <7 days to 70 years>] system --encryption [--set <ON|OFF>] system --help
User Virtual Machine
Maintaining the DR Series System
Diagnostics Maintenance
Maintenance Command Usage maintenance --filesystem [--start_scan [verify_data | verify_rda_metadata | verify_metadata]] maintenance --filesystem [--stop_scan] maintenance --filesystem [--scan_status] maintenance --filesystem [--scan_report [verbose]] maintenance --filesystem [--repair_status [verbose]] maintenance --filesystem [--repair_history [verbose]] maintenance --filesystem [--scan_restart [verify_data | verify_rda_metadata | verify_metadata]] maintenance --filesystem [--repair_now] maintenance --filesystem [--reclaim_space] maintenance --filesystem [--stop_reclaim_space] maintenance --filesystem [--clear_quarantine] maintenance --filesystem --show_throughput maintenance --configuration [--backup] maintenance --configuration [--restore] maintenance --configuration [--reinit_dictionary] maintenance --configuration [--reset_web_certificate] maintenance --hardware [--reinit_nvram] maintenance --hardware [--restore_hw_db] maintenance --hardware [--network_reconfigure] maintenance --hardware [--motherboard_replaced] maintenance --disk [--make_standby [slot num]] [--type <internal | external-<num> | service tag>] --clear_foreign] maintenance --remote_access [--show] maintenance --remote access [--enable] maintenance --remote_access [--static_ip] [--ip <IPv4/IPv6 address>] [--netmask <netmask>] [--gateway <IPv4/IPv6 address>] [--device <lom1|lom2|lom3|lom4>] maintenance --remote access [--disable] maintenance --vdisk --check_consistency --type <boot|internal|external> [--service_tag <service tag>] maintenance --help
Managing DR Series System Storage Operations
System Storage Operation Commands Connection Container VTL NDMP ISCSI Replication Seed Schedule
Data Integrity Checking Additional Linux Commands

stats --datacheck

  • Waiting: Data Check is in this state because another operation is now running.
  • Running: Data Check is in this state when running the scans.
  • Idle: Data Check is in this state waiting for the next opportunity to run the Data Check scans.

The following example shows the status of active DR Series system operations in response to the stats --datacheck command on a DR Series system when Data Check is enabled.

Syntax

stats --datacheck

Result

Data Check 												: Enabled - namespace,blockmap,throttle:75%
Progress 														: Idle
Active Writes 										: No
Active System Operations 			: No
Total Detected Errors 					: 0
Last Complete Namespace Scan	: 2012-02-02 17:48:18
Last Complete Blockmap Scan 	: 2012-02-02 16:33:08
Namespace Scans Completed 			: 183
Namespace Scan Entries 					: 6
Namespace Scan Errors 					: 0
Namespace Scan Start Time 			: 2012-02-02 17:43:08
Namespace Scan Progress 				: 100.00%
Blockmap Scans Completed 			: 8
Blockmap Scan Entries 					: 3
Blockmap Scan Errors 						: 0
Blockmap Scan Start Time 			: 2012-02-02 16:33:06
Blockmap Scan Progress 					: 100.00%

Other Examples

This example shows the output from the stats --datacheck command used on a DR Series system when Data Check is disabled.

stats --datacheck

Online Data Verification 			: Disabled
Progress 														: Disabled
Active Writes 										: No
Active System Operations 			: No
Total Detected Errors 					: 0
Last Complete Namespace Scan	: 2012-01-24 15:50:10
Last Complete Blockmap Scan		: 2012-01-24 15:55:59

Additional Linux Commands

grep

Syntax

grep --help

Result

Usage: grep [OPTION]... PATTERN [FILE] ...
Search for PATTERN in each FILE or standard input.
Example: grep -i 'hello world' menu.h main.c

Regexp selection and interpretation:
  -E, --extended-regexp     PATTERN is an extended regular expression
  -F, --fixed-strings       PATTERN is a set of newline-separated strings
  -G, --basic-regexp        PATTERN is a basic regular expression
  -P, --perl-regexp         PATTERN is a Perl regular expression
  -e, --regexp=PATTERN      use PATTERN as a regular expression
  -f, --file=FILE           obtain PATTERN from FILE
  -i, --ignore-case         ignore case distinctions
  -w, --word-regexp         force PATTERN to match only whole words
  -x, --line-regexp         force PATTERN to match only whole lines
  -z, --null-data           a data line ends in 0 byte, not newline

Miscellaneous:
  -s, --no-messages         suppress error messages
  -v, --invert-match        select non-matching lines
  -V, --version             print version information and exit
      --help                display this help and exit
      --mmap                use memory-mapped input if possible

Output control:
  -m, --max-count=NUM       stop after NUM matches
  -b, --byte-offset         print the byte offset with output lines
  -n, --line-number         print line number with output lines
      --line-buffered       flush output on every line
  -H, --with-filename       print the filename for each match
  -h, --no-filename         suppress the prefixing filename on output
      --label=LABEL         print LABEL as filename for standard input
  -o, --only-matching       show only the part of a line matching PATTERN
  -q, --quiet, --silent     suppress all normal output
      --binary-files=TYPE   assume that binary files are TYPE
                            TYPE is 'binary', 'text', or 'without-match'
  -a, --text                equivalent to --binary-files=text
  -I                        equivalent to --binary-files=without-match
  -d, --directories=ACTION  how to handle directories
                            ACTION is 'read', 'recurse', or 'skip'
  -D, --devices=ACTION      how to handle devices, FIFOs and sockets
                            ACTION is 'read' or 'skip'
  -R, -r, --recursive       equivalent to --directories=recurse
      --include=PATTERN     files that match PATTERN will be examined
      --exclude=PATTERN     files that match PATTERN will be skipped.
      --exclude-from=FILE   files that match PATTERN in FILE will be skipped.
  -L, --files-without-match only print FILE names containing no match
  -l, --files-with-matches  only print FILE names containing matches
  -c, --count               only print a count of matching lines per FILE
  -Z, --null                print 0 byte after FILE name

Context control:
  -B, --before-context=NUM  print NUM lines of leading context
  -A, --after-context=NUM   print NUM lines of trailing context
  -C, --context=NUM         print NUM lines of output context
  -NUM                      same as --context=NUM
      --color[=WHEN],
      --colour[=WHEN]       use markers to distinguish the matching string
                            WHEN may be `always', `never' or `auto'.
  -U, --binary              do not strip CR characters at EOL (MSDOS)
  -u, --unix-byte-offsets   report offsets as if CRs were not there (MSDOS)

`egrep' means `grep -E'.  `fgrep' means `grep -F'.
With no FILE, or when FILE is -, read standard input.  If less than
two FILEs given, assume -h.  Exit status is 0 if match, 1 if no match,
and 2 if trouble.

Report bugs to <bug-grep@gnu.org>.

more

Syntax

more --help

Results

usage: more [-dflpcsu] [+linenum | +/pattern] name1 name2 ..
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating