Sie sind auf Seite 1von 5

http://gordin.us/sergo/netapp/cmdref/index.

htm#index==== =========> MAN PAGES license add xxxx df -h df -i df -A -h mat maxfiles === to increase the number of inodes in a volume begins a 1 second sample of the filer's curren beings/ends a performance wor load sampling [prints nfs statistics since reboot (-z zeros o == === === === add license to a filer displays volume usage in human readable format displays inode utilization per volume displays aggregate usage in human readable for

sysstat -us 1 === t utilization (crtl - c to end) statit -b/-e b starts / -e ends] nfsstat -d [-z] ut the counters) === ===

nfs_hist [-z] === displays a histogram of nfs response latencies since reboot (-z zeros the counters) aggr status -i ch aggregate date -u === === displays aggregate and volumes contained in ea displays date in universal time (UTC) shows each dis s primary and secondary paths i shows where each dis is in the shelfs. shows statistics per nfs client. shows lun wor load statistics shows lun mapping information shows statistics per qtree shows hardware configuration (-a is more verb display environment status on shelves and cha

nfsstat -l [-z] lun stats -o lun show -m qtree stats sysconfig [-a] ose listing) environment ssis of the filer led_on 4a.17 dis _fw_update )

=== === === === === === === ===

update dis firmware (may require an downtime shows connected iscsi initiators The filer's own rm command (only for files,

iscsi show initiator=== rm /vol/vol0/some_file===

illuminates dis

led's

fcadmin device_map =

storage show dis -p=== f dual-looped

not for directories) version [-v] === chec what OnTap version you are on. -v shows whether the ernel is optimized or not. ndmpcopy /vol/vol0/qtree1 /vol/vol1/qtree1 === ata from one volume to another rdfile /etc/resolv.conf ===

sysconfig -a : shows hardware configuration with more verbose informatio n sysconfig -d : shows information of the dis attached to the filer version : shows the netapp Ontap OS version. uptime : shows the filer uptime dns info : this shows the dns resolvers, the no of hits and misses and o ther info nis info : this shows the nis domain name, yp servers etc. rdfile : Li e "cat" in Linux, used to read contents of text files/ wrfile : Creates/Overwrites a file. Similar to "cat > filename" in Linux aggr status : Shows the aggregate status aggr status -r : Shows the raid configuration, reconstruction informatio n of the dis s in filer

vol status : Shows the volume information vol status -s : Displays the spare dis s on the filer vol status -f : Displays the failed dis s on the filer vol status -r : Shows the raid configuration, reconstruction information of the dis s df -h : Displays volume dis usage df -i : Shows the inode counts of all the volumes df -Ah : Shows "df" information of the aggregate license : Displays/add/removes license on a netapp filer maxfiles : Displays and adds more inodes to a volume aggr create : Creates aggregate vol create <volname> <aggrname> <size> : Creates volume in an aggregate

aggr show_space : Shows the dis erheads etc.

usage of the aggreate, WAFL reserve, ov

use ndmpcopy to copy d

shows the contents of text file

vol offline <volname> : Offlines a volume vol online <volname> : Onlines a volume vol destroy <volname> : Destroys and removes an volume vol size <volname> [+|-]<size> : Resize a volume in netapp filer vol options : Displays/Changes volume options in a netapp filer qtree create <qtree-path> : Creates qtree qtree status : Displays the status of qtrees quota on : Enables quota on a netapp filer quota off : Disables quota quota resize : Resizes quota quota report : Reports the quota and usage snap list : Displays all snapshots on a volume snap create <volname> <snapname> : Create snapshot snap sched <volname> <schedule> : Schedule snapshot creation snap reserve <volname> <percentage> : Display/set snapshot reserve space in volume /etc/exports : File that manages the NFS exports rdfile /etc/exports : Read the NFS exports file wrfile /etc/exports : Write to NFS exports file exportfs -a : Exports all the filesystems listed in /etc/exports cifs setup : Setup cifs cifs shares : Create/displays cifs shares cifs access : Changes access of cifs shares lun create : Creates iscsi or fcp luns on a netapp filer lun map : Maps lun to an igroup lun show : Show all the luns on a filer igroup create : Creates netapp igroup lun stats : Show lun I/O statistics dis show : Shows all the dis on the filer dis zero spares : Zeros the spare dis s dis _fw_update : Upgrades the dis firmware on all dis s

options : Display/Set options on netapp filer options nfs : Display/Set NFS options options timed : Display/Set NTP options on netapp. options autosupport : Display/Set autosupport options options cifs : Display/Set cifs options options tcp : Display/Set TCP options options net : Display/Set networ options ndmpcopy <src-path> <dst-path> : Initiates ndmpcopy ndmpd status : Displays status of ndmpd ndmpd illall : Terminates all the ndmpd processes. ifconfig : Displays/Sets IP address on a networ /vif interface vif create : Creates a VIF (bonding/trun ing/teaming) vif status : Displays status of a vif

sysstat -us 1 : begins a 1 second sample of the filer's current utilization (crt l - c to end) nfsstat : Shows nfs statistics nfsstat -l : Displays nfs stats per client nfs_hist : Displays nfs historgram statit : beings/ends a performance wor load sampling [-b starts / -e ends] stats : Displays stats for every counter on netapp. Read stats man page for more info ifstat : Displays Networ interface stats qtree stats : displays I/O stats of qtree environment : display environment status on shelves and chassis of the f iler storage show <dis |shelf|adapter> : Shows storage component details snapmirror intialize : Initialize a snapmirror relation snapmirror update : Manually Update snapmirror relation snapmirror resync : Resyns a bro en snapmirror snapmirror quiesce : Quiesces a snapmirror bond

netstat : Displays networ

statistics

snapmirror abort : Abort a running snapmirror snapmirror status : Shows snapmirror status

sm_mon : Manage the loc s storage download shelf : Installs the shelf firmware software get : Download the Netapp OS software software install : Installs OS download : Updates the installed OS cf status : Displays cluster status cf ta eover : Ta es over the cluster partner cf givebac : Gives bac control to the cluster partner reboot : Reboots a filer

1) To show all dis s on the system : Use "storage show dis -T" to displ ay all the dis s attached to the filer, the dis serial number, vendor, model, dis firmware version and type of dis (SATA/ATA/FCAL) # rsh filer12 storage show dis -T 2) To see complete information of a particular dis : Use "storage show dis -a <dis -id>" to view complete information of a netapp dis . This command gives you the shelf, bay, serial number of dis , dis speed and many other. # rsh filer12 storage show dis -a 0d.99 3) To list all storage adapters on the filer : Use "storage show adapter -a" command to display all the storage adapters (hba) on the filer. # rsh filer12 storage show adapter -a 4) To get shelf details of filer : Use "storage show shelf <shelf-id>" c ommand to display the details of the shelf and its partner shelf. # rsh filer12 storage show shelf 0c.shelf2

loc

status -h : Displays loc s held by filer

snapmirror brea

: Brea es a snapmirror relation

Das könnte Ihnen auch gefallen