USPatent applicationPatented

Method for automatically diagnosing hardware faults in a data storage system

Granted 17 Aug 2010 · 2 office actions

Current assignee: dell products lp · originally Dell Inc.

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Michael Manning, Ashok Tamilarasan, Ying Guo, Brion Philbin · Examiner: Philip Guyton · AU 2113 · TC 2100

Application· this page
11/690,147
filed 23 Mar 2007
Publication
Not published
not published
Patent
US 7,779,306
granted 17 Aug 2010

Life of the application

18 dated events
⤢ drag to zoom20082010201220142016201820202022202420262028ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A method for automatically diagnosing faults a data storage system. The system includes a plurality of enclosures each having: a primary port; an expansion port; a plurality of disk drives; and a link control card coupled to the primary port and to the expansion port and the plurality of disk drives. The link control card includes a cut through switch having: disk drive port error counters for counting at ports of the plurality of disk drives; a primary port error counter for counting cumulative errors at the primary port, and an expansion port error counter for counting cumulative errors at the expansion port. The primary ports and expansion ports are serially interconnected to the storage processor through a fiber channel loop. The method sequentially reads counters in each one of the enclosures to determine whether errors counted in any one of such counters exceeds a predetermined threshold over a predetermined period of time.

Description

6 parts
›TECHNICAL FIELD

This invention relates generally to storage systems and more particularly to a method for automatically diagnosing faults in hardware components used in such systems

›BACKGROUND

As is known in the art, a typical storage system includes one or more racks of storage devices or enclosures. A loop, such as a fibre channel loop, is a common topology in which the enclosures of a storage system are connected. Communication signals traverse the loop in one direction and pass from enclosure to enclosure in a daisy-chain fashion. Enclosures receiving communication signals targeted for another enclosure forward those signals along the loop.

Previously, the process to identify faulty backend loop cables and LCCs was manually driven. Technical support personnel would make a guess about a faulty component based on soft or hard failure errors along with trial replacements of hardware. This reactive process is time consuming, error prone, and occasionally expensive in the case where all hardware components are replaced.

›SUMMARY

In accordance with the present invention, a method is provided for automatically diagnosing faults in hardware components used in a data storage system. The system includes a plurality of enclosures. Each one of the enclosures has: a primary port; an expansion port; a plurality of disk drives; and a link control card coupled to the primary port and to the expansion port and the plurality of disk drives. The link control card includes a cut through switch having: disk drive port error counters for counting cumulative errors at ports of the plurality of disk drives; a primary port error counter for counting cumulative errors at the primary port, and an expansion port error counter for counting cumulative errors at the expansion port. The primary ports and expansion ports are serially interconnected to the storage processor through a fibre channel loop. The method includes sequentially reading the disk drive port error counters, the primary port error counter and the expansion port error counter in each one of the enclosures to determine whether errors counted in any one of such counters exceeds a predetermined threshold over a predetermined period of time.

In one embodiment, the method includes processing the counters to isolate faults in either one of the expansion ports, one of the primary ports, one of the disk drive ports, or a cable of the fibre channel loop connecting a pair of the enclosures.

With such method, fault isolation is now proactive and much faster than the previous manually driven approach. The guesswork done by technical support has been eliminated and an immediate diagnosis based on data at the initial time of failure will lead to shorter customer down times and improved overall performance. This proactive monitoring and diagnosis technique improves the overall reliability of the product. In addition, there will be significant cost savings when perfectly good components are not replaced due to the guesswork previously involved with manual fault isolation.

This method automates the process of diagnosing a bad hardware component across enclosures, be that a link control card (LCC) or a cable. The automated process achieves more reliable and accurate results over the existing manually driven approach. The method uses this continuous stream of data to accurately identify the failing component.

The details of one or more embodiments of the invention are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the invention will be apparent from the description and drawings, and from the claims.

›DESCRIPTION OF DRAWINGS

FIG. 1 is a block diagram of system having a plurality of enclosures serially interconnected to the storage processor through a fibre channel loop and programmed to automatically diagnosing faults therein in accordance with the invention;

FIG. 2 is a diagram of an exemplary one of the enclosures of the system of FIG. 1 ;

FIG. 3 is a diagram of a portion of the exemplary enclosure of FIG. 2 , such portion showing disk drives the enclosures coupled to a plurality of disk drive port error counters in the enclosures;

FIGS. 4A , 4 B and 4 C are flowcharts of a method used to detect potential sources of faults in the system of FIG. 1 at a point in time in accordance with the invention; and

FIG. 5 is a flowchart of a method used to detect potential sources of faults in the system of FIG. 1 over a predetermined period of time in accordance with the invention.

Like reference symbols in the various drawings indicate like elements.

›DETAILED DESCRIPTION · 1 of 2

Referring now to FIG. 1 , a storage system includes a plurality of, here N+1, disk drive enclosures 12 0 - 12 N coupled to a pair of redundant ports, port A and port B of a data storage processor 14 through fibre channel loops 16 a and 16 b , respectively, as shown. As shown, each fibre channel loop 16 a and 16 b has a downstream path and an upstream path, as indicated

In general, each of the enclosures 12 0 - 12 N is identical in construction, an exemplary one thereof, here enclosure 12 n is shown in FIG. 2 to include, as shown in FIG. 3 , a plurality of, here I+1, dual ported disk drives 18 0 - 18 I . Referring again to FIG. 2 , each set of the dual ports 35 0 - 35 I is coupled to a corresponding one of a pair of link control cards (LCCs) 20 a , 20 b . Applications for the disk drives enclosures include, for example, JBOD (Just a Bunch Of Disks), RAID (Redundant Array of Independent Disks), and SAN (Storage Area Network).

One of the pair of LCCs, for example LCC 20 a , is coupled in fibre channel loop 16 a through a primary port 22 a P and an expansion port 22 a E while other one of the pair of LCCs, for example LCC 20 b , is coupled in fibre channel loop 16 b through a primary port 22 b P and an expansion port 22 b E to provided conventional fibre channel loops, see for example, U.S. Pat. No. 6,567,890 entitled “Fibre channel port by-pass selector section for dual ported disk drives”, inventors Mulvey, et al., issued May 20, 2003, assigned to the same assignee as the present invention.

Referring again to FIG. 2 as well as to FIG. 1 , and considering an exemplary one of the pair of LCC, here LCC 20 a , such LCC 20 a includes a pair of diplexers 30 P and 30 E coupled to the primary port 22 a P and an expansion port 22 a E, respectively, as shown. Each one of the diplexers 30 P and 30 E is here, for example, a diplexer such as that described in U.S. Pat. No. 5,901,151, entitled “System for orthogonal signal multiplexing”, inventor Bleiweiss, et al., issued May 4, 1999, now assigned to the same assignee as the present inventions. The diplexers 30 P and 30 E are coupled to a cut through switch 32 , here for example, that manufactured by PMC-Sierra, Burnaby, B. C., Canada. Such cut through switch includes: an error counter 34 for counting errors at the primary port 22 a P; an error counter an error counter 36 for counting errors at the expansion port 22 a E; and a set 38 of, here I+1, an disk drive error counters 38 , here disk drive error counters 38 0 - 38 I , shown in FIG. 3 for counting errors at the drive ports 35 0 - 35 I , respectively of disk drives 18 0 - 18 I , respectively as shown.

A processor 40 ( FIG. 2 ) having a memory 42 for storing a program to be described in connection with FIGS. 4A-4C , 5 A- 5 D, and 6 is connected to the cut through switch 32 , included in the LCC 20 a , as shown.

As will be described below, the processor 40 sequentially reads the disk drive port error counters 38 , the primary port error counter 34 and the expansion port error counter 36 in each one of the enclosures 12 0 - 12 N to determine whether errors counted in any one of such counters exceeds a predetermined threshold over a predetermined period of time. Also processor 40 processing the counters 34 , 36 and 38 to isolate faults in either one of the expansion ports 22 a E, one of the primary ports 22 a P, one of the disk drive ports 35 0 - 35 I , or a cable 35 , 37 of the fibre channel loop connecting a pair of the enclosures 12 0 - 12 N .

Referring to FIG. 4A , the process for determining errors in disk drive ports of an exemplary one of the enclosures 12 0 - 12 N , here for example enclosure 12 n , at a point in time, is shown. The process begins by reading the error counters at the drive ports for each of the drive ports in enclosure 20 n−1 . Next, the process reads the error counter at drive port i−1 for enclosure 20 n ; Next, the process reads the error counter at drive port i for enclosure 12 n , Next the process determines whether the error counter at drive port i exceeds a predetermined threshold. If the predetermined threshold is exceeded, a potential fault is noted in drive port i; otherwise, if the predetermined threshold is not exceeded, the process proceeds as described above for the next successive disk drive port error counter i+1

Referring now to FIG. 4B , the process for determining errors at the primary port 22 a P of an exemplary one of the enclosures 12 0 - 12 N , here for example enclosure 12 n , at a point in time, is shown. First, the process reads the error counter 34 ( FIG. 2 ) at the primary port 22 a P of enclosure 12 n−1 . Next, the process reads the error counter 34 at primary port 22 a P of enclosure 12 n . Next, the process determines whether the error counter 34 at the primary port 22 a P of enclosure 12 n exceeds a predetermined threshold. If the predetermined threshold was exceeded, the process identifies a potential fault at either: The LCC of enclosure 12 n−1 ; the LCC of enclosure 12 n ; or the pair of cables 37 ( FIG. 1 ) in the downstream path and upstream path between enclosure 12 n−1 and enclosure 12 n ; otherwise, if the predetermined threshold was not exceeded, the process proceeds to the error counter 34 at primary port 22 a P of the next downstream enclosure, enclosure 12 n+1 .

Referring now to FIG. 4C , the process for determining errors at the expansion port 22 a E of an exemplary one of the enclosures 12 0 - 12 N , here for example enclosure 12 n , at a point in time is shown. First, the process reads the error counter 36 at the expansion port 22 a E at enclosure 12 n+1 . Next, the process reads the error counter 36 at the expansion port 22 a E of enclosure 12 n . Next, the process determines whether the error counter 36 at the expansion port 22 a E of enclosure 12 n exceeded a predetermined threshold. If the predetermined threshold was exceeded, the process identifies a potential fault in either: the LCC of enclosure 12 n+1 ; the LCC of enclosure 12 n ; or the pair of cables 39 ( FIG. 1 ) in the downstream path and upstream path between enclosure 12 n+1 and enclosure 12 n . On the other hand, if the predetermined threshold was not exceeded, the process proceeds to the counter 36 at the expansion port 22 a E of the next succeeding downstream enclosure 12 n−1 .

›DETAILED DESCRIPTION · 2 of 2

Referring now to FIG. 5 , a process for automatically diagnosing errors in the enclosures or in the cables interconnecting the enclosure over time is shown. The process begins by reading the disk drive error counters 38 0 - 38 I sequentially in an enclosure, Step 600 . The process records errors, if any, at each drive port 35 0 - 35 I in the corresponding disk drive port error counter 38 0 - 30 I , respectively, Step 602 . The process determines whether any of the port counters 38 o - 30 I has a count exceeding a predetermined threshold as described above in connection with FIG. 4A , Step 604 . If the any of the port counters 38 0 - 30 I has a count exceeding a predetermined threshold, the process ends and a potential fault is identified as described above in connection with FIG. 4A , Step 606 . On the other hand, if none of the port counters 38 0 - 30 I has a count exceeding the predetermined threshold, the process determines whether any of the port error counters exceeds a predetermined threshold for the last X number of reads of such counters, where X is a predetermined number, for example 3, repeats Steps 602 - 604 for the remaining enclosures, Step 608 .

Next, the process reads the primary port 22 a P error counter 34 sequentially for all enclosures 12 0 - 12 N , as described above in connection with FIG. 4B , Step 610 . The process records errors, if any, in the primary port counters 34 , Step 612 . The process determines whether any primary port counter 34 exceeds a predetermined threshold, as described above in connection with FIG. 4B , Step 614 . If any primary port counter 34 exceeded the predetermined threshold, the process ends and a potential fault is detected as described above in connection with FIG. 4B , Step 616 . On the other hand, if none of the primary port counters 34 exceeded the predetermined threshold.

Next the process determines whether any of the primary port counters exceeds a predetermined threshold for the last X number of reads of such counters, where X is a predetermined number, for example 3, Step 615 . If any of the primary port error counters exceeds a predetermined threshold for the last X number of reads of such counters, the process ends and a potential fault is identified as described above in connection with FIG. 4A , Step 616 . On the other hand, if none of the primary port error counters exceeds the predetermined threshold for the last X number of reads of such counters the process reads the expansion port counters 36 in the enclosures sequentially as described above in connection with FIG. 4C , Step 618 . The process records errors, if any in the expansion port counters 36 , Step 620 .

Next, the process determines whether one of the expansion port counters 36 exceeded a predetermined threshold, Step 622 . If one of the expansion port counters 36 exceeded a predetermined threshold, the process ends and a potential fault is identified as described above in connection with FIG. 4C , Step 624 . On the other hand, if none of the expansion port counters 36 exceeded the predetermined threshold, the process determines whether any of the expansion error counters exceeds a predetermined threshold for the last X number of reads of such counters, where X is a predetermined number, for example 3, Step 623 . If any of the primary port error counters exceeds a predetermined threshold for the last X number of reads of such counters, the process ends and a potential fault is identified as described above in connection with FIG. 4A , Step 624 . On the other hand, if none of the expansion port error counters exceeds the predetermined threshold for the last X number of reads of such counters the process returns to Step 600 /

A number of embodiments of the invention have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the invention. Accordingly, other embodiments are within the scope of the following claims.

Claims as granted

2 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

4 codes
IPC · International Patent Classification
Section G — Physics
  • G06F11/00
USPC · US Patent Classification
714/43370/216714/4

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJul 2007Jan 2008Jul 2008Jan 2009Jul 2009Jan 2010Jul 2010USPTOApplicantNon-final rejectionFinal rejection
USPTOApplicanthover for detail · click to open
Pendency
3.4 y
1,243 days filing → grant
Office actions
2
non-final + final
Responses
2
no RCE
Examiner
Philip Guyton
art unit 2113 · TC 2100
Citations: 6 back · 11 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20082010201220142016201820202022202420262028Owner 1Owner 2liens, releases & corrections
TitleLienReleasehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock