How to find failed disks on a filer ? . “vol status -f” command gives you the failed disk on a filer.

# rsh filer12 vol status -f

Broken disks

RAID Disk       Device  HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
———       ——  ————- —- —- —- —– ————–    ————–
failed          3a.33   3a    2   1   FC:A   –  FCAL 10000 68000/139264000   68552/140395088
failed          4a.28   4a    1   12  FC:A   –  FCAL 10000 68000/139264000   68552/140395088
#

How to find spare disks on a filer ? . “vol status -s” command gives you the spare disks on a filer.

# rsh filer12 vol status -s

Spare disks

RAID Disk       Device  HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
———       ——  ————- —- —- —- —– ————–    ————–
Spare disks for block or zoned checksum traditional volumes or aggregates
spare           2a.45   2a    2   13  FC:A   –  FCAL 10000 68000/139264000   68552/140395088
spare           4a.57   4a    3   9   FC:A   –  FCAL 10000 68000/139264000   68552/140395088
#

To find out the disks in an aggregate : Use “aggr status -r <aggregate-name>” to list all the disks that are part of the aggregage. This command gives the plex, raid and disk information.

# rsh filer12 aggr status -r aggr0
Aggregate aggr0 (online, raid_dp) (block checksums)
  Plex /aggr0/plex0 (online, normal, active)
    RAID group /aggr0/plex0/rg0 (normal)

      RAID Disk Device  HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
      ——— ——  ————- —- —- —- —– ————–    ————–
      dparity   4a.15   4a    2   13  FC:A   –  FCAL 10000 68000/139264000   69536/142410400
      parity    4a.16   4a    4   12  FC:A   –  FCAL 10000 68000/139264000   68552/140395088
      data      4a.22   4a    4   8   FC:A   –  FCAL 10000 68000/139264000   68552/140395088
#

To find out the volumes on a filer : “vol status” command is used to find volume on a filer. It gives the volume names and its status (online/offline/restricted)

# rsh filer12 vol status
         Volume State      Status            Options
          vol10 online     raid_dp, flex     no_i2p=on
          vol11 online     raid_dp, flex     no_i2p=on
           root online     raid_dp, flex     root, no_i2p=on
          vol12 offline    raid_dp, flex     no_i2p=on
#

More Netapp commands at : http://unixfoo.blogspot.com/search/label/netapp

0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like