cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Cloud



Etc


Reference














.

hardware:7mode:hardware.html



NetApp Data ONTAP 7-Mode CLI Commands [Old Device]

Netapp :: Hardware

Commands

Check

Operation Command Complement
Displays Data ONTAP version. version
version -b ← include firmware
Displays detailed information about each I/O device. For SCSI or Fibre Channel host adapters sysconfig -v Including Memory
Check Hardware
Checks that expansion cards are in the appropriate slots.
sysconfig -c
Displays very detailed information about each I/O device. This is more verbose than the output produced by the -v option. sysconfig -a
Displays RAID configuration information. sysconfig -r If HDD failed, you can see “prefail”
Displays vital product information for each disk. sysconfig -d
Displays a listing of the spare disks on the node. aggr status -s

Setting

Operation Command Complement
halt halt -t 0 -f -f : Not fail
priv set diag
disk unfail -s 0a.26
pdisk zero spares


Example

version

> version
NetApp Release 8.1.1 7-Mode: Mon Jul 30 12:49:46 PDT 2012

version -b

> version -b
/cfcard/x86_64/freebsd/image1/kernel: OS 8.1.1
/cfcard/x86_64/freebsd/image2/kernel: OS 8.1.1
/cfcard/x86_64/diag/diag.krn:  5.7
/cfcard/x86_64/firmware/excelsio/firmware.img: Firmware 1.9.0
/cfcard/x86_64/firmware/DrWho/firmware.img: Firmware 2.5.0
/cfcard/x86_64/firmware/SB_XV/firmware.img: Firmware 4.4.0
/cfcard/x86_64/firmware/SB_XVI/firmware.img: Firmware 5.1.1
/cfcard/x86_64/firmware/SB_XVIII/firmware.img: Firmware 7.1.2
/cfcard/x86_64/firmware/SB_XIX/firmware.img: Firmware 8.1.0
/cfcard/common/firmware/zdi/zdi_fw.zpk: Flash Cache Firmware 2.2 (Build 0x201012201350)
/cfcard/common/firmware/zdi/zdi_fw.zpk: PAM II Firmware 1.10 (Build 0x201012200653)
/cfcard/common/firmware/zdi/zdi_fw.zpk: X1936A FPGA Configuration PROM 1.0 (Build 0x200706131558)

sysconfig -a

> sysconfig -a
        NetApp Release 8.1.2P1 7-Mode: Mon Jan  7 15:55:05 PST 2013
        System ID: 1901000XXX (testnetapp1); partner ID: 19010XXXX2 (test-netapp2)
        System Serial Number: 700001456XXX (infra-eaa-netapp1)
        System Rev: D1
        System Storage Configuration: Single-Path HA
        System ACP Connectivity: Partial Connectivity
        slot 0: System Board 1.7 GHz (System Board XIX D1)
                Model Name:         FAS2240-4
                Part Number:        111-00XXX
                Revision:           D1
                Serial Number:      941719XXXX
                BIOS version:       8.1.0
                Loader version:     4.1
                Processors:         4
                Processor ID:       0x106e4
                Microcode Version:  0xffff0002
                Processor type:     Intel(R) Xeon(R) CPU           C3528  @ 1.73GHz
                Memory Size:        6144 MB
                Memory Attributes:  Hoisting
                                    Normal ECC
                NVMEM Size:         768 MB of Main Memory Used
                CMOS RAM Status:    OK
                Controller:         A
        Service Processor           Status: Online
                Firmware Version:   2.1.2
                Mgmt MAC Address:   00:A0:98:42:XX:XX
                Ethernet Link:      up, 100Mb, half duplex, auto-neg complete
                Using DHCP:         no
        IPv4 configuration:
                IP Address:         192.168.0.10
                Netmask:            255.255.255.0
                Gateway:            192.168.0.1
        IPv6 configuration:         Disabled
        slot 0: Internal 10/100 Ethernet Controller
                e0M MAC Address:    00:a0:98:42:xx:xx (auto-100tx-fd-up)
                e0P MAC Address:    00:a0:98:42:xx:xx (auto-100tx-fd-up)
                Device Type:        Rev 0
                        memory mapped I/O base 0x00000000dfa00000, size 0x20000
                        I/O base 0x0000000000003000, size 0x20
                        memory mapped I/O base 0x00000000dfa20000, size 0x4000
                        memory mapped I/O base 0x00000000dfb20000, size 0x20000
                        I/O base 0x0000000000004000, size 0x20
                        memory mapped I/O base 0x00000000dfb00000, size 0x4000
        slot 0: Quad Gigabit Ethernet Controller 82580
                e0a MAC Address:    00:a0:98:42:70:d2 (auto-1000t-fd-up)
                e0b MAC Address:    00:a0:98:42:70:d3 (auto-1000t-fd-up)
                e0c MAC Address:    00:a0:98:42:70:d4 (auto-1000t-fd-up)
                e0d MAC Address:    00:a0:98:42:70:d5 (auto-1000t-fd-up)
                Device Type:    150E
                        memory mapped I/O base 0x00000000df700000, size 0x80000
                        I/O base 0x0000000000002040, size 0x20
                        memory mapped I/O base 0x00000000df808000, size 0x4000
                        memory mapped I/O base 0x00000000df780000, size 0x80000
                        I/O base 0x0000000000002060, size 0x20
                        memory mapped I/O base 0x00000000df80c000, size 0x4000
                        memory mapped I/O base 0x00000000df600000, size 0x80000
                        I/O base 0x0000000000002000, size 0x20
                        memory mapped I/O base 0x00000000df800000, size 0x4000
                        memory mapped I/O base 0x00000000df680000, size 0x80000
                        I/O base 0x0000000000002020, size 0x20
                        memory mapped I/O base 0x00000000df804000, size 0x4000
        slot 0: Interconnect HBA:   Mellanox IB MT25204
                GUID: 0x100000a0984270d2        LID: 0x4        Remote LID: 0x5
                Firmware rev:           1.0.800
                Hardware rev:           160
                Command rev:            1
                Cluster Interconnect Port: 4x
                        memory mapped I/O base 0xdf400000, size 0x100000
                        prefetchable memory base 0xde800000, size 0x800000
        slot 0: SAS Host Adapter 0a (PMC-Sierra PM8001 rev. C, SAS, <UP>)
                Firmware rev:       01.11.00.00
                Base WWN:           5:00a098:001b2b0:f0
                Phy State:          [0] Enabled, 6.0 Gb/s
                                    [1] Enabled, 6.0 Gb/s
                                    [2] Enabled, 6.0 Gb/s
                                    [3] Enabled, 6.0 Gb/s
                00.0 : NETAPP   X306_HMARK02TSSM NA04 1695.4GB 512B/sect (YGJVPPYB)
                00.1 : NETAPP   X306_HMARK02TSSM NA04 1695.4GB 512B/sect (YGJVPY2B)
                00.2 : NETAPP   X306_HMARK02TSSM NA04 1695.4GB 512B/sect (YFJZG94A)
                00.3 : NETAPP   X306_HMARK02TSSM NA04 1695.4GB 512B/sect (YGJVNN5B)
                00.4 : NETAPP   X306_HMARK02TSSM NA04 1695.4GB 512B/sect (YFJZH8VA)
(abbr)

sysconfig -r

> sysconfig -r
Aggregate aggr2 (online, raid_dp) (block checksums)
  Plex /aggr2/plex0 (online, normal, active, pool0)
    RAID group /aggr2/plex0/rg0 (normal, block checksums)

      RAID Disk Device          HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
      --------- ------          ------------- ---- ---- ---- ----- --------------    --------------
      dparity   0a.00.7         0a    0   7   SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      parity    0a.00.8         0a    0   8   SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.9         0a    0   9   SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.10        0a    0   10  SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.11        0a    0   11  SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.12        0a    0   12  SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.13        0a    0   13  SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.14        0a    0   14  SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.15        0a    0   15  SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.16        0a    0   16  SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.17        0a    0   17  SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.18        0a    0   18  SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.19        0a    0   19  SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.20        0a    0   20  SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.21        0a    0   21  SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816

Aggregate aggr0 (online, raid_dp) (block checksums)
  Plex /aggr0/plex0 (online, normal, active, pool0)
    RAID group /aggr0/plex0/rg0 (normal, block checksums)

      RAID Disk Device          HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
      --------- ------          ------------- ---- ---- ---- ----- --------------    --------------
      dparity   0a.00.1         0a    0   1   SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      parity    0a.00.3         0a    0   3   SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816
      data      0a.00.5         0a    0   5   SA:A   0  BSAS  7200 1695466/3472315904 1695759/3472914816

Aggregate aggr1 (online, raid_dp) (block checksums)
  Plex /aggr1/plex0 (online, normal, active, pool0)
    RAID group /aggr1/plex0/rg0 (normal, block checksums)

      RAID Disk Device          HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
      --------- ------          ------------- ---- ---- ---- ----- --------------    --------------
      dparity   0a.10.0         0a    10  0   SA:A   0   SAS 10000 857000/1755136000 858483/1758174768
(abbr)



hardware/7mode/hardware.html.txt · Last modified: 2016/12/13 by admin

Page Tools