4

I was tasked to do some rearranging on my company's HP Proliant storage server. In the p800 configuration utility I managed to delete the wrong logical disk, which was a 10 disk RAID 6 array. I'm just wondering if there's any way to recover that logical disk. When I boot up I'm given the options

Logical drive(s) disabled due to possible data loss.  
Select "F1" to continue with logical drive(s) disabled. 
Select "F2" to accept data loss and to re-enable logical drive(s)  
RESUME = "F1" OR "F2" KEY. 

I haven't chosen either. F2 sounds scary. I just wish there was a way to re-import the foreign configuration like on the Dell servers.

Can anyone help?

ewwhite
  • 194,921
  • 91
  • 434
  • 799
Stephen
  • 41
  • 1
  • 2
  • This depends entirely upon what you did immediately after deleting the logical drive. Was this in the BIOS utility? – ewwhite Jan 19 '13 at 00:17
  • Yes it was in the bios utility. After i did it i simply exited the utility and booted the server into the operating system which resides on a seperate logical disk. – Stephen Jan 19 '13 at 00:20
  • Look at the BIOS messages and check the "logical drive count". You may have to F2 it. – ewwhite Jan 19 '13 at 00:22
  • 1
    In the "available logical drive" screen it shows the logical drive there with a failed status. logical drive #3 Raid 6, 5588.8Gb, FAILED – Stephen Jan 19 '13 at 00:31
  • 1
    One time I deleted an entire array on a ProLiant. I recreated it with the same values and the data was still there. Your mileage may vary. – Greg Askew Jan 19 '13 at 00:52
  • is there some software i can use you take an image of each individual drive that would give me some insurance in case i go to recreate it and it doesnt work? – Stephen Jan 19 '13 at 01:02
  • I've done the same as Greg before on a Proliant, and the data was still intact. It wasn't with a p800 controller though. – HostBits Jan 19 '13 at 01:10
  • did either of you use this Select "F2" to accept data loss and to re-enable logical drive(s) option? – Stephen Jan 19 '13 at 01:14
  • @Stephen: I have not selected F2. – Greg Askew Jan 19 '13 at 01:21
  • 1
    @Stephen, yes. You can create full disk images by using something like `dd if=/dev/sda of=/storage/disk_image_number_1 bs=1M` (replace sda with the right disk and change the output file name per disk). – Hennes Jan 19 '13 at 01:34
  • 3
    No, select F2 since it recognizes the array. – ewwhite Jan 19 '13 at 02:30
  • @Hennes Smart Array controllers present logical drives as dedicated block devices... This particular controller would use the [CCISS driver](http://cciss.sourceforge.net/) and not the normal Linux SCSI subsystem. If the drive were deleted, there wouldn't be anything available for a `dd` imaging process. – ewwhite Jan 19 '13 at 06:04
  • Well? What happened? – ewwhite Jan 19 '13 at 21:12
  • The F2 option simply re-enabled the logical disk. In the operating system it appeared as an un-initialized disk with no volume(s). In the operating system i had access to the utilities you mentioned which simply indicated that the logical drive had failed and cannot be used. – Stephen Jan 24 '13 at 19:19
  • There's a chance there's some ability to recover. The key tool is [UFS Explorer](http://www.ufsexplorer.com). – ewwhite Jan 24 '13 at 19:30
  • I was thinking of trying R-studio. Have any experience with that one? – Stephen Jan 24 '13 at 19:54
  • @Stephen UFS Explorer works well. See: http://serverfault.com/questions/469460/how-to-recover-xfs-file-system-with-superblock-read-failed/469461#469461 – ewwhite Jan 25 '13 at 10:25

1 Answers1

11

This is a hard lesson. You really should not be managing HP logical drives from the BIOS utility. It's far too inflexible and isn't Operating System aware, like the Online Array Configuration Utilities for Windows and Linux. Those tools show the logical drive mount points and lock specific actions if the logical drive is mounted.

Furthermore, the BIOS utility is a two-step process that asks for F8 and an F3 confirmation step before deleting a logical drive.

For now, you should bypass the array recovery for now. Boot the system into the Array Configuration Utility offline CD

Boot it and you'll be able to check the status of your logical and physical drive arrangement and see exactly what your situation is. From there, you'll be able to see what the controller thinks is on disk.

There's a chance that matching your old settings would result in the right data if the logical drive is not detected.

Since you say the logical drive is detected, pressing F2 will do as the message says; attempt recovery. I'd really look at the HP ACU tool I linked above before doing that, though.

ewwhite
  • 194,921
  • 91
  • 434
  • 799