Tuesday, August 23, 2016

Netapp Basic Commands Getting Started with Cluster Mode

Netapp Basic commands getting started with cluster mode, If we look into the previous Netapp 7-mode there is no Option to Clear all the commands typed on screen and change directory path from one to another without changing the privilege from admin to Advanced. 

Change Directory cd Command
Cluster::> cd dashboard
Cluster::> cd volume
Cluster::> cd "storage aggregate"

 History of Previously executed commands
Cluster::> history
1 cd dashboard
2 cd volume
3 cd "storage aggregate"  
Cluster::> redo 2 

history is the command to see the history of previously executed commands and redo is the command to execute the previously executed command number 2

 Clear Screen
To clear the screen of cluttered with commands and commands output just press CTRL+L

Instantly getting help from Netapp Command Line

Suddenly struck up in middle of the task because did not remember the command need help use inbuilt man pages to get help from command line. 

Cluster::> man storage aggregate

Rows to Display in CLI session

Show/Set the rows for CLI session using rows command

Cluster::> rows 45

Above command will set the CLI session display as 45 rows. 

Run commands interactively Or non-interactively 

Cluster::>  run -node node1 -command "aggr status; vol status"

Using above command we can run commands on nodeshell interactively Or non-interactively. Above command will show aggregate status and Volume status yet the same time on node1 system.

Change Privileges as per the requirement

Using set command we can change the privilege level 

1. Privilege as Advanced
2. Privilege to admin
3. Privilege as Diag

Cluster::> set -privilege advanced 

Note: Until unless you have a compulsary requirement in advanced mode then only using above command, Strictly not required for normal usage.

Cluster::> set diag

Diagnostic log collection or performance deep digging we can use above command

Cluster::> set admin

Setting as Admin we can come from diag and advanced mode to admin mode

TOP command

top command is used to change from any level directory path to direct top which means out of directory path.

Cluster::> cd network interface
Cluster:: interface> top

UP Command

Using up command one step directory path will go to up.

Cluster::> cd  storage aggregate

Cluster:: aggregate> up

Cluster:: storage>

Exit from CLI Session

We can also use exit command to exit from CLI session also we can press CTRL + D

That's it about Basic Commands Getting Started with Cluster Mode Netapp.

Related Articles You can Read

Aggr command Netapp Cluster Mode

Move Volume from One SVM to Another SVM

Monday, August 22, 2016

Netapp NFS Issues Troubleshooting tips and steps Ultimate Guide

# NFS troubleshooting

Problem1: Stale NFS File handle

Sample Error Messages - NFS Error 70

Error Explanation:

A “stale NFS file handle” error message can and usually is caused by the following events:
  1. A certain file or directory that is on the NFS server is opened by the NFS client
  2. That specific file or directory is deleted either on that server or on another system that has access to the same share
  3. Then that file or directory is accessed on the client
  A file handle usually becomes stale when a file or directory referenced by the file handle on the client is removed by another host, while your client is still holding on to an active reference to that object.

Resolution Tips

  • Check connectivity to the storage system (server)
  • Check mount point
  • Check client vfstab or fstab as relevant
  • Check showmount –e filerx from client
  • Check exportfs from command line of the storage system
  • Check storage system /etc/exports file

Problem2: NFS server not responding

NFS Server (servername) not responding

Error Explanation: NFS client hangs, mount hangs on all clients

Resolution Tips

  • Use ping to contact the hostname of the storage system (server) from client
  • Use ping to contact the client from the storage system
  • Check ifconfig from the storage system
  • Check that the correct NFS version is enabled
  • Check all nfs options on the storage system
  • Check /etc/rc file for nfs options
  • Check nfs license

Problem3: Permission denied

nfs mount: mount: /nfs: Permission denied

Error Explanation: Permission is not there but trying to access NFS share from server

Resolution Tips

  • Check showmount –e filername from client
  • Try to create a new mountpoint
  • Check exportfs at the storage system command line to see what system is exporting
  • Check auditlog for recent exportfs –a
  • Check the /etc/log/auditlog for messages related to exportfs
  • Check the storage path with exportfs –s
  • Check whether the client can mount the resource with the exportfs –c command
  • Flush the access cache and reload the exports, then retry the mount

Problem4: Network Performance Slow

Poor NFS read and/or write performance

Error Explanation: End user is feeling the slowness

Resolution Tips

  • Check sysstat 1 for nfs ops/sec vs. kbs/sec
  • Check parameters on network card interface (NIC) with ifconfig –a
  • Check netdiag
  • Check network condition with ifstat –a; netstat –m
  • Check client side network condition
  • Check routing table on the storage system with netstat
  • Check routing table on the client
  • Check perfstat.sh
  • Check throughput with sio_ntap tool
  • Check rsize and wsize
  • Consider configuring jumbo frames (entire path must support jumbo frames)

Problem5: RPC not responding

RPC: Unable to receive or RPC:Timed out

Resolution Tips

  • Use ping to contact the storage system (server)
  • From storage system, use ping to contact client
  • Check mountpoint
  • Check showmount –e filerX from client
  • Verify name of directory on the storage system
  • Check exportfs to see what the storage system is exporting
  • Use the "rpcinfo -p filerx" command from the client to verify that the RPCs are running

Problem6: No Space Left On Disk

No space left on disk error

Resolution Tips

  • Check df for available disk space
  • Check for snapshot overruns
  • Check quota report for exceeded quotas

Write Your Valuable Comments ..................