Array Recovery

  • 111 Views
  • Last Post 12 March 2020
  • Topic Is Solved
Lorenzo Marucco posted this 12 March 2020

Hi everyone,

I hope someone could help me, I'm in panic...

(Sorry for my English, I'm Italian)

In My R6 Pegasus2, drive 4 was accidentally removed while online, re inserting it the system marked it dead

I tryed to follow forum instructions, i removed the other 5 disks after turning off the system

The promise utility software asked me something regarding the array and I typed CONFIRM.

Now I have 6 drives marked dead and 3 red X un physical, array and logical.

The HDD sequence in correct.

How can I recover the array and the data?

Thanks

Lorenzo

Order By: Standard | Latest | Votes
R P posted this 12 March 2020

Hi Lorenzo,

Insert all of the disks (in order) except the one you had removed (disk 4). If you have a raid5, disk 4 is now stale and can't be used.

Open a terminal and start the CLI with the 'promiseutil' command. Then enter the following commands.

phydrv -a online -p 1
phydrv -a online -p 2
phydrv -a online -p 3
phydrv -a online -p 5
phydrv -a online -p 6

If you have a RAID 5 array, then the LUN should be online and in a critical state.

Next you'll have to insert PD4 and start a rebuild on it.

Post the output of the following CLI commands and I will let you know the CLI command to start a rebuild.

phydrv
array

Lorenzo Marucco posted this 12 March 2020

ok, done.

now I have 5 blue and the 4th red

how can i start the rebuild?

I have no output in the terminal window, just the drive led blue after every command

Lorenzo Marucco posted this 12 March 2020

R P posted this 12 March 2020

Hi Lorenzo,

I can't be sure of things without the CLI output. But if the array sequence is linear, the CLI command would be...

 rb -a start -d0 -s3 -p4

I'm not 100% positive that the Pegasus CLI will allow you to start a rebuild to a dead drive. But if it starts you should be able to see a rebuild in the background tasks window of Promise Utility.

Lorenzo Marucco posted this 12 March 2020

Is not enough that I use the same command of the other drives to set it online again?

R P posted this 12 March 2020

Hi Lorenzo,

That drive (PD4) has stale information, if you force it online the filesystem could be lost. Dire Warning here. The only safe way to recover is by a rebuild.

Lorenzo Marucco posted this 12 March 2020

 rb -a start -d0 -s3 -p4

 

Error (0x49888202): the array is incomplete

R P posted this 12 March 2020

As mentioned previously, without seeing the array sequence numbers I can only guess.

Can you either post the CLI 'phydrv' output or a screenshot of the physical drives page?

Lorenzo Marucco posted this 12 March 2020

Sorry, now I have understood...

 

===============================================================================

PdId Model        Type      Capacity  Location      OpStatus  ConfigStatus     

===============================================================================

1    TOSHIBA DT01 SATA HDD  2TB       Encl1 Slot1   Forced On Array0 No.0      

2    TOSHIBA DT01 SATA HDD  2TB       Encl1 Slot2   Forced On Array0 No.1      

3    TOSHIBA DT01 SATA HDD  2TB       Encl1 Slot3   Forced On Array0 No.2      

4    TOSHIBA DT01 SATA HDD  2TB       Encl1 Slot4   Dead      Array0 No.3      

5    TOSHIBA DT01 SATA HDD  2TB       Encl1 Slot5   Forced On Array0 No.4      

 

6    TOSHIBA DT01 SATA HDD  2TB       Encl1 Slot6   Forced On Array0 No.5    

 

===============================================================================

DaId Alias     OpStatus      CfgCapacity FreeCapacity   MaxContiguousCapacity 

===============================================================================

 

0              Degraded      12TB        0Byte          0Byte      

R P posted this 12 March 2020

Hi Lorenzo,

OK, the 'rb' command was correct. So something else is not as expected.

Can you enter the following commands and post the output?

logdrv -v
array -v

Lorenzo Marucco posted this 12 March 2020

-------------------------------------------------------------------------------

LdId: 0

ArrayId: 0                             SYNCed: Yes

OperationalStatus: Critical

Alias:                                 TRIMSupport: Not Support TRIM

SerialNo: 000000000000000000000000EFEF317FEFEF317F

WWN: 2299-0001-551a-73a8               PreferredCtrlId: N/A

RAIDLevel: RAID5                       StripeSize: 1MB

Capacity: 10TB                         PhysicalCapacity: 12TB

ReadPolicy: ReadAhead                  WritePolicy: WriteBack

CurrentWritePolicy: WriteBack

NumOfUsedPD: 6                         NumOfAxles: 1

SectorSize: 512Bytes                   RAID5&6Algorithm: right asymmetric (4)

TolerableNumOfDeadDrivesPerAxle: 1     ParityPace: N/A

 

CodecScheme: N/A

 

 

 

---------

-------------------------------------------------------------------------------

DaId: 0

OperationalStatus: Degraded

Alias: 

PhysicalCapacity: 12TB                 ConfigurableCapacity: 12TB

FreeCapacity: 0Byte                    MaxContiguousCapacity: 0Byte

AvailableRAIDLevels: 0 5 6 10 50 1E

PDM: Enabled                           MediaPatrol: Enabled

NumberOfPhysicalDrives: 6              NumberOfLogicalDrives: 1

NumberOfDedicatedSpares: 0

UserSetPowerSavingLevel: 3             CurrentPowerSavingLevel: 3

PowerManagement: Enabled

 

Physical Drives in the Array:  

===============================================================================

SeqNo PdId CfgCapacity FreeCapacity OpStatus                                   

===============================================================================

0     1    2TB         2.76MB       OK, Forced Online                          

1     2    2TB         2.76MB       OK, Forced Online                          

2     3    2TB         2.76MB       OK, Forced Online                          

3     4    2TB         2.76MB       Dead                                       

4     5    2TB         2.76MB       OK, Forced Online                          

5     6    2TB         2.76MB       OK, Forced Online                          

 

Logical Drives in the Array:  

===============================================================================

LdId Alias          RAIDLevel Capacity  OpStatus                               

===============================================================================

0                   RAID5     10TB      Critical                               

 

Available Spares to the Array:  

===============================================================================

Id  OpStatus  PdId CfgCapacity Revertible Type      DedicatedToArray          

===============================================================================

 

No spare drive available in the array

 

 

 

 

R P posted this 12 March 2020

Since the 'rb' command is correct. Most likely the problem is that you can't start a rebuild to a dead drive.

Be very careful with the next steps, we need to make PD4 unconfigured, and we will do this by removing all drives except PD4 and deleting the array information on PD4 only.

First, power the Pegasus down (easiest way is to disconnect the thunderbolt cable), wait 30 seconds for the drives to spin down, then unseat all the drives except PD4, reboot and verify that only PD4 is seen, then force it online and delete the array.

phydrv -a online -p 4
array -a del -d 0

This won't delete your array, only the stale array data on PD4, the other (unseated) drives contain the actual array. That's why you need to verify with the 'phydrv' command that only PD4 is seen.

Once PD4 has been cleaned of array information, 'phydrv' should show it unconfigured.

Then power off the Pegasus again, give it 30 seconds or so to let the drives spin down, and reseat all the other drives and unseat PD4. Power the Pegasus back on and let it boot, verify that all the drives except PD4 are seen and that the array and LD are present and the LD is online, then reseat PD4. If PD4 is unconfigured, an automatic rebuild will start. You might want to change settings so that the MAC does not sleep or power off until the rebuild completes.

Lorenzo Marucco posted this 12 March 2020

Before this..

I can see all my files in the promise.

Do you think it would be a good idea to backup on another drive my data?

R P posted this 12 March 2020

The array is online but critical, you can access you data, if you can back it up that's always a good idea.

Lorenzo Marucco posted this 12 March 2020

Done... Rebuild is started!!!

Where can I ship some good italian wine?

 

Thanks for the precious help!!!

R P posted this 12 March 2020

Fantastic.

I'll take a virtual bottle of the wine of your choice, you can post an image of it here. :-)

Close