[SOLVED]How to install Intel Rapid Storage Technology driver

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

[SOLVED]How to install Intel Rapid Storage Technology driver

Postby baj on Thu Mar 28, 2013 10:53 pm

Hello,

I recently upgraded to an HP 8770w laptop with SSD. It's very fast, I like it! I have it set up for dual-boot with both Windows 7 Pro and Mint 13 Mate on the SSD. I just received my parts to add a RAID0 partition for my home folder (2x750gb drives + caddy for media bay). I am using the BIOS RAID0 so both Win7 and Mint will see it. Win7 sees it fine, I even made a partition and put files on it. Mint does not see the RAID0 volume, it still sees it as two 750gb drives. I presume Mint doesn't recognize the BIOS RAID0 volume because it requires a different driver? I know this works as I had similar setup on my previous HP laptop but had the OS's installed on the RAID0 (no SSD). I can't recall if I had to do anything special to get Mint to install.

I went to HP's website and downloaded the only linux driver they had listed for my laptop (Intel Rapid Storage Technology), which they claim is supported for RHEL v3 and SLES v8 & v9, an rpm package. I read you can convert these to deb, but wasn't sure if that's the right way to do this.

Intel's website just pointed me to mdadm, but the description for that indicates it's only for software RAID.

Any suggestions?

Thanks!
Last edited by baj on Fri Mar 29, 2013 7:16 pm, edited 1 time in total.
baj
Level 1
Level 1
 
Posts: 27
Joined: Mon Feb 11, 2013 1:36 am

Linux Mint is funded by ads and donations.
 

Re: How to install Intel Rapid Storage Technology driver Min

Postby catweazel on Thu Mar 28, 2013 11:03 pm

baj wrote:Intel's website just pointed me to mdadm, but the description for that indicates it's only for software RAID.

Any suggestions?

Yes. Take Intel's advice.

BIOS RAID is only a firmware version of software RAID, and it's only in your machine's BIOS so that RAID works in Windwoes. It isn't necessary in Linux.
Mint Testing Team & Mint Donor #3606
KDE 4.12.0, custom preemptive kernel 3.12.5,
Intel i7 4770K @ 4.7GHz, 16GB 2666MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 7
Level 7
 
Posts: 1656
Joined: Fri Oct 12, 2012 9:44 pm

Re: How to install Intel Rapid Storage Technology driver Min

Postby baj on Thu Mar 28, 2013 11:13 pm

But I believe using the BIOS RAID is necessary in my case since I want Windohs to be able to see the RAID volume. Or am I not understanding mdadm?
baj
Level 1
Level 1
 
Posts: 27
Joined: Mon Feb 11, 2013 1:36 am

Re: How to install Intel Rapid Storage Technology driver Min

Postby catweazel on Thu Mar 28, 2013 11:17 pm

This is all you need:
Code: Select all
sudo apt-get update
sudo apt-get install mdadm
Mint Testing Team & Mint Donor #3606
KDE 4.12.0, custom preemptive kernel 3.12.5,
Intel i7 4770K @ 4.7GHz, 16GB 2666MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 7
Level 7
 
Posts: 1656
Joined: Fri Oct 12, 2012 9:44 pm

Re: How to install Intel Rapid Storage Technology driver Min

Postby baj on Thu Mar 28, 2013 11:35 pm

Thanks. I Installed mdadm, but that must not be all I need. The first step though I suppose. Is there a simple way to get it to recognize the RAID0 volume I set up in Windoze or is it RTFM time?
baj
Level 1
Level 1
 
Posts: 27
Joined: Mon Feb 11, 2013 1:36 am

Re: How to install Intel Rapid Storage Technology driver Min

Postby catweazel on Fri Mar 29, 2013 5:34 pm

Ok, mdadm should have detected the RAID set when you installed the program. Try this:
Code: Select all
sudo mdadm --assemble --scan
Mint Testing Team & Mint Donor #3606
KDE 4.12.0, custom preemptive kernel 3.12.5,
Intel i7 4770K @ 4.7GHz, 16GB 2666MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 7
Level 7
 
Posts: 1656
Joined: Fri Oct 12, 2012 9:44 pm

Re: How to install Intel Rapid Storage Technology driver Min

Postby baj on Fri Mar 29, 2013 6:41 pm

Perfect, thanks!
baj
Level 1
Level 1
 
Posts: 27
Joined: Mon Feb 11, 2013 1:36 am

Re: [SOLVED]How to install Intel Rapid Storage Technology dr

Postby baj on Fri Mar 29, 2013 7:24 pm

One more stupid question. It appears this needs to be run on each boot. Where would you recommend I put this such that my /home folder (what will be on the RAID) is mounted before linux starts looking for it?
baj
Level 1
Level 1
 
Posts: 27
Joined: Mon Feb 11, 2013 1:36 am

Re: [SOLVED]How to install Intel Rapid Storage Technology dr

Postby catweazel on Sat Mar 30, 2013 10:29 pm

The full instructions are here.

You need to create mdadm.conf.

It's all there. Just toss out what you don't need.
Mint Testing Team & Mint Donor #3606
KDE 4.12.0, custom preemptive kernel 3.12.5,
Intel i7 4770K @ 4.7GHz, 16GB 2666MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 7
Level 7
 
Posts: 1656
Joined: Fri Oct 12, 2012 9:44 pm

Re: [SOLVED]How to install Intel Rapid Storage Technology dr

Postby baj on Sun Mar 31, 2013 5:26 am

Thanks for all your help. However I must still be missing something because the RAID partition is still not available at boot-up. I did my best to try to determine what to use from the very thorough link you directed me to, but this was all I came up with:

Code: Select all
$ sudo sh -c "mdadm -Ds >> /etc/mdadm/mdadm.conf"


I ran this (after backing up my existing mdadm.conf) and found slight difference in the raid details:

Existing mdadm.conf
Code: Select all
# definitions of existing MD arrays
ARRAY metadata=imsm UUID=6735668a:91e33514:30bb68cb:b562605d
ARRAY /dev/md/BAJRAID0 container=6735668a:91e33514:30bb68cb:b562605d member=0 UUID=9cfdf9a8:2ab9499a:0db83e85:cec92aae


New - output of sudo sh -c "mdadm -Ds >> /etc/mdadm/mdadm.conf"
Code: Select all
ARRAY /dev/md/imsm0 metadata=imsm UUID=6735668a:91e33514:30bb68cb:b562605d
ARRAY /dev/md/BAJRAID0 container=/dev/md/imsm0 member=0 UUID=9cfdf9a8:2ab9499a:0db83e85:cec92aae


Then I ran blkid
Code: Select all
$ sudo blkid
/dev/sda1: LABEL="System Reserved" UUID="04CA538DCA537A3E" TYPE="ntfs"
/dev/sda2: UUID="16D6FA56D6FA3599" TYPE="ntfs"
/dev/sda3: LABEL="HP_TOOLS" UUID="A2DD-7CED" TYPE="vfat"
/dev/sda5: UUID="baf0d421-ce2a-4b3d-b028-4752b07ebceb" TYPE="ext4"
/dev/sdc: TYPE="isw_raid_member"
/dev/sdb: TYPE="isw_raid_member"
/dev/md126p1: LABEL="HOMEDATA" UUID="19ffcd5a-7dda-4eba-8d6b-41a7a539375b" TYPE="ext4"


and updated my fstab with the UUID for /dev/md126p1
Code: Select all
UUID=19ffcd5a-7dda-4eba-8d6b-41a7a539375b /home ext4 nodev,nosuid 0 2


However, when I boot, the system stops with a message saying it can't mount (or find?) /home. I can get the exact text of the message if needed. It gives me the option to wait or skip. If I skip, it will boot to the Mint GUI login screen, but if I try to login it says my home folder is not available. I can then jump to a terminal session, login, and do the following:
Code: Select all
$ ls /dev | grep md

no output, which isn't surprising I guess. Then I do your previous suggestion with mdadm and manually mount the raid partition to /home:
Code: Select all
$ sudo mdadm --assemble --scan
$ sudo mount /dev/md126p1 /home


Then I can login from the Mint GUI and everything works great.

The question is what do I need to do to get the raid partition to mount automatically during boot? Do I need to do a portion of the grub section from the link you sent? Since I'm not moving root I had originally thought that didn't apply for me.

Thanks again for all your help.
-Brad
baj
Level 1
Level 1
 
Posts: 27
Joined: Mon Feb 11, 2013 1:36 am

Re: [SOLVED]How to install Intel Rapid Storage Technology dr

Postby catweazel on Sun Mar 31, 2013 6:06 am

There shouldn't be two entries in your mdadm.conf unless you have multiple partitions on the RAID set. You will have to comment one out with a # symbol and try it, then try the other if the first doesn't work.

Make sure you stop the array first:
Code: Select all
mdadm --stop /dev/mdXYZ

Change mdXYZ to suit the array you have. After that, rewrite mdadm.conf:
Code: Select all
mdadm --detail --scan >> /etc/mdadm/mdadm.conf

This is what my mdadm.conf looks like:
Code: Select all
ARRAY /dev/md0 metadata=1.2 name=catweazel:0 UUID=16afdce8:ca8bebcb:2df57ff4:5a26c6cd

The UUID is for the RAID set. The UUID in fstab is a different UUID and you seem to have that part right. The error is being caused because the RAID set hasn't been built so the device with the UUID in the fstab isn't being found.

Other than that, you might try this, again, after making sure the array is stopped:
Code: Select all
mdadm --assemble --run --force /dev/md0 /dev/sdAX /dev/sdBY

Again, adjust sdAX and sdBY.

I can't be of more help. I've never tried to get it working with a Windwoes fakeraid and your issue has taxed my knowledge on the subject. Though just for sh*ts and giggles I might set up a virtual machine and try it myself sometime.

Cheers.
Mint Testing Team & Mint Donor #3606
KDE 4.12.0, custom preemptive kernel 3.12.5,
Intel i7 4770K @ 4.7GHz, 16GB 2666MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 7
Level 7
 
Posts: 1656
Joined: Fri Oct 12, 2012 9:44 pm

Re: [SOLVED]How to install Intel Rapid Storage Technology dr

Postby baj on Tue Apr 02, 2013 12:54 am

Thank you very much catweazel, you've been more then generous with your time and assistance. I'll do some digging and checking around and see what I can learn.
baj
Level 1
Level 1
 
Posts: 27
Joined: Mon Feb 11, 2013 1:36 am

Re: [SOLVED]How to install Intel Rapid Storage Technology dr

Postby catweazel on Tue Apr 02, 2013 1:03 am

You're very welcome. It was a pleasure to share with you the little I know :)
Mint Testing Team & Mint Donor #3606
KDE 4.12.0, custom preemptive kernel 3.12.5,
Intel i7 4770K @ 4.7GHz, 16GB 2666MHz XMP,
4 Samsung 840 PRO 512GB SSDs in RAID0,
6TB HW RAID10, dual 24" Acer X243H,
Gigabyte nVidia GTX 680 Super Overclock
User avatar
catweazel
Level 7
Level 7
 
Posts: 1656
Joined: Fri Oct 12, 2012 9:44 pm

Re: [SOLVED]How to install Intel Rapid Storage Technology dr

Postby baj on Fri Apr 05, 2013 8:58 am

Probably not the right way, but I got around the booting problem by adding the following to /etc/rc.local

Code: Select all
mdadm --assemble --scan
mount /dev/md126p1 /home


I also had to remove/comment the /home mount from fstab.
baj
Level 1
Level 1
 
Posts: 27
Joined: Mon Feb 11, 2013 1:36 am

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 13 guests