立即与支持人员聊天
与支持团队交流

DR Series Software 4.0.3 - Command Line Reference Guide

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 --troubleshoot [--links] [--gateway] [--ntp] [--dns] [--active_domain] [--nis] [--clients] [--port_mapper] [--network_config] [--show_active <NFS|CIFS|OST|RDS|NDMP|ISCSI|FC>] [--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 Storage Group commands 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 --init system --init --secure_erase <1–pass/3-passes/7-passes> system --reboot system --shutdown system --upgrade system --license [--validate] [--add] system --setname --name <node_name> 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 --hybrid_replication [--enable][--disable][--status] system --rdairgap [--enable][--disable][--set_retention_period <0 days to 365 days>][--get_retention_period][--open][--close][--status] system --rdairgap_schedule [--start_time <HH:MM>][--end_time <HH:MM>][--remove] system --setlogin system --telnet [--enable | --disable] system --datacheck --enable system --datacheck --disable system --datacheck --throttle system --marker [--enable] [--disable] system --verify_on_read [--enable] [--disable] 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 --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] [--storage_group <name>] 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 [--clear_quarantine] maintenance --filesystem [--clear_quarantine] maintenance --filesystem --show_throughput maintenance --configuration [--backup] maintenance --configuration [--restore] maintenance --configuration [--reinit_dictionary] maintenance --configuration [--reset_web_certificate] maintenance --configuration --enable_sha256_web_certificate maintenance --hardware [--reinit_nvram] maintenance --hardware [--restore_hw_db] 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 [--racreset] 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 FC Replication Seed Schedule
Data Integrity Checking Additional Linux Commands About us

stats --datacheck Command Usage

This topic introduces the stats --datacheck command usage:

stats --datacheck

Description

Displays the current set of datacheck statistics on a DR Series system.

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

Result

Other Examples

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

Additional Linux Commands

Additional Linux Commands

This topic introduces additional Linux commands that have limited usage when used with the DR Series system CLI:

While these Linux commands are available to the user, this topic and other topics related to these commands are not intended to be a reference source for these commands. You can consult a Linux command reference guide for more information about these commands and how they can be used.

grep

Description

Displays the supported usage of the Linux grep command with the DR Series system.

Syntax

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>.
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级