{"id":87,"date":"2016-04-19T05:20:43","date_gmt":"2016-04-18T22:20:43","guid":{"rendered":"http:\/\/rickyadams.com\/wp\/?page_id=87"},"modified":"2017-07-12T04:45:36","modified_gmt":"2017-07-11T21:45:36","slug":"storage","status":"publish","type":"page","link":"https:\/\/www.rickyadams.com\/wp\/storage\/","title":{"rendered":"Storage"},"content":{"rendered":"<h2>NetApp<\/h2>\n<h4>Common Commands:<\/h4>\n<p><span class=\"keyword cmdname\">system health status show<br \/>\n<\/span>sysstat -c 20 -x -d 1<\/p>\n<p>&nbsp;<\/p>\n<p>show domain authenication AD\/LDAP\u00a0\u00a0\u00a0\u00a0 &#8212;-&gt;\u00a0 cifs domaininfo<br \/>\nlookup user sid\u00a0 &#8212;-&gt;\u00a0 cifs lookup &lt;username&gt;<br \/>\nlist user group membership\u00a0\u00a0 &#8212;-&gt;\u00a0 wcc -s &lt;username&gt;<\/p>\n<p>&nbsp;<\/p>\n<h3>Tintri<\/h3>\n<p>No reference needed (LOL)\u00a0\u00a0\u00a0\u00a0\u00a0 <a href=\"http:\/\/www.tintri.com\" target=\"_blank\" rel=\"noopener\">http:\/\/www.tintri.com<\/a><\/p>\n<div class=\"body\">\n<div class=\"container\">\n<div class=\"row-fluid\">\n<div class=\"item-page\">\n<h1>NetApp Reference<\/h1>\n<p><a href=\"http:\/\/www.netapp.com\/us\/\">http:\/\/www.netapp.com\/us\/<\/a><\/p>\n<\/div>\n<\/div>\n<p>http:\/\/www.rickyadams.com\/wp\/index.php\/2016\/04\/24\/netapp-command-reference\/<\/p>\n<div class=\"row-fluid\">\n<div class=\"item-page\">\n<p>Common Command Examples:<\/p>\n<p>OnTap Commands (7-mode)<\/p>\n<div class=\"entry-content\">\n<ul>\n<li>sysconfig -a : shows hardware configuration with more verbose information<\/li>\n<li>sysconfig -d : shows information of the disk attached to the filer<\/li>\n<li>version : shows the netapp Ontap OS version.<\/li>\n<li>uptime : shows the filer uptime<\/li>\n<li>dns info : this shows the dns resolvers, the no of hits and misses and other info<\/li>\n<li>nis info : this shows the nis domain name, yp servers etc.<\/li>\n<li>rdfile : Like \u201ccat\u201d in Linux, used to read contents of text files\/<\/li>\n<li>wrfile : Creates\/Overwrites a file. Similar to \u201ccat &gt; filename\u201d in Linux<\/li>\n<li>aggr status : Shows the aggregate status<\/li>\n<li>aggr status -r : Shows the raid configuration, reconstruction information of the disks in filer<\/li>\n<li>aggr show_space : Shows the disk usage of the aggreate, WAFL reserve, overheads etc.<\/li>\n<li>vol status : Shows the volume information<\/li>\n<li>vol status -s : Displays the spare disks on the filer<\/li>\n<li>vol status -f : Displays the failed disks on the filer<\/li>\n<li>vol status -r : Shows the raid configuration, reconstruction information of the disks<\/li>\n<li>df -h : Displays volume disk usage<\/li>\n<li>df -i : Shows the inode counts of all the volumes<\/li>\n<li>df -Ah : Shows \u201cdf\u201d information of the aggregate<\/li>\n<li>license : Displays\/add\/removes license on a netapp filer<\/li>\n<li>maxfiles : Displays and adds more inodes to a volume<\/li>\n<li>aggr create : Creates aggregate<\/li>\n<li>vol create : Creates volume in an aggregate<\/li>\n<li>vol offline : Offlines a volume<\/li>\n<li>vol online : Onlines a volume<\/li>\n<li>vol destroy : Destroys and removes an volume<\/li>\n<li>vol size [+|-] : Resize a volume in netapp filer<\/li>\n<li>vol options : Displays\/Changes volume options in a netapp filer<\/li>\n<li>qtree create : Creates qtree<\/li>\n<li>qtree status : Displays the status of qtrees<\/li>\n<li>quota on : Enables quota on a netapp filer<\/li>\n<li>quota off : Disables quota<\/li>\n<li>quota resize : Resizes quota<\/li>\n<li>quota report : Reports the quota and usage<\/li>\n<li>snap list : Displays all snapshots on a volume<\/li>\n<li>snap create : Create snapshot<\/li>\n<li>snap sched : Schedule snapshot creation<\/li>\n<li>snap reserve : Display\/set snapshot reserve space in volume<\/li>\n<li>\/etc\/exports : File that manages the NFS exports<\/li>\n<li>rdfile \/etc\/exports : Read the NFS exports file<\/li>\n<li>wrfile \/etc\/exports : Write to NFS exports file<\/li>\n<li>exportfs -a : Exports all the filesystems listed in \/etc\/exports<\/li>\n<li>cifs setup : Setup cifs<\/li>\n<li>cifs shares : Create\/displays cifs shares<\/li>\n<li>cifs access : Changes access of cifs shares<\/li>\n<li>lun create : Creates iscsi or fcp luns on a netapp filer<\/li>\n<li>lun map : Maps lun to an igroup<\/li>\n<li>lun show : Show all the luns on a filer<\/li>\n<li>igroup create : Creates netapp igroup<\/li>\n<li>lun stats : Show lun I\/O statistics<\/li>\n<li>disk show : Shows all the disk on the filer<\/li>\n<li>disk zero spares : Zeros the spare disks<\/li>\n<li>disk_fw_update : Upgrades the disk firmware on all disks<\/li>\n<li>options : Display\/Set options on netapp filer<\/li>\n<li>options nfs : Display\/Set NFS options<\/li>\n<li>options timed : Display\/Set NTP options on netapp.<\/li>\n<li>options autosupport : Display\/Set autosupport options<\/li>\n<li>options cifs : Display\/Set cifs options<\/li>\n<li>options tcp : Display\/Set TCP options<\/li>\n<li>options net : Display\/Set network options<\/li>\n<li>ndmpcopy : Initiates ndmpcopy<\/li>\n<li>ndmpd status : Displays status of ndmpd<\/li>\n<li>ndmpd killall : Terminates all the ndmpd processes.<\/li>\n<li>ifconfig : Displays\/Sets IP address on a network\/vif interface<\/li>\n<li>vif create : Creates a VIF (bonding\/trunking\/teaming)<\/li>\n<li>vif status : Displays status of a vif<\/li>\n<li>netstat : Displays network statistics<\/li>\n<li>sysstat -us 1 : begins a 1 second sample of the filer\u2019s current utilization (crtl \u2013 c to end)<\/li>\n<li>nfsstat : Shows nfs statistics<\/li>\n<li>nfsstat -l : Displays nfs stats per client<\/li>\n<li>nfs_hist : Displays nfs historgram<\/li>\n<li>statit : beings\/ends a performance workload sampling [-b starts \/ -e ends]<\/li>\n<li>stats : Displays stats for every counter on netapp. Read stats man page for more info<\/li>\n<li>ifstat : Displays Network interface stats<\/li>\n<li>qtree stats : displays I\/O stats of qtree<\/li>\n<li>environment : display environment status on shelves and chassis of the filer<\/li>\n<li>storage show &lt;disk|shelf|adapter&gt; : Shows storage component details<\/li>\n<li>snapmirror intialize : Initialize a snapmirror relation<\/li>\n<li>snapmirror update : Manually Update snapmirror relation<\/li>\n<li>snapmirror resync : Resyns a broken snapmirror<\/li>\n<li>snapmirror quiesce : Quiesces a snapmirror bond<\/li>\n<li>snapmirror break : Breakes a snapmirror relation<\/li>\n<li>snapmirror abort : Abort a running snapmirror<\/li>\n<li>snapmirror status : Shows snapmirror status<\/li>\n<li>lock status -h : Displays locks held by filer<\/li>\n<li>sm_mon : Manage the locks<\/li>\n<li>storage download shelf : Installs the shelf firmware<\/li>\n<li>software get : Download the Netapp OS software<\/li>\n<li>software install : Installs OS<\/li>\n<li>download : Updates the installed OS<\/li>\n<li>cf status : Displays cluster status<\/li>\n<li>cf takeover : Takes over the cluster partner<\/li>\n<li>cf giveback : Gives back control to the cluster partner<\/li>\n<li>reboot : Reboots a filer<\/li>\n<\/ul>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong>NetApp with PowerShell CmdLet<\/strong><\/p>\n<p>Set-ExecutionPolicy unrestricted<br \/>\nImport-module DataOnTap<br \/>\nConnect-NaController controllernameORip\u00a0\u00a0\u00a0\u00a0\u00a0 (or) \u00a0\u00a0\u00a0\u00a0 Connect-NcController clustername<br \/>\nGet-NaLun | Out-File d:lunlist.txt<br \/>\nGet-NaVol | OutFile d:vollist.txt<br \/>\nGet-NaVol | Get-NaSnapshot | Select TagetName,Name,Created | Out-File d:snapshotlist.txt<\/p>\n<p>More references:<\/p>\n<p><a href=\"http:\/\/practical-admin.com\/blog\/netapp-powershell-toolkit-101-managing-volumes\/\">http:\/\/practical-admin.com\/blog\/netapp-powershell-toolkit-101-managing-volumes\/<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>NetApp Common Commands: system health status show sysstat -c 20 -x -d 1 &nbsp; show domain authenication AD\/LDAP\u00a0\u00a0\u00a0\u00a0 &#8212;-&gt;\u00a0 cifs domaininfo lookup user sid\u00a0 &#8212;-&gt;\u00a0 cifs lookup &lt;username&gt; list user group membership\u00a0\u00a0 &#8212;-&gt;\u00a0 wcc -s &lt;username&gt; &nbsp; Tintri No reference needed (LOL)\u00a0\u00a0\u00a0\u00a0\u00a0 http:\/\/www.tintri.com NetApp Reference http:\/\/www.netapp.com\/us\/ http:\/\/www.rickyadams.com\/wp\/index.php\/2016\/04\/24\/netapp-command-reference\/ Common Command Examples: OnTap Commands (7-mode) sysconfig -a : shows hardware configuration with more verbose information sysconfig -d : shows information of the disk attached to the filer version : shows the netapp&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/www.rickyadams.com\/wp\/storage\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-87","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.rickyadams.com\/wp\/wp-json\/wp\/v2\/pages\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rickyadams.com\/wp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.rickyadams.com\/wp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.rickyadams.com\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rickyadams.com\/wp\/wp-json\/wp\/v2\/comments?post=87"}],"version-history":[{"count":7,"href":"https:\/\/www.rickyadams.com\/wp\/wp-json\/wp\/v2\/pages\/87\/revisions"}],"predecessor-version":[{"id":642,"href":"https:\/\/www.rickyadams.com\/wp\/wp-json\/wp\/v2\/pages\/87\/revisions\/642"}],"wp:attachment":[{"href":"https:\/\/www.rickyadams.com\/wp\/wp-json\/wp\/v2\/media?parent=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}