8 recover data from offline raid groups – Sonnet Technologies Fusion RAID Configuration Tool and Utilities Operation Manual User Manual

Page 46

Advertising
background image

40

1.8 Recover Data from Offline RAID Groups

Using the CLI to Identify a Failed Drive

In addition to the ATTO Configuration Tool’s graphical user interface, you may enter commands in the RAID CLI tab to identify failed drives.

BlockDevScan
The BlockDevScan command displays a list of all attached drives and their usage. Use this command to update the list of drive IDs, which are needed by
other CLI commands
.

blockdevscan
6
;ID Vendor

Product

SerialNumber Capacity InUse Port

;----------------------------------------------------------------------
0

ST3250310NS 9SF0800F

232.88GB r5

1

ST3250310NS

9SF076NJ

232.88GB r5

2

ST3160812AS-1 5LS25P51

149.10GB r5

3

ST3250620AS

6QF0LJ17

232.88GB r5

Ready.

For members of a RAID group, the InUse column shows the RAID group’s name.

RGDisplay
This is the RAID group display command. Use this command to display all RAID groups and their statuses.

rgdisplay
3
;GroupName Type Interleave Capacity Partitions Members Status
;-------------------------------------------------------------------------
r5

RAID5 64 KB 447.0GB 1 4 DEGRADED

Ready.

Note: If RGDisplay shows a RAID group is offline, then data recovery methods should be initiated; skip this section and go directly to the

Using the CLI to Enable/Disable Recovery Mode on page 41.

If RGDisplay shows a RAID group is degraded, then it is important to replace the failed drive as soon as possible. RMStatus shows the status
of each of the member drives. If a member is faulted or unavailable, it should be replaced. To match the displayed member to the physical
drive, you can use SESIdentify, which is the preferred method, or BlockDevIdentify, if there is no SES capability.

RMStatus
Next, use RMStatus, the RAID member status command, to display information for each member of the RAID group in question.

rmstatus r5
6
;ID Status

RebuildStatus Vendor Product

Rev SN

;------------------------------------------------------------------------
0 ONLINE

OK

ST3250310NS SDN1 9SF0800F

1 ONLINE

OK

ST3160812AS-1 H

5LS25P51

2 FAULTED

OK

ST3250310NS SDN1 9SF076NJ

3 ONLINE

OK

ST3250620AS K

6QF0LJ17

Ready.

Advertising