Saturday, July 21, 2012

Netapp volume commands

How to find failed disks on a filer ? . "vol status -f" command gives you the failed disk on a filer.
filer> 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.

filer>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" to list all the disks that are part of the aggregage. This command gives the plex, raid and disk information.

filer>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)

filer>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
#

No comments:

Post a Comment

Install the Perl module

Unable to install a perl module and through below error: Looking for CPAN mirrors near you (please be patient) Can't locate Time/HiR...