로그인
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=07b
게시글 주소 :
http://bestceok.com/xe/index.php?mid=sun_faq&document_srl=3051
List of Articles
번호 제목 글쓴이 조회 수 추천 수 비추천 수 날짜
171 Fault Manager 사용 하록 727     2012-06-25
fmadm faulty fmdump -v -u 89f881e4-91c7-cc7d-d498-b67ad9d0ce35 psrinfo로 CPU 상태 체크  
170 Fast Data Access MMU Miss 에러시... [1] 하록 2174     2012-02-24
ok boot cdrom -s ERROR: Fast Data Access MMU Miss debugger entered. ------------------------------------- 시스템과 맞는 OS인지 확인... 최신버전의 OS는 구버전 시스템에서는 읽을 수 없음  
169 디스크 부하율 체크 하록 828     2011-09-19
iostat -xcnCXTdz  
» netapp 명령어 하록 2838 15   2010-08-19
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...  
167 Duplex 변경 방법... 하록 1127     2010-05-11
아래에... ForceSpeedDuplex=7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7; 을 변경... 7,7을 4,4 등으로 바꿔주면 됨... 인스턴스가 0부터 15까지 있는데.. e1000g0 ~ e1000g15까지임.. 순서대로 4로 바꿔주면 됨... 나머지 것들도 마찬가지... vi /kernel/drv/e1000g.co...  
166 Duplex 변경 방법... [3] 하록 1591     2010-07-05
------------------------------------------------------------------------------------------------------------ Network ndd parameter setting Date : 28 -Oct -2008 By : dssong ---------------------------------------------------------------------...  
165 모니터 해상도 변경 하록 1123     2009-08-25
1. VGA 카드 종류 확인 # prtconf -F /SUNW,ffb@2,0:ffb0 2. vga 카드 관련 명령어 확인 # ls -l /usr/sbin/*config lrwxrwxrwx 1 root root 9 2002년 8월 29일 /usr/sbin/GFXconfig -> pgxconfig* -r-sr-xr-x 1 root bin 61508 1999년 12월 9일 /usr/sbin/afb...  
164 Crash Dump 분석 방법 하록 2894     2009-08-25
Process 의 비정상적인 종료시 Core Dump 파일이 생기고, 시스템의 비정상적인 종료시 Crash Dump 파일이 생기죠? 하지만 대부분의 운영자및엔지니어가 비정상적인 종료에 대한 원인을 파악하기 위해 Dump 파일을 분석하려하지만 생각같이 쉽지많은 않다는것을...  
163 ftpaccess 파일 설명 하록 2654     2009-08-06
ftpaccess(5) ftpaccess(5) 이름 ftpaccess - ftpd 설정 file 설명 ftpaccess file은 ftpd(1) 의 운영을 설정하는데 사용한다. 접근 방법 설정 autogroup <groupname> <class> [<class> ...] Anonymous user가 특정 <class>의 member일때, ftp server는 <group...  
162 미러링 스크립트... 하록 797     2009-07-09
#---------------------------------------------------------------- banner Config-BACKUP~ #cp /etc/vfstab /etc/vfstab.org ls /etc/vfstab* #cp /etc/system /etc/system.org ls /etc/system* #cp /etc/hosts /etc/hosts.org #cp /etc/path_to_inst /etc/...  
161 disksuite로 OS mirroring 되어있는데 복구하는 방법 하록 1349     2009-06-05
Q. SunFire 4800에서 D240장비의 36GB HDD 2개가 mirroring 구성이 되어있습니다. metastat로 확인해보면 c0t0d0 은 정상인데 c0t1d0은 disk가 fail이 난 것 같더군요... format으로 확인해보면 c0t1d0은 <unknown disk> 라고 표시됩니다. c0t1d0 disk를 mirro...  
160 DiskSuite 설치 및 OS 미러구성 하록 1288     2009-06-05
< Solstice Disksuite 4.2.1 를 Solaris 8 에 인스톨하기 > 1. Solaris 8 의 2/2 CD 를 넣습니다. # cd /cdrom/sol_8_1000_sparc_2/Solaris_8/EA/products/DiskSuite_4.2.1/sparc/Packages 2. SDS (Solstice Disksuite ) 패캐지 인스톨하기 # pkgadd -d . 3. P...  
159 solaris 10, software 미러링... 하록 1233     2009-06-05
첫뻔째 과제. 하드웨어적으로 RAID1 이 구성된 시스템을 허물고 software 적으로 동일한 움직임을 구현하는것. -> HDD0 , HDD1 이 동시에 읽고 쓰기가 이루어져 양 디스크가 완벽하게 동일한 구조로 작동. -> 한쪽 디스크의 손상시 다른 한쪽으로 완벽하게 가...  
158 IPMP: IP Multipathing 설정방법 하록 1575     2009-06-04
IPMP: IP Multipathing Filed under: networks — by Kwanghoon Jhin at 15:31 +0900 네트워크에 대한 안정성은 이제, 데이터 만큼이나 중요해 졌습니다. 사실, 시스템에서 운영되어 그 안정성이 절하되는 부분은 없다고 할 수 있습니다. 모든 시스템은 이제 안...  
157 단말기 폭 초과 메세지 발생시... 하록 1029     2009-05-28
stty columns 160  
156 StorEdge 체크 명령어 하록 1720     2009-03-09
usage: sccli [options] device [command] Valid options: -d disk, --disk=cXtYdZ select LVD single-bus JBOD enclosure containing specified disk -h, --help, --usage display valid commands -l, --list display a list of local StorEdge 3000 devices ...  
155 PROXY 서버 SQUID 설치 하록 991     2008-11-14
프록시 서버는 네트워크속도가 느린 환경에서 보다 빠른 인터넷을 사용하기 위해 서버에 캐시서버를 만들어 자주가는 사이트를 저장하여 접속할때 속도를 빠르게 하기위해 쓰인다. 또한 클라이언트의 접속통제 등의 네트워크보안을 유지할때도 쓰인다. 1) 다운...  
154 Network Interface Device Name [1] 하록 2678     2008-11-14
Network Interface Device dnet DEC 21040/21140 Ethernet, DEC 21142/21143 Fast Ethernet, SMC9332BDT Fast Ethernet, Cogent EM110TX Fast Ethernet, Cogent EM440 Fast Ethernet e1000g Intel(R) PRO/1000 Server Adapter elx 3C590, 3C595, 3C5×9, 3C5×9B...  
153 System Time 오작동 시... 하록 1343     2008-09-19
우선 이문제는 ScApp 5.18.X, 5.19.X와 5.20.X 일때, SC의 uptime이 575일 이상이면 발생 할 수 있는 문제입니다. 두가지 조건이 모두 만족해야하는거고 조치 방법은 5.20.7이상으로 ScApp를 upgrade하는 것입니다. 또한 4800뿐 아니라 다음의 서버군에 해당하...  
152 소스로 APM 설치 하록 965     2008-05-27
소스로 APM 설치 1. 소스 받기 아파치 : http://httpd.apache.org/download.cgi Mysql : wget http://dev.mysql.com/get/Downloads/MySQL-4.0/mysql-standard-4.0.23-pc-linux-i686.tar.gz/from/http://mysql.new21.com/ (4.1버전도 있지만 제로 보드와 연동 ...