Suddenly my logical drive is missing

  • 1.3K Views
  • Last Post 15 May 2023
  • Topic Is Solved
Achim Gehrig posted this 12 May 2023

After a restart earlier today my logical drive would not mount. It was configured as Raid 5 and so far worked without any problems.

The Promise utility shows:
– physical drives are all green
– no configured disk arrays!
– no configured logical drives!

Configuration of the drives states "passthru". 

Bay (I'd) 6 was configured as spare drive, bay (ID) 5 was left empty. 

Is it somehow possible to recreate the logical drive? 

Using Mac OS Monterey, Pegasus R6

Thx. Regards.

Achim

 

 

Order By: Standard | Latest | Votes
R P posted this 15 May 2023

Hi Achim,

As far as I can see, the drive in bay 6 has to be reconfigured as spare drive?

This should do it.

phydrv -a mod -s "config=unconfig" -p 6
spare -a add -p 6 -t g -r y

Can I somehow find out, why the raid got "unconfigured" in the first place?

There is not enough information here to even guess. Sorry.

 

 

Achim Gehrig posted this 15 May 2023

Thanks so much!!

It works for now.

As far as I can see, the drive in bay 6 has to be reconfigured as spare drive? Anything else I have to take into consideration?

Can I somehow find out, why the raid got "unconfigured" in the first place?

R P posted this 15 May 2023

Hi Achim,

Yes, that was the initial configuration.

If this is correct then you can recreate the LUN from the CLI. To start the CLI open a terminal and enter promiseutil. The prompt will change to cliib>. The drives need to be in the same sequence as they originally were, if the drives have been removed and shuffled this wll not work.

The commands are as follows.

phydrv -a mod -s "config=unconfig" -p 1
phydrv -a mod -s "config=unconfig" -p 2
phydrv -a mod -s "config=unconfig" -p 3
phydrv -a mod -s "config=unconfig" -p 4

array -a add -p 1,2,3,4 -l "raid=5, forcesynchronized=yes"

The first 4 commands clear the passthru state. The last command creates the array+LUN.

If this is not the correct configuration you will see an unformatted disk in disk utility. If that's the case then you should delete the LUN immediately with the following CLI command.

array -a del -d 0

If that does not work, would it be possible to get the data off the drives with a recovery software?

No, the data is striped across all the drives, the RAID needs to be recreated. There are many data recovery services that can do this kind of work.

  • Liked by
  • Achim Gehrig
Achim Gehrig posted this 13 May 2023

Yes, that was the initial configuration.

If that does not work, would it be possible to get the data off the drives with a recovery software?

R P posted this 12 May 2023

Hi Achim,

Is it somehow possible to recreate the logical drive?

If the details of how the logical drive was constructed are known, then it can be recreated. This includes which disks are used, the sequence order and any changes to the default configuration, like the stripe size.

Is it correct that PD1,2,3 and 4 were an array with a RAID 5 logical drive? If so we can try and recreate that configuration.

 

Close