Help! Restore Pegasus2 R8

  • 761 Views
  • Last Post 01 April 2024
  • Topic Is Solved
Tim Kemple posted this 12 December 2022

Hello. We mistakenly deleted the logical drive of our Pegasus2 R8 within the Pegasus Utility. The physical drives are untouched, and the array is still active/untouched. Is there a simple way to restore the logical drive that was setup in RAID 5?  

Thanks!

Order By: Standard | Latest | Votes
Babatunde Akinkuolie posted this 13 December 2022

Unfortunately, when you delete a logical drive,  all the data on the logical is lost and cannot be restored. it is always advisable to back up any important data before situation like this arises.

Tim Kemple posted this 13 December 2022

Thanks! Forgive me but I have a modest amount of knowledge with backup systems and know that 'all data is lost' is a blanket statement that might not be entirely accurate. My question was, is there a an easy way to retore the RAID (using terminal/CLI or simlar)?  It sounds like perhaps no?

And if its ok... What does the data recovery process look like if we wanted to explore that route?

 

Thanks for your help!!

Babatunde Akinkuolie posted this 13 December 2022

Unfortunately, There is no way to restore the RAID using terminal/CLI. 

 

Tim Kemple posted this 13 December 2022

Thank you for the quick reply!

Is it possible to use third party data recovery? What does that look like?

 

Babatunde Akinkuolie posted this 13 December 2022

You can try to use third party recovery if possible; however you delete a logical drive, all the data on the logical is lost and cannot be restored.. You can refer to data recovery services like Drivesavers Data Recovery for further assistance.

 

 

R P posted this 14 December 2022

Hi Tim,

When a LUN is deleted the data on disk is not touched. The array information is stored in something called DDF at the very end of each array disk. The DDF is all that is deleted (when an array is deleted) or modified (if only the LUN is deleted). If a deleted LUN is re-created, the volume will be restored. Data recovery services are needed primarily when there is a disk failure of a critical disk.

That being said, we'd need to know the configuration of the original LUN to recreate it. Many users change the factory default configuration.

And recreating the LUN will have to be done from the terminal.

Were any changed made to the default configuration of your Pegasus?

Tim Kemple posted this 15 December 2022

Hi RP

Thanks for your response!

The Pegasus2 R8 was set up as a RAID5 with the default settings. It was configured on a mac using the promis utility.

The logical cache policy was set to ReadAhead/WriteBack (Not sure if this variable matters?)

Thanks!

R P posted this 15 December 2022

Hi Tim,

If everything is in the default configuration, then the process should be...

1. open a terminal

2. enter 'promiseutil' to start the CLI.

3. To recreate the LUN, use the following command...

array -a addld -d 0 -l "raid=5,forcesynchronized=yes"

4. The Volume should mount on the MAC, verify that your files are present.

5. If no files are present that means the LUN was not successfully recreated, delete the LUN immediately.

Tim Kemple posted this 15 December 2022

Hi RP

That worked perfectly!

THANK YOU

R P posted this 15 December 2022

Hi Tim,

Fantastic.

Mihai Crocimar posted this 25 March 2024

- Hi Tim and thanks for your post.

- Special thanks and question for RP - what can I do if I have same situation but when I run recreation of my LUN I got the message that I have no free space: "Error (0x8020): not enough free space on the disk array"

I'm thinking about to delete one hard drive that is as spare, but not sure if it can help me extending my RAID 0 ...

Any suggestions are welcome.

Many thanks in advance!

R P posted this 25 March 2024

Hi Mihai,

Can you run the following commands in promiseutil and post the output here?

phydrv
array -v
logdrv -v

Mihai Crocimar posted this 26 March 2024

Hi R P,

Many thanks for so quick reply.

cliib>phydrv                                                                    ===============================================================================

PdId Model        Type      Capacity  Location      OpStatus  ConfigStatus     

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

1    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot1   OK        Unconfigured     

2    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot2   OK        Array0 No.0      

3    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot3   OK        Array0 No.1      

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

5    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot5   OK        Array0 No.3      

6    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot6   OK        Array0 No.4      

7    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot7   OK        Array0 No.5      

8    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot8   OK        Array0 No.6      

 

cliib>array -v                                                                        

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

DaId: 0

OperationalStatus: OK

Alias: Promise2

PhysicalCapacity: 21TB                 ConfigurableCapacity: 21TB

FreeCapacity: 0Byte                    MaxContiguousCapacity: 0Byte

AvailableRAIDLevels: 0 5 6 50 1E

PDM: Enabled                           MediaPatrol: Enabled

NumberOfPhysicalDrives: 7              NumberOfLogicalDrives: 1

NumberOfDedicatedSpares: 0

UserSetPowerSavingLevel: 0             CurrentPowerSavingLevel: 0

PowerManagement: Enabled

 

Physical Drives in the Array:  

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

SeqNo PdId CfgCapacity FreeCapacity OpStatus                                   

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

0     2    3TB         3.09MB       OK                                         

1     3    3TB         3.09MB       OK                                         

2     4    3TB         3.09MB       OK                                         

3     5    3TB         3.09MB       OK                                         

4     6    3TB         3.09MB       OK                                         

5     7    3TB         3.09MB       OK                                         

6     8    3TB         3.09MB       OK                                         

 

Logical Drives in the Array:  

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

LdId Alias          RAIDLevel Capacity  OpStatus                               

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

0    Promise        RAID0     21TB      OK                                     

 

Available Spares to the Array:  

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

Id  OpStatus  PdId CfgCapacity Revertible Type      DedicatedToArray          

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

No spare drive available in the array

 

cliib>logdrv -v                                                                       

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

LdId: 0

ArrayId: 0                             SYNCed: Yes

OperationalStatus: OK

Alias: Promise                         TRIMSupport: Support TRIM

SerialNo: 0000000000000000000000002C0AEEFC362DB09B

WWN: 2287-0001-55e1-8a28               PreferredCtrlId: N/A

RAIDLevel: RAID0                       StripeSize: 1MB

Capacity: 21TB                         PhysicalCapacity: 21TB

ReadPolicy: ReadAhead                  WritePolicy: WriteBack

CurrentWritePolicy: WriteBack

NumOfUsedPD: 7                         NumOfAxles: 1

SectorSize: 512Bytes                   RAID5&6Algorithm: N/A

TolerableNumOfDeadDrivesPerAxle: 0     ParityPace: N/A

CodecScheme: N/A

 

R P posted this 27 March 2024

Hi Mihai,

According to the posted information your RAID0 LUN is online and functional.

I'm thinking about to delete one hard drive that is as spare, but not sure if it can help me extending my RAID 0 ...

First, there is no spare on your Pegasus. And a RAID0 LUN can't use a spare, you'd need a RAID5 or RAID6. RAID0 is risky as if any drive dies the LUN is lost.

If the Volume won't mount, open Disk Utility and run First Aid on it, the RAID volume is fine, there has to be Filesystem damage.

Mihai Crocimar posted this 27 March 2024

First Aid was first tried, and repeted a few times, spare I did deleted before running promiseutil commands ... now I just added it back and run again same commands:

cliib> phydrv                                               

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

PdId Model        Type      Capacity  Location      OpStatus  ConfigStatus     

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

1    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot1   OK        Revert Global Sp 

2    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot2   OK        Array0 No.0      

3    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot3   OK        Array0 No.1      

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

5    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot5   OK        Array0 No.3      

6    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot6   OK        Array0 No.4      

7    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot7   OK        Array0 No.5      

8    TOSHIBA DT01 SATA HDD  3TB       Encl1 Slot8   OK        Array0 No.6      

 

cliib> array -v

 

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

DaId: 0

OperationalStatus: OK

Alias: OLD_P2

PhysicalCapacity: 21TB                 ConfigurableCapacity: 21TB

FreeCapacity: 0Byte                    MaxContiguousCapacity: 0Byte

AvailableRAIDLevels: 0 5 6 50 1E

PDM: Enabled                           MediaPatrol: Enabled

NumberOfPhysicalDrives: 7              NumberOfLogicalDrives: 1

NumberOfDedicatedSpares: 0

UserSetPowerSavingLevel: 0             CurrentPowerSavingLevel: 0

PowerManagement: Enabled

 

Physical Drives in the Array:  

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

SeqNo PdId CfgCapacity FreeCapacity OpStatus                                   

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

0     2    3TB         3.09MB       OK                                         

1     3    3TB         3.09MB       OK                                         

2     4    3TB         3.09MB       OK                                         

3     5    3TB         3.09MB       OK                                         

4     6    3TB         3.09MB       OK                                         

5     7    3TB         3.09MB       OK                                         

6     8    3TB         3.09MB       OK                                         

 

Logical Drives in the Array:  

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

LdId Alias          RAIDLevel Capacity  OpStatus                               

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

0    OLD_P          RAID0     21TB      OK                                     

 

Available Spares to the Array:  

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

Id  OpStatus  PdId CfgCapacity Revertible Type      DedicatedToArray          

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

0   OK        1    3TB         Yes        Global                              

 

cliib> logdrv -v

 

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

LdId: 0

ArrayId: 0                             SYNCed: Yes

OperationalStatus: OK

Alias: OLD_P                           TRIMSupport: Support TRIM

SerialNo: 0000000000000000000000002C0AEEFC362DB09B

WWN: 2287-0001-55e1-8a28               PreferredCtrlId: N/A

RAIDLevel: RAID0                       StripeSize: 1MB

Capacity: 21TB                         PhysicalCapacity: 21TB

ReadPolicy: ReadCache                  WritePolicy: WriteBack

CurrentWritePolicy: WriteBack

NumOfUsedPD: 7                         NumOfAxles: 1

SectorSize: 512Bytes                   RAID5&6Algorithm: N/A

TolerableNumOfDeadDrivesPerAxle: 0     ParityPace: N/A

CodecScheme: N/A

 

Thanks for info and help

R P posted this 28 March 2024

Hi MiHai,

A spare is useless when you have a RAID0. If any drive dies the RAID is lost. There is no parity data in a RAID0 with which to rebuild to the spare. We caution against using RAID0 as it is not redundant and all will be lost on (1) drive failure. We ship all Pegasus units with a pre-built RAID5.

Can you explain what the issue is again? I'm not seeing anything wrong from the data posted.

Mihai Crocimar posted this 30 March 2024

Hi,

There were no hardware problems on Pegasus. My issue is that I have no volume - it has Uninitialised status. I did found that it was ejected, I did unplugged and plugged back and it was already with uninitialised status.

Thanks for trying understand my problem.

 

 

R P posted this 01 April 2024

Hi Mihai,

My issue is that I have no volume - it has Uninitialised status.

I've already responded to this issue.

  • If the Volume won't mount, open Disk Utility and run First Aid on it, the RAID volume is fine, there has to be Filesystem damage.

If First Aid does not work, you may need Disk Warrior, it's not a free program but it will recover damaged filesystems that First Aid cannot. NOTE: Disk Warrior only works with HFS+ filesystems, if you have any other filesystem, do not use Disk Warrior.

Close