Tuesday, 19 February 2013

How to replace failed hard drive on NetApp FAS

What:

NetApp FAS270, FAS2020, FAS2040, FAS2240, FAS2050

Problem:

Hard drive has failed and needs replacement.

Solution:

Disk will have an amber LED on the front of it if it has an issue. You will need a disk of the same capacity as the one you are removing or larger, also make sure disk is the correct type for the shelves that you have.
You can identify failed disks by logging onto the controllers command line via SSH and running the following command:
aggr status -f
-f will identify any of the broken disks.
Output should give you a <disk id> i.e. 0c.00.10

If the LED is not lit in which some cases this can happen, you can illuminate it.

SSH onto the NetApp box and logon (if you haven't done it already) and switch to advanced mode.
priv set advanced
led_on <disk id identified above>
led_off <disk id identified above>
priv set
Alternatively you can use blink_on & blink_off instead of led_on & led_off.

Remove drive from the shelf and wait for 60 seconds before inserting a new one.

When new drive is in place run the following command to check whether the ID of the disk you have just fitted is owned or not.
disk show -n
If disk auto assign is enabled it’ll be assigned to the head which had the failed disk, if not you will have to do it manually.
disk assign <disk id>
If it won’t accept the command, it might have been auto assigned to the wrong controller/system.  You can clear the assignment from the disk using the following command then try again.
disk assign <disk id> -s unowned -f
The replaced disk will now be assigned as a spare disk to replace the spare which was used when the original failed.
You can check Status of this using following command:
aggr status -s

To check auto disk assign feature use:
options disk auto_assign
The output will either show on or off.

7 comments:

  1. Hi
    cab you tell me, must a replacement disk come from NetaPP or can you get one from a local supplier; We have a netapp fas2050, the drives are no longer availale, a similiar drive was inserted, LED is green but cannot see the drive - Netapp now reports error indicating isufficent spare disks

    ReplyDelete
  2. Hey, your drives should be identical - make, model, size etc. I always had my drives from NetApp and never had any issues replacing them using above guide.

    ReplyDelete
  3. Hi
    Thanks for the reply, If we can get the identical drive elsewhere besides from Netapp, do you know if that may work?
    The Quote we got from our Netapp Reseller is really expensive.

    As far as i know, Netapp sends you a ZERO'd drive - which i assume just means writing zeros to the drive( formatted)


    Rafiq

    ReplyDelete
  4. That might work, but I do not want to promise anything.

    ReplyDelete
  5. I pulled the drive and it removed it from the list of disks, how do i add it back?

    ReplyDelete
  6. If you pulled the drive out, you should wait around 60 sec and insert a new one. Then run commands as describe above to assign your new drive, start with "disk show -n"

    ReplyDelete
  7. Awesome quotes you gave. i have got it.Thanks.

    ReplyDelete