로그인
Sign in
Pocket guide for netapp commands
This post contains the list of commands that will be most used and will come handy when managing or monitoring or troubleshooting a Netapp filer.


•sysconfig -a : shows hardware configuration with more verbose information

•sysconfig -d : shows information of the disk 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 other info

•nis info : this shows the nis domain name, yp servers etc.

•rdfile : Like "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 information of the disks in filer
•aggr show_space : Shows the disk usage of the aggreate, WAFL reserve, overheads etc.

•vol status : Shows the volume information

•vol status -s : Displays the spare disks on the filer

•vol status -f : Displays the failed disks on the filer

•vol status -r : Shows the raid configuration, reconstruction information of the disks

•df -h : Displays volume disk 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

•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

•disk show : Shows all the disk on the filer

•disk zero spares : Zeros the spare disks

•disk_fw_update : Upgrades the disk firmware on all disks

•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 network options
•ndmpcopy <src-path> <dst-path> : Initiates ndmpcopy

•ndmpd status : Displays status of ndmpd

•ndmpd killall : Terminates all the ndmpd processes.

•ifconfig : Displays/Sets IP address on a network/vif interface

•vif create : Creates a VIF (bonding/trunking/teaming)

•vif status : Displays status of a vif

•netstat : Displays network statistics

•sysstat -us 1 : begins a 1 second sample of the filer's current utilization (crtl - c to end)
•nfsstat : Shows nfs statistics

•nfsstat -l : Displays nfs stats per client

•nfs_hist : Displays nfs historgram

•statit : beings/ends a performance workload sampling [-b starts / -e ends]
•stats : Displays stats for every counter on netapp. Read stats man page for more info

•ifstat : Displays Network interface stats

•qtree stats : displays I/O stats of qtree

•environment : display environment status on shelves and chassis of the filer
•storage show <disk|shelf|adapter> : Shows storage component details

•snapmirror intialize : Initialize a snapmirror relation

•snapmirror update : Manually Update snapmirror relation

•snapmirror resync : Resyns a broken snapmirror

•snapmirror quiesce : Quiesces a snapmirror bond

•snapmirror break : Breakes a snapmirror relation

•snapmirror abort : Abort a running snapmirror

•snapmirror status : Shows snapmirror status

•lock status -h : Displays locks held by filer

•sm_mon : Manage the locks

•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 takeover : Takes over the cluster partner

•cf giveback : Gives back control to the cluster partner

•reboot : Reboots a filer


If you are not aware of the complete details of these commands and need more information on these commands, refer the Netapp Data Ontap administration manual from now site.

More netapp blog posts at : http://unixfoo.blogspot.com/search/label/netapp
조회 수 :
2838
추천 수 :
15 / 0
등록일 :
2010.08.19
10:56:53 (*.236.3.232)
엮인글 :
http://bestceok.com/xe/index.php?mid=sun_faq&document_srl=3051&act=trackback&key=ccb
게시글 주소 :
http://bestceok.com/xe/index.php?mid=sun_faq&document_srl=3051
List of Articles
번호 제목 글쓴이 날짜 조회 수
171 Fault Manager 사용 하록 2012-06-25 727
170 Fast Data Access MMU Miss 에러시... [1] 하록 2012-02-24 2174
169 디스크 부하율 체크 하록 2011-09-19 828
» netapp 명령어 하록 2010-08-19 2838
167 Duplex 변경 방법... 하록 2010-05-11 1127
166 Duplex 변경 방법... [3] 하록 2010-07-05 1591
165 모니터 해상도 변경 하록 2009-08-25 1123
164 Crash Dump 분석 방법 하록 2009-08-25 2894
163 ftpaccess 파일 설명 하록 2009-08-06 2654
162 미러링 스크립트... 하록 2009-07-09 797
161 disksuite로 OS mirroring 되어있는데 복구하는 방법 하록 2009-06-05 1349
160 DiskSuite 설치 및 OS 미러구성 하록 2009-06-05 1288
159 solaris 10, software 미러링... 하록 2009-06-05 1233
158 IPMP: IP Multipathing 설정방법 하록 2009-06-04 1575
157 단말기 폭 초과 메세지 발생시... 하록 2009-05-28 1029
156 StorEdge 체크 명령어 하록 2009-03-09 1720
155 PROXY 서버 SQUID 설치 하록 2008-11-14 991
154 Network Interface Device Name [1] 하록 2008-11-14 2678
153 System Time 오작동 시... 하록 2008-09-19 1343
152 소스로 APM 설치 하록 2008-05-27 965