NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

Looking for Nunber of Disks in Aggr and Number of disk shelves

dudu_zbeda
10,964 Views

Hi,

i'm looking for the follwoing commands

 

1.Verify the number of disks in Aggr ?

2.Verify the Number fo Disk shelves i have in the project

3.Verify the loop connection between the neapp ports and shelves

 

 

Thanks

2 REPLIES 2

sinhaa
10,964 Views

Hello dudu.zbeda,

   

try the following commands:

On 7-mode ( ONTAP version 7.3.x)

f3170-184-92> aggr status -r
Aggregate aggr0 (online, raid4, parity uninit'd!) (block checksums)
  Plex /aggr0/plex0 (online, normal, active)
    RAID group /aggr0/plex0/rg0 (normal, block checksums)

      RAID Disk Device  HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
      --------- ------  ------------- ---- ---- ---- ----- --------------    --------------
      parity    0a.32   0a    2   0   FC:A   -   ATA  5400 274400/561971200  274540/562258784
      data      0a.33   0a    2   1   FC:A   -   ATA  5400 274400/561971200  274540/562258784

Aggregate TestAggr2 (online, raid_dp, parity uninit'd!) (block checksums)
  Plex /TestAggr2/plex0 (online, normal, active)
    RAID group /TestAggr2/plex0/rg0 (normal, block checksums)

      RAID Disk Device  HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
      --------- ------  ------------- ---- ---- ---- ----- --------------    --------------
      dparity   0a.34   0a    2   2   FC:A   -   ATA  5400 274400/561971200  274540/562258784
      parity    0a.35   0a    2   3   FC:A   -   ATA  5400 274400/561971200  274540/562258784
      data      0a.36   0a    2   4   FC:A   -   ATA  5400 274400/561971200  274540/562258784

Aggregate TestAggr1 (online, raid4, parity uninit'd!) (block checksums)
  Plex /TestAggr1/plex0 (online, normal, active)
    RAID group /TestAggr1/plex0/rg0 (normal, block checksums)

      RAID Disk Device  HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
      --------- ------  ------------- ---- ---- ---- ----- --------------    --------------
      parity    0a.37   0a    2   5   FC:A   -   ATA  5400 274400/561971200  274540/562258784
      data      0a.38   0a    2   6   FC:A   -   ATA  5400 274400/561971200  274540/562258784 (prefail)


Spare disks (empty)

Partner disks

RAID Disk       Device  HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)    Phys (MB/blks)
---------       ------  ------------- ---- ---- ---- ----- --------------    --------------
partner         0a.44   0a    2   12  FC:A   -   ATA  5400 0/0               274540/562258784
partner         0a.39   0a    2   7   FC:A   -   ATA  5400 0/0               274540/562258784
partner         0a.40   0a    2   8   FC:A   -   ATA  5400 0/0               274540/562258784
partner         0a.42   0a    2   10  FC:A   -   ATA  5400 0/0               274540/562258784
partner         0a.43   0a    2   11  FC:A   -   ATA  5400 0/0               274540/562258784
partner         0a.45   0a    2   13  FC:A   -   ATA  5400 0/0               274540/562258784
partner         0a.41   0a    2   9   FC:A   -   ATA  5400 0/0               274540/562258784
f3170-184-92>

f3170-184-92> storage show
Slot:            0a
Description:     Fibre Channel Host Adapter 0a (QLogic 2432 rev. 2)
Firmware Rev:    5.4.0
FC Node Name:    5:00a:098200:2513f2
FC Port Name:    5:00a:098200:2513f2
FC Packet Size:  2048
Link Data Rate:  2 Gbit
SRAM Parity:     Yes
External GBIC:   No
State:           Enabled
In Use:          Yes
Redundant:       No

Slot:            0b
Description:     Fibre Channel Host Adapter 0b (QLogic 2432 rev. 2)
Firmware Rev:    5.4.0
FC Node Name:    5:00a:098300:2513f2
FC Port Name:    5:00a:098300:2513f2
FC Packet Size:  2048
Link Data Rate:  4 Gbit
SRAM Parity:     Yes
External GBIC:   No
State:           Enabled
In Use:          Yes
Redundant:       No

Slot:            0c
Description:     Fibre Channel Host Adapter 0c (QLogic 2432 rev. 2)
Firmware Rev:    5.4.0
FC Node Name:    5:00a:098000:2513f2
FC Port Name:    5:00a:098000:2513f2
FC Packet Size:  2048
Link Data Rate:  N/A
SRAM Parity:     Yes
External GBIC:   No
State:           Disabled
In Use:          No
Redundant:       Yes

Slot:            0d
Description:     Fibre Channel Host Adapter 0d (QLogic 2432 rev. 2)
Firmware Rev:    5.4.0
FC Node Name:    5:00a:098100:2513f2
FC Port Name:    5:00a:098100:2513f2
FC Packet Size:  2048
Link Data Rate:  N/A
SRAM Parity:     Yes
External GBIC:   No
State:           Disabled
In Use:          No
Redundant:       Yes

No hubs found.

No expanders found.

DISK                  SHELF BAY SERIAL           VENDOR   MODEL      REV
--------------------- --------- ---------------- -------- ---------- ----
0a.32                   2    0  A826Z0PE         NETAPP   X266_MTOMC R5VV
0a.33                   2    1  A826NHRE         NETAPP   X266_MTOMC R5VV
0a.34                   2    2  A826X41E         NETAPP   X266_MTOMC R5VV
0a.35                   2    3  A827B15E         NETAPP   X266_MTOMC R5VV
0a.36                   2    4  A827H3NE         NETAPP   X266_MTOMC R5VV
0a.37                   2    5  A826WP2E         NETAPP   X266_MTOMC R5VV
0a.38                   2    6  A826Z97E         NETAPP   X266_MTOMC R5VV
0a.39                   2    7  A826ZE3E         NETAPP   X266_MTOMC R5VV
0a.40                   2    8  A827G0KE         NETAPP   X266_MTOMC R5VV
0a.41                   2    9  A826X3PE         NETAPP   X266_MTOMC R5VV
0a.42                   2   10  A826QFWE         NETAPP   X266_MTOMC R5VV
0a.43                   2   11  A827HP1E         NETAPP   X266_MTOMC R5VV
0a.44                   2   12  A82703QE         NETAPP   X266_MTOMC R5VV
0a.45                   2   13  A826ZCWE         NETAPP   X266_MTOMC R5VV

No bridges found.

SHARED STORAGE HOSTNAME   SYSTEM ID
------------------------- ----------
f3170-184-93              0151746519
f3170-184-92              0151746560 (self)
f3170-184-92>

This will provide all information you need.

Are you looking for Cmode commads as well?

I hope this helps.

warm regards,

Abhishek

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

scottgelb
10,964 Views

I also like "sysconfig -V" .. uppercase V will show all aggregates and number of disks per raid group in aggregate.  Saves time having to count the disks manually.

For shelves... sasadmin shelf or sasadmin expander_map for sas.. for ds14, fcadmin device_map.  With MPHA though you will see disk shelves twice.  From a sysconfig -a you can look at the disk serial numbers and search then see the path connections... myasup on the now site is also a nice way to see visualizaitons of all paths and alerts if any issues on pathing.

Public