LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-20-2015, 12:37 PM   #1
clcbluemont
Member
 
Registered: Feb 2009
Distribution: Slackware
Posts: 116
Blog Entries: 3

Rep: Reputation: 15
Sas raid


I can't find documentation to help me understand SAS RAIDS and Channel 1 versus 2.

Working from an existing example, using an ATTO R680 and a JBOD of 8 SAS hard drives I created a RAID 0 on Channel 1 that consisted of all 8 drives and on Channel 2 that consisted of all the same 8 drives. I now have sdc and sdd drives that I am able to mount and access.

I read that SAS drives have redundant paths, but how does channel 1 and 2 translate to sdc and sdd in SAS world?
 
Old 08-20-2015, 02:59 PM   #2
mdbuerkle
LQ Newbie
 
Registered: Nov 2012
Location: Baden-Württemberg, South-Western Germany
Distribution: Gentoo
Posts: 16

Rep: Reputation: Disabled
Hi,

it's simply two connections (Channel 1 and 2) between the controller and the discs.

Most likely You will want to run a raid level greater than 0 (eg. raid-5) so You have redundancy just in case any of the discs will fail.

I suspect Your controller (ATTO R680, I didn't check the specs) can handle multipathing, too, so that Linux would only have one device (sdc and no sdd) to manage while the controller would handle I/O through multiple paths to the discs. That way, the controller would have the doubled bandwidth of two channels.

Anyways, as You have it configured, You might want to run a MD "multipath" device on top of sdc and sdd instead of a raid level, see kernel-sources/Documentation/md.txt for further reading and hints.

Take care that You don't use sdc and sdd as separate devices (i.e. mounting them...) as this will lead to data corruption. Either use sdc (exclusive-)or use sdd, not both at the same time.

Have fun!
Kind regards,
mdbuerkle
 
1 members found this post helpful.
Old 08-20-2015, 03:18 PM   #3
clcbluemont
Member
 
Registered: Feb 2009
Distribution: Slackware
Posts: 116

Original Poster
Blog Entries: 3

Rep: Reputation: 15
Thank you this was very helpful. I was just confused by the fact that the OS would let me partition, format, mount, and write to both sdc and sdd as if they were separate RAIDs. I was starting think there was some sort of magic going on that turned my 2TB into 4TB.
 
  


Reply

Tags
raid0, sas



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LSI SAS RAID driver for Debian JMCraig Linux - Hardware 10 12-19-2011 03:43 PM
Raid HDD details (SAS or SATA) sysmanz Linux - Server 1 07-25-2011 09:03 AM
install RAID for sun storage 6GB SAS PCle RAID HBA internal red8 Linux - Hardware 2 06-24-2011 08:35 AM
What is the Linux device name for a RAID of SAS drives? galapogos Linux - Hardware 8 12-09-2010 01:25 AM
fuse-ntfs-3g causing problems for SAS RAID? JMCraig Red Hat 2 08-20-2008 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration