0% found this document useful (0 votes)
51 views

Basic Commands

The document discusses different privilege modes in NetApp storage systems including admin, advanced, and diag mode. It also provides examples of how to view the current privilege mode and read/write/append files. The document then covers the registry command for viewing and changing configuration options, autosupport for automatically sending support messages, and details about the root volume and system configuration files.

Uploaded by

Donald Miller
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views

Basic Commands

The document discusses different privilege modes in NetApp storage systems including admin, advanced, and diag mode. It also provides examples of how to view the current privilege mode and read/write/append files. The document then covers the registry command for viewing and changing configuration options, autosupport for automatically sending support messages, and details about the root volume and system configuration files.

Uploaded by

Donald Miller
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Different privilege modes

Admin Mode (default): priv set admin or priv set

Advanced Mode: priv set advanced

Diag Mode: priv set diag

How to view the current mode?

priv
How to read and write a file?
wrfile /etc/test # Press enter

This is a test file

This is second line # press enter and go to new line, and press Ctrl+C

To read a file.

rdfile /etc/test

To append a file.

wrfile -a /etc/test This is newline appended.


The registry command

options # to list all the registry params.

options tel # to select the options related to telnet

options telnet.enable on # to change the values.

All the changes done using options command are permanent.


Autosupport
Whenever there is software or hardware failure, the support message will trigger
automatically to NetApp support and also Storage team. It uses email to send the
messages.

To list the options use “options command”

options autosupport
Root volume
System configuration files are stored in root volume. Few config files are given
below.

/etc/rc # boot configuration file

/etc/hosts # system host file

/etc/messages # syslog file

/etc/resolv.conf # DNS name server config file

/etc/log/auditlog # system audit log file


Sysconfig
sysconfig -v # to view system configuration

sysconfig -r # to see system raid configuration

Sysconfig # brief details

Sysconfig -t # to list system tape devices

Sysconfig -A # to view all the configuration options


Disk ownership
disk show # to see the disk details

disk show -v # to see the owned and unwoned disk details

disk assign all # to own all the disks

disk show -n # to view all the unwoned disk

disk assign 0a.16 # to own a particular disk

disk fail 0a.16 # to fail a particular disk

Priv set advanced; disk unfail 0a.16 # to unfail a disk

disk reassign -s old_sysid -d new_sysid # to change disk ownership to new

You might also like