Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
Registered
 
Join Date: Aug 2010
Location: Sherwood, OR
Posts: 4,672
Garage
Linux Mint 17 - Setting up RAID 1?

I'm a complete Linux newbie. I know there are some Linux guru's here that have provided me some introductory info in the past. I'm hoping to tap into that.

I have an old Dell Precision 390 with 2 installed 500GB drives with a fresh install of Linux Mint 17 - 64bit. I struggled with install as this computer has an on-board RAID controller that is not recognized by Linux Mint 17; I eventually disabled the controller's config for RAID 1 and set it up as two separate drives (no RAID).

I understand that it is possible to set up software RAID using mdadm but have not found succinct instructions as to how to do this. I get very frustrated reading the Linux Mint forums as those are obviously not meant for the new guys. I have searched for a while with no luck.

Can anybody point me to a succinct instruction set for doing this?

Thanks for the help.

Old 09-14-2014, 08:53 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Registered
 
Scott R's Avatar
 
Join Date: Feb 2001
Location: Aspen CO US
Posts: 16,054
Garage
I wouldn't want to do software RAID over just JBODS. Since mint is just an Ubuntu derivative have you tried a regular Ubuntu live cd to see if it detects the RAID driver?

You should be able to use the RHEL5 driver from Dell:

Product Support | Dell US

You will need to likely compile the dell driver into the distro, but that's half the fun.
__________________
2021 Model Y
2005 Cayenne Turbo
2012 Panamera 4S
1980 911 SC
1999 996 Cab
Old 09-14-2014, 09:08 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,322
Software RAID-1 for my /home partition in Mint no probs

On my phone will post more tonight from home
Old 09-14-2014, 11:15 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Registered
 
Join Date: Aug 2010
Location: Sherwood, OR
Posts: 4,672
Garage
Thanks, guys!

I have tried the regular Ubuntu live CD - it doesn't recognize that controller either.
Old 09-14-2014, 11:42 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
Too big to fail
 
widebody911's Avatar
 
Join Date: Jan 2002
Location: Carmichael, CA
Posts: 33,894
Garage
Send a message via AIM to widebody911 Send a message via Yahoo to widebody911
My first question would be "Why that specific distro?"
__________________
"You go to the track with the Porsche you have, not the Porsche you wish you had."
'03 E46 M3
'57 356A
Various VWs
Old 09-14-2014, 11:46 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
The Unsettler
 
stomachmonkey's Avatar
 
Join Date: Dec 2002
Location: Lantanna TX
Posts: 23,885
Send a message via AIM to stomachmonkey
Mint is a good newb distro so I don't question that.

You should be able to so the software raid using LVM
Old 09-14-2014, 12:24 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
 
Registered
 
Join Date: Aug 2010
Location: Sherwood, OR
Posts: 4,672
Garage
To answer Widebody's question:

This is a computer mostly for my wife (who incidentally manages to scramble all things Windows and incidentally hates Windows 7 and 8). I originally built her an old box that ran the Ubuntu distro and she was OK with that but complained that it wasn't more like Windows (go figure). I recently got another not-so-old-box and thought I would give her an upgrade (and hopefully end the complaining).

I was hoping that Mint would be similar to Ubuntu (drop in a live disk and be able to completely rebuild a machine in 30 minutes) but didn't expect the RAID issue.

While she is 90% of the reason I'm doing this, I would like to learn a bit about Linux in the process (but not ready to jump in the deep end).
Old 09-14-2014, 04:22 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #7 (permalink)
Registered
 
Join Date: Aug 2010
Location: Sherwood, OR
Posts: 4,672
Garage
I didn't find any obvious setup in LVM to set the RAID array (my understanding is that this must be set with MDADM). (I did try to use LVM via the installer but it did not see the single volume when the RAID controller was enabled.)
Old 09-14-2014, 04:25 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #8 (permalink)
The Unsettler
 
stomachmonkey's Avatar
 
Join Date: Dec 2002
Location: Lantanna TX
Posts: 23,885
Send a message via AIM to stomachmonkey
So it sounds like you are looking to create a fallback drive in case she borks the primary drive.

Instead of banging your head against the wall with RAID why not consider rsnapshot (rsync) which will give you full and incremental backups.
__________________
"I want my two dollars"
"Goodbye and thanks for the fish"
"Proud Member and Supporter of the YWL"
"Brandon Won"
Old 09-14-2014, 04:37 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #9 (permalink)
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,322
Now that I have a real keyboard

Typically software RAID has issues with install/config when it is used on the boot drive and/or / partition. You can make a small (few gigabytes) partition at the front of one drive as /boot, use the same space on the other for your swap partition. It is still hard to deal with during install, but Debian has an option for LVM/RAID during install - Mint just hides it since it is more focused on the desktop.

What I do is have a single 120gb SATA drive to boot from and use as / (it is /dev/sda w/ a root partition and a swap partition), and then 2 500gb SATA drives set up after boot as software RAID-1 and mount it as /home so all of my user files are RAID protected. Since I do a lot of web programming I also set up Apache to use /home/apache as its DocumentRoot so all of my PHP and such are on RAID as well.

Any of the tutorials for Debian, Ubuntu, or Mint for setting up mdadm after install will work for you. It is basically one command, set up a default config file, modify /etc/fstab, and let the drives synch. Note that you can copy data to it while the drives are synching.
__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.”
Old 09-14-2014, 04:57 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #10 (permalink)
Registered
 
Join Date: Aug 2010
Location: Sherwood, OR
Posts: 4,672
Garage
Thanks for the info and ideas. I'll look at rsync and see if that looks workable. It does sound like the best option for what I'd like to do is add a third drive and use the others for data.

Old 09-15-2014, 08:33 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #11 (permalink)
Reply


 


All times are GMT -8. The time now is 06:46 AM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.