Category Archives: NetApp



Netapp Show Uptime

How To show Netapp Uptime from the Command Line, this command will show you how long your Netapp has been powered on. The command will also show you NFS, CIFS, iSCSI, HTTP & Fiber Channel uptime.

This Netapp HowTo is useful for the following

  • Displaying Netapp Uptime
  • Netapp uptime command
  • Netapp Show NFS Uptime
  • Netapp Show CIFS Uptime
  • Netapp Show iSCSI uptime
  • Show HTTP Uptime on Netapps
  • Display Netapp Fiber Channel Uptime


Show Netapp Ontap Version

How to show the Netapp OnTap operating system version from the CLI, this command will display the Netapp release number and the mode (e.g 7-mode).

This Netapp HowTo is useful for the following

  • Display Netapp OS Version
  • How To Show OnTAP Version Number
  • Show Netapp mode type
  • Display Operating System Version

How To Show OnTAP OS Version Number

To show the Netapp OnTAP version and mode enter the following command:

1
version

This will be give you an output similar to:

1
2
netapp01> version
NetApp Release 8.1.2 7-Mode: Tue Oct 30 19:56:51 PDT 2012


Netapp Show Disk Information

How to show netapp disk information from the CLI, this command will show Netapp HA, Shelf, bay, FC Channel, Disk Vital Product Information.

This Netapp HowTo is useful for the following

  • Display Netapp Disk Information
  • Show Netapp Disk FC Channel
  • Show Netapp HA
  • Netapp Show Disk Shelf
  • Netapp Show Disk Bay

Netapp Show Disk Information Command

Display the disk info with the following command:

1
sysconfig -d


Netapp Show Hardware Configuration

Before making any changes to your Netapp configuration it is good practice to take a backup of your existing configuration.

This Netapp HowTo is useful for the following

  • Netapp Display Configuration
  • Netapp Display Current Configuration
  • How To Show Netapp Configuration

How To Display Hardware Configuration on a Netapp

Netapp Display Hardware Configuration Command:

1
sysconfig -a


Netapp Create, Append or Overwrite a File (Like Cat Blah > file.txt)

How to create / overwrite a file on a Netapp, simialr to the unix / linux command “cat blah > file.txt”

This Netapp HowTo is useful for the following

  • Netapp add text to file
  • Netapp overwrite file
  • Netapp edit file

Netapp Create a File & add text to a File

The following command will create the file /etc/ironman.txt and add two lines “Pepper Potts” and “War Machine”

1
2
netapp> wrfile -a /etc/ironman.txt "Pepper Potts"
netapp> wrfile -a /etc/ironman.txt "War Machine"

The contents of the above file will look like this:



Netapp How to Read a File (Like Cat on Unix / Linux)

Netapp comes with a command to read text files, it’s similar to the Unix / Linux cat command.

This Netapp HowTo is useful for the following

  • Read files on Netapp
  • Netapp open text file
  • Netapp cat text file
  • Netapp read file on command line

Enter the following command to read text files on the command line:

1
rdfile /etc/hosts

The command above would print the contents of /etc/hosts



NetApp Create LUN

This Netapp HowTo is useful for the following

  • Create LUN
  • Create FCP LUN
  • NetApp Create LUN iSCSI

NetApp Create LUN

NetApp Create LUN
1
netapp> lun create -s 200m -t windows /vol/vol2/qtree2/lun3


Netapp Show Disk Usage for Aggregate Using Df

How to show Netapp Aggregate usage using df.

This Netapp HowTo is useful for the following

  • Netapp Show Aggregate Usage
  • Netapp Show Agrregate Disk Usage
  • Netapp Show Aggregate usage df

Netapp Show Aggregate Usage (df command)

1
2
3
4
netapp> df -Ah
Aggregate                total       used      avail capacity
aggr0                    900MB      878MB       21MB      98%
aggr0/.snapshot            0MB       22MB        0MB     ---%