Friday, April 20, 2012

NetApp Commands Quick Reference

So I'm going to compile some commands for the NetApp ONTAP 8 controllers. These will be commonly used commands that can help you get online fast, do common tasks, or get some useful information.

disk show
  1. this has some options that are handy
    1. -a show only the assigned disks
    2. -v show all the disks (yea doesn't make sense, a != all)
    3. you can use wild cards to get only the disks you want like 4d.10.*
    4. ex. disk show -v 4d.10*
disk assign
  1. This assigns disks to the controller. The good and bad part is that you basically just use -n <number> and it assigns a number of disks to the controller, you don't choose it chooses for you. I'm old school, I like control. But you have to learn to let go.
  2. Now the options for this are not to bad but there are some to be careful of.
    1. assign -n <number> -- This will assign a number of disks to the controller.
    2. assign <diskID> -s unowned -- This will UNASSIGN the disk from the controller.
      1. Checking for wild card capabilities for this.
    3. remove DO NOT DO THIS UNLESS YOU ARE REMOVING A FAILED DRIVE.

more to come. - Updating over the next few weeks.

No comments:

Post a Comment