How do I mount a RAID in Ubuntu?
Matthew Martinez
First, I'm a total newbie to this platform and only have a very basic knowledge of command line input in Terminal...
Long story short, I have a five disk LaCie RAID box (RAID 5) that seems to have had a hardware failure within the box itself, not just a drive. I am trying to rescue the information contained on the drives. 4 of the 5 still seem to be intact. Via bits and pieces of articles on the web I have gotten Ubuntu to recognize them as part of the same RAID, but I'm at a loss as to how to get the RAID to mount so I can access it on my network (Mac environment) and back up the data to a new drive.
I can't seem to find any command line inputs which make sense for my situation, and I'm not having any luck installing a GUI mounting app either. I tried several times to install pysdm, but could never get it to work.
Thanks!
32 Answers
If you need to mount the drive,
Run
sudo fdisk -lLocate the drive and the mount it with
sudo mount /dev/sd## /location to mountFYI replace ## with your corresponding drive. Also make sure you have created the directory where you intend to mount
If you are then trying to make the mounted drive network accessible through Ubuntu, use Samba. There is plenty of documentation on this on the Internet. start here
6You said it is RAID5 correct, RAID 5 is set up to rebuild itself if a drive fails, you need to look at your Lacie instructions, it should tell you that you replace the bad drive in the RAID set, and then the Lacie will rebuild the data on the drive.
RAID 5 is what is called a stripe set, each drive contains data from the other drives that will allow the RAID to rebuild itself.
Lacie I believe is a hardware raid, which means your drives are probably hot swappable, so you don't even have to shut down the Lacie device to do this. Read your manual, that is my best answer.
1