Pages

Tuesday, February 18, 2014

NetApp Clustered ONTap broken disk label

I recently installed a new Clustered ONTap 8.2 config that is replacing an existing 3210 7-Mode stack.  This configuration required some swing gear and a bit of shuffling of data to get right in the end.  I always told my mom that those hours of Tetris would pay off in the end.

With the swing gear, I ran into a couple of hiccups I had not seen in a while and had forgotten how to resolve.  I decided to blog here for my own record, and if it helps someone else out great.

The first issue I ran into was bad disk labels.  I had seen this particular issue when adding a new stack to my lab NetApp after upgrading to CDot 8.1.  The disk labels were for a 7-mode config, and though I removed ownership of the disks prior to evacuating them from the previous system, the disks showed up as 'Broken'.

Fortunately, the fix is pretty straight forward.

First I needed to drop into the node shell




I can then run the following 7-mode commands:

  disk assign <diskid>
  priv set diag
  labelmaint isolate <diskid>
  label wipe <diskid>
  label wipev1 <diskid>
  label makespare <diskid>
  labelmaint unisolate
  priv set

I was unable to find a way to wildcard this process, so unfortunately it was a laborious process, but in the end it got the job done.