LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-05-2009, 03:37 PM   #1
learning_curve
LQ Newbie
 
Registered: May 2009
Location: Vancouver BC
Distribution: openSUSE 11
Posts: 5

Rep: Reputation: 0
RAID 0 striping with openSUSE 11 - was I successful??


Hi,I have no experience with SATA drives and raid arrays and hope that someone could look at the info below and tell what type of array openSUSE 11 gave me.

On my old 32bit ASUS A7N8X Deluxe computer I installed two new 320GB sata Wester Digatal drives, changed the BIOS for raid 0, and then installed openSUSE 11. Below are clips from the screen on bootup; the fstab, the df -a command, and a small part of lspci.

After two days of searching for info to compare against, with no success, any comments will be appreciated. Thanks.


ASUS A7N8X Deluxe

Sil 3112A SATARaid Controller BIOS Version 4.1.50
Copywright (C) 1997-2002 Sillicon Image Inc.

Press <Ctrl-S> or F4 to enter RAID utility
Primary Channel: WDC WD3200AAKS-00L9A 305245 MB
Seconday Channel: WDC WD3200AAKS-00L9A 305245 MB

Sil Striped Set: WDC WD3200AAKS-00L9A
WDC WD3200AAKS-00L9A




# cat /etc/fstab
/dev/mapper/sil_ajafacccagca_part6 swap swap defaults 0 0
/dev/mapper/sil_ajafacccagca_part7 / ext3 acl,user_xattr 1 1
/dev/mapper/sil_ajafacccagca_part5 /boot ext3 acl,user_xattr 1 2
/dev/mapper/sil_ajafacccagca_part8 /home ext3 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0



# df -a
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/sil_ajafacccagca_part7
20641788 3600308 15992840 19% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
debugfs 0 0 0 - /sys/kernel/debug
udev 1234652 132 1234520 1% /dev
devpts 0 0 0 - /dev/pts
/dev/mapper/sil_ajafacccagca_part5
69940 39943 26386 61% /boot
/dev/mapper/sil_ajafacccagca_part8
592541776 202388 562240008 1% /home
securityfs 0 0 0 - /sys/kernel/security
fusectl 0 0 0 - /sys/fs/fuse/connections
none 0 0 0 - /proc/sys/fs/binfmt_misc



# lspci

00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
01:0b.0 RAID bus controller: Silicon Image, Inc. SiI 3112 [SATALink/SATARaid] Serial ATA Control ler (rev 01)
02:01.0 Ethernet controller: 3Com Corporation 3C920B-EMB Integrated Fast Ethernet Controller [To rnado] (rev 40)
 
Old 05-05-2009, 04:53 PM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
I wonder if you wouldn't mind posting the results of
Code:
df -ah
makes more sense to me that way!
I reckon that you need to boot into the RAID controller to see your config, you probably won't make much sense of it inside linux, since you are using a hardware RAID controller.
 
Old 05-05-2009, 05:38 PM   #3
learning_curve
LQ Newbie
 
Registered: May 2009
Location: Vancouver BC
Distribution: openSUSE 11
Posts: 5

Original Poster
Rep: Reputation: 0
df -ah

Sure...

df -ah
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/sil_ajafacccagca_part7
20G 3.5G 16G 19% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
debugfs 0 0 0 - /sys/kernel/debug
udev 1.3G 116K 1.3G 1% /dev
devpts 0 0 0 - /dev/pts
/dev/mapper/sil_ajafacccagca_part5
69M 40M 26M 61% /boot
/dev/mapper/sil_ajafacccagca_part8
566G 198M 537G 1% /home
securityfs 0 0 0 - /sys/kernel/security
fusectl 0 0 0 - /sys/fs/fuse/connections
none 0 0 0 - /proc/sys/fs/binfmt_misc
 
Old 05-05-2009, 05:45 PM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
Well, there you go, under
Quote:
/dev/mapper/sil_ajafacccagca_part8
566G 198M 537G 1% /home
you have a RAID array working! Now, what type it is, you probably cannot find in linux, because you configured it with a hardware RAID controller.

When you are booting the machine, you will see some extra menu after the POST screen, and you want to enter the BIOS or RAID config there.
 
Old 05-06-2009, 05:35 AM   #5
learning_curve
LQ Newbie
 
Registered: May 2009
Location: Vancouver BC
Distribution: openSUSE 11
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks irishbitte

yes, I've looked at the bios after POST and it
shows it's set to a Striped Set, like below:

Press <Ctrl-S> or F4 to enter RAID utility
Primary Channel: WDC WD3200AAKS-00L9A 305245 MB
Seconday Channel: WDC WD3200AAKS-00L9A 305245 MB

Sil Striped Set: WDC WD3200AAKS-00L9A
WDC WD3200AAKS-00L9A


But what I don't understand is the SATA drives are 320GB
each and I thought if I have a striped array it should have a 320GB capacity. The line from df -ah shows that the /home partition has 566G.
 
Old 05-06-2009, 09:57 AM   #6
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
What do you understand by striped? Do you mean RAID 0, 1 or 5?
 
Old 05-06-2009, 10:00 AM   #7
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
Take a look at this: http://www.hardwaresecrets.com/article/393, it explains striped (RAID 0) systems quite well. Yes, if it is setup this way, it will look like one large HDD.
 
Old 05-06-2009, 10:29 AM   #8
johnsfine
Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,125

Rep: Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119
Quote:
Originally Posted by learning_curve View Post
raid 0
If your objective was performance or capacity, raid 0 may be a good choice.

If your objective was reliability/redundancy, it wasn't. From your later comments, I think you thought you were getting redundancy, as in raid 1 (duplicate the data onto two drives so if either fails, all the data is on the other).

Raid 0 means interleave the data on two drives, so you have the full total capacity (double the total of one drive) but the drives are used together, so a better distribution of workload between the drives is likely vs. using them separately and just putting half your files on each.
 
Old 05-06-2009, 03:25 PM   #9
learning_curve
LQ Newbie
 
Registered: May 2009
Location: Vancouver BC
Distribution: openSUSE 11
Posts: 5

Original Poster
Rep: Reputation: 0
good input

Now I understand, that www.hardwaresecrets.com helped. What I wanted from the start was performance, not reliability and it looks like I've got it. Thanks all.
 
Old 05-06-2009, 09:06 PM   #10
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
Good stuff, glad it's running the way you want it. Don't forget to make backups!
 
Old 05-07-2009, 04:13 PM   #11
learning_curve
LQ Newbie
 
Registered: May 2009
Location: Vancouver BC
Distribution: openSUSE 11
Posts: 5

Original Poster
Rep: Reputation: 0
Linux uber alles!

This is a project computer so I'm not worried about loosing data. I will use this to learn more linux things, like zen, which I've been unsuccessful to get a virtual windows xp on both my 32bit and 64bit computers. I'll be posting questions on this soon and hope again get helpful replies.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing openSuSE 11 on Raid 0 mattyoly Linux - General 6 12-09-2008 02:46 AM
Ping to IP and router successful, but not DNS D: openSUSE 11 Kbiscu1t Linux - Networking 4 06-28-2008 12:35 PM
Striping Raid server-solution Linux - Hardware 5 10-21-2005 04:12 AM
What to use: lvm2 or md striping fza Linux - General 0 02-24-2005 04:30 AM
When is Striping Hard Drives OK? rootking Linux - Hardware 0 06-03-2003 02:11 AM


All times are GMT -5. The time now is 08:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration