16

We are currently trying to run access the data on a server running a HP Ml110 G5 SATA raid controller, using the latest Ubuntu Live CD. We need to delete a few files to let the server boot into Windows but are unable to mount the partitions.

We can see the individual disks via the disk management program but can not mount the partitions, does anyone have any suggestions?

ppetraki
  • 5,393
  • 1
  • 25
  • 51
  • 1
    The answer depends entirely on whether you are using hardware or software raid. Do you know? You may have a hardware-raid-capable controller, but be doing it in software. – poolie Dec 02 '10 at 23:21

1 Answers1

29

For a software raid I'd do the following (but it might work for your controller too?):

Install mdadm (should be on the cd):

sudo apt-get install mdadm
sudo mdadm --assemble --scan

I think this will recognize your raid automatically and it should pop up in nautilus.

Edit: tried it myself on a new system (Ubuntu 11.04 alpha 1 :) and adapted answer

sBlatt
  • 4,399
  • 3
  • 23
  • 20
  • **This won't work for hardware raid**, but running something like `mdadm -Q /dev/sd[a-f][1-9]` should tell you whether or not they're using software raid. – poolie Dec 02 '10 at 23:23
  • 2
    Also, just installing mdadm won't automatically recognize the arrays, and `--auto-detect` is deprecated. What I would do in a recovery situation is use `-Q` to understand what disks are present, then `mdadm --assemble /dev/md0 /dev/sda1 ....` giving the component partitions by hand. It's safer than trying to reproduce normal auto assembly. – poolie Dec 02 '10 at 23:26
  • I just had to use it myself, I just installed mdadm, then I did '''sudo mdadm --assemble --scan''' and the software raid poped up in nautilus – sBlatt Dec 03 '10 at 10:43
  • Bear in mind that after the mdadm --assemble command it may take a long time to becoume available the drive, because it might be synchronizing the disks – user260881 Dec 29 '21 at 17:33
  • Confirmed that the command still works in 2022 for Ubuntu 20.04. --assemble --scan is essential. – Naofumi Oct 24 '22 at 17:54