Skip to content


Spares FAQ

I’ve seen a few search hits over the past weeks for spares, making spares, removing spares, disable spares and so on, so I thought I’d put down a quick FAQ on the subject. I will add to this as more searches come up, or if people ask specific questions.

How do I make new spares?

Any disk in your system, that is owned but has no data on it will be marked as a spare disk. Most systems have disk auto-assign enabled, but you can do a “disk assign <disk_id>” to do it hard. Be careful to get the <disk_id> correct as there are ways to override the protection and remove disks from a partner!

You cannot remove disks from an aggregate! This is very important, so grow your aggregates with caution, it’s easy to grow, impossible to shrink. If you’ve grown your aggregate too much then you’ll need to destroy it to regain those spares (that’s a bummer!).

If a disk has been moved around, or previously had data on it, you’ll need to zero it. “disk zero spares” does the job, depending on the size of the disk will depend on how long it takes, usually no more than 4 hours even for the largest of disks (at time of writing, 1TB disks).

How do I remove spares?

This depends what you are removing them for. Adding them in to an aggregate, just a simple case of “aggr add ….”. To remove them from the system, you can pretty much just hot pull it out. Disable autosupport first though, or you’ll probably get a replacement in the post ;) . To swap them accross systems, you can use “disk remove_ownership <disk_id>” and then on the newer system “disk assign <disk_id>”, or if you’re lazy, “disk assign all”!

How do I disable spares?

Very simple, you can’t :( . The system needs protection, so much the same as the police will stop you for not wearing a seatbelt, despite your disregard for your own life, they will still stop you. The filer is a policeman! Regardless of your disregard for data protection, or perhaps your need for that extra little bit of space, the filer will complain constantly if you don’t have any hot spares. You will need at least 1 per disk type. That is, if you have FC and SATA, you will need at least one of each. If you have FC 10k and FC 15k, you can get away with only 1 FC 15k as it will slow down to 10k, but you cannot get away with just 1 FC 10k as it won’t be able to keep up with the rest.

Why does the GUI force me to have 2 hot spares?

This is the urban legen I’m told. NetApp engineering discovered that somewhere around 70% of returned disks only had soft errors and could easily be used for another year or so. Don’t quote me on the numbers there, but suffice to say it was a lot. A quick low-level format of the disk and reloading with firmware and the disk was ready to go back into production!

So NetApp built in this functionality into the storage controller. The Disk Maintenance Garage will take a failed disk, turn it offline and run some low-level diagnostics to see if the disk can be recovered. I’d say 50% of the time it can, and goes back in as a hot-spare! This saves everyone time and money. But just in case, the filer will still do a disk rebuild, and an autosupport will still be sent, and (providing a valid support contract), a disk will still be shipped in replacement. Because the process takes the failed disk offline, you still need 1 hot spare ready in case of double disk failure. So you need 2 hot spares per disk type.

VN:F [1.9.3_1094]
Rate this post:
Rating: 10.0/10 (1 vote cast)
Spares FAQ, 10.0 out of 10 based on 1 rating

Posted in Web Searches.

Tagged with , , , , , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.



Bad Behavior has blocked 1164 access attempts in the last 7 days.

© 2009-2010 Chris Kranz All Rights Reserved
This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.