NetApp Volume

From Tassadar
Revision as of 01:54, 30 October 2011 by Madsushi (Talk | contribs)

Jump to: navigation, search

What are Volumes?

The best way to think of a NetApp volume is to imagine a folder in Windows. All of the disk/RAID configuration is already taken care of at the aggregate level, and you're ready to start laying down some data.

Rather than just throwing files around all over the place, you use Volumes (like folders) to sort your data. The big difference between a traditional folder and a volume is that a volume has a set size. Imagine if you went into a folder's properties and set its size to "50 GB", that's what a volume is like. Not only do we say that the volume can't be over 50 GB, we actually fix its size at 50 GB, so it consumes 50 GB of space even when its empty. When you start talking about enterprise storage, you realize that you are able to thin-provision just about everything if you wanted to. NEVER THIN-PROVISION VOLUMES. Volumes should always be set to RESERVE their full space upon creation. This way, when you look at your space available on the aggregate, you know that is your true space available.

If you mess up volume thin-provisioning, you can take an entire aggregate down with you. If you mess up thin-provisioning inside of a volume, then only that volume is affected. Speaking as a guy who has taken down plenty of volumes, don't mess this up.

Naming Volumes

Volume naming is something very dear to my heart. Please, standardize your volume names and realize that we will be using these volume names in conversation, so make them readable. Here are some CIO standards:

If you're just doing a normal volume, just call it something short and simple. There's no need to get fancy or to introduce extra acronyms for no reason. Seriously.

For SQL or Exchange, you need 2-3 volumes. Use the volume name suffixed by SQL, Logs, or SnapInfo. If you're talking about Exchange or a non-SQL app, suffix the first volume with DB. For example:

  • PandoraSQL, PandoraLogs, PandoraSnapInfo
  • ExchDB, ExchLogs


For SnapVaulted volumes, you add sv_ to the original volume's name. Example:

  • sv_PandoraSQL


Making a volume

NetApp is transitioning into using System Manager for all management purposes, so we should start to use it for everything as well. Data ONTAP 8.1 doesn't even ship with FilerView at all. Here's a walkthrough of making a new volume in System Manager. Go to Storage, then Volumes, and hit Add Volume. Here's the window you're presented with:

Volumenaming.jpg

  • We already went over naming, you have that part handled.
  • You obviously want to pick the right aggregate, but for all non-CHS customers, this will always be aggr0.
  • For Storage Type, the only thing that changes is whether it's exported by default or not. THIS CHOICE DOESN'T REALLY MATTER.
  • Set your total size appropriately, but know you can move it up and down at will without any issues.
  • Snapshot Reserves will be covered in a later chapter, but ALWAYS SET THIS TO 0%.
  • Obviously turn off Thin Provisioning.


Let's move to the second tab:

Dedupesettings.jpg

  • We'll turn on deduplication, obviously it's a good thing and should be turned on just about everywhere.
  • Compression is only used in very specific scenarios, ALWAYS LEAVE THIS OFF.


Adjusting settings

Now that we've successfully created the volume, let's finish the setup.

Snapsettings.jpg

Here's where you can make your snapshot directory visible (almost always good), enable scheduled snapshots, and configure when they're taken. If you're working with a volume that will be snapshotted by SnapManager for whatever, TURN OFF SCHEDULED SNAPSHOTS.


Configdedupe.jpg

Scheduled your dedupe jobs to happen before your snapshots happen.


Advvolume.jpg

You can set up Autogrow, which will grow the volume if it fills up. Only use this for emergencies. You can also set it to Auto-delete older snapshots when it fills up, which is usually the better choice. Fractional Reserve needs to be on for every volume, no exceptions. Unless the volume is constantly managed by an expert, turning Fractional Reserve off is asking for serious trouble.