---
title: Can an offline array be imported in storcli?
url: https://www.broadcom.com/support/knowledgebase/1211161503300/can-an-offline-array-be-imported-in-storcli
description: Can an offline array be imported in storcli?
---

# Can an offline array be imported in storcli?

## Question

Yes but not in all cases.  
This article is primarily informational or for an array that is already backed up.  
If you do not have a backup of your data and your array is offline, you should not continue if the data is invaluable unless you are certain the drive is in an operational state.  
Forcing a drive online can cause file system corruption.

Broadcom's stand is in accordance with the LSI product EULA, we do not perform data recovery nor imply such by assisting customers.  
Broadcom's stand is call a data recovery company such as Drive Savers (1-800-440-1904) or other such comparable service.

## Answer

If you need assistance, please call technical support for the best method of recovering offline configurations at 1-800-633-4545 or Create a support case:  
[Create a Request](https://www.broadcom.com/support/request-tech-support?fct=Support&pf=RAID+Controller+Cards&fc=United+States)  

This web form will cover HBA, 3ware and MegaRAID.  
Once your case has been assigned, you will receive an email with the subject "CQSUP000xxxxx" from dcsg.support@broadcom.com.  
You may attach any lsiget output or logs to the email.  
Do not modify the e-mail subject.  
If the files are too large for e-mail, ask your support engineer for ftp link.

You can import an offline array by first setting all drives back to unconfigured good as explained in KB:  
[One disk is Unconfigured bad. How can I set it to unconfigured good without shutting down?](https://www.broadcom.com/support/knowledgebase/1211161503278/one-disk-is-unconfigured-bad-how-can-i-set-it-to-unconfigured-go)  

Once all disks are set to unconfigured good, each drive should show "F" for Foreign config.  
Below might be a 3 drive RAID 5 or a 2 drive RAID 1 shown with  
```
./storcli64 /c0 show
----------------------------------------------------------------
EID:Slt DID State DG    Size Intf Med SED PI SeSz Model     Sp
----------------------------------------------------------------
252:0     8 UGood F  -  74.0 GB SATA HDD N   N  512B ST380811AS U
252:1    10 UGood  F-  74.0 GB SATA HDD N   N  512B ST380811AS U
----------------------------------------------------------------
```

**Scenario 1.**  
If the config is RAID 1, there is an excellent chance that the data will come back online.

**Scenario 2.**  
If it were 3 drive RAID 5, there is a 66% chance unless you are sure that only the degraded drive is missing in which chances are 100%.

**Scenario 3.**  
If the config is a 4 drive RAID 5, it is not possible to import the config below as it would obviously be a double fault and you cannot continue as the config is incomplete.

For Scenario 1 and 2, it would be worth a try to import the config.  
First check to see if auto import is a feature and if it is on or off.  
```
storcli64 /c0 show foreignautoimport
```
If it is off, try enabling it:  
```
storcli64 /c0 show foreignautoimport=on
```
At this point, it is very likely that the array may come back after a moment or another `/c0 show`.  
If not, check the config with:  
```
./storcli64 /c0/fall import preview
------------------------------------------------------------------------
DG Arr Row EID:Slot DID Type  State BT     Size PDC  PI SED DS3  FSpace
------------------------------------------------------------------------
 0 -   -   -        -   RAID5 Dgrd  Y  148.0 GB dflt N   N   dflt N
 0 0   -   -        -   RAID5 Dgrd  Y  148.0 GB dflt N   N   dflt N
 0 0   0   252:0    8   DRIVE Onln  N   74.0 GB dflt N   N   dflt -
 0 0   1   252:1    10  DRIVE Onln  N   74.0 GB dflt N   N   dflt -
```

Total foreign drive groups = 1

Above, there is 2 out of the 3 RAID 5 drives online and this configuration will import.  
```
storcli64 /c0/fall import

Controller = 0
Status = Success
Description = Successfully imported foreign configuration
```
You can then check with  
```
./storcli /c0 show
```
