[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.1

Raid 5 steup problems w Ubuntu Server 8.10

Asked by obg in Linux Setup, Computer Servers

Tags: Ubuntu, Ubuntu Server, 8.10, ASRock, Seagate, ASRock K10N78-1394, 6 x ST31500341AS

I am experiencing great problems setting up a Liunx Software Raid 5 system.

My motherboard is a ASRock K10N78-1394 which has 6 SATA connectors. I have set them to work in AHCI mode.
My disks are Seagate's 1.5 TB. I want them to be used as five active and one spare.
My boot medium is a 4 GB USB memory...
The installation CD/DVD drive is also connected via USB, if that's relevant.

First of all, I have read the post on Tom's that issues a warning about my disks: http://www.tomshardware.com/news/seagate-barracuda-1-5TB-freezing,6558.html and I haven't seen any kernel error like that one yet.

Now, the only time I can access the disks without any comments about "device busy" or "missing super block" or similar, is from the rescue mode shell prompt from the installation CD. Here I have built the entire array three times (each time for about 10 hours). Even if I boot up in single user mode, the drives are "busy".

I use mdadm 2.6.7, and I have zero'd the super blocks before creating the array. Last time, I installed ReiserFS, and one of the disks failed (might have been a freeze, acually) which caused a rebuild. Afterwards, I could mount the array but only in this rescue mode.

Now, as other people are waiting for this server to be up and running, I really need help with this one fast. If you know what's wrong, or what components must be replaced, please tell me. Would it help to get a new SATAII controller?

The disks each have one single (huge) partition. Is there an upper limit for what these tools can handle? Anyway, next time I try (if there will be one) I will shrink these partitions. Their type is set to FD.

Any mdadm command I have tried from the regular prompt has resulted in an error - most often "Device or resource busy", but also "invalid super block" and "Input/output error".

Commands issued:

fdisk - basic stuff
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9146d6b7

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      182401  1465136001   fd  Linux raid autodetect

mdadm --zero-superblock /dev/sd{a,b,c,d,e,f}1
mdadm -Cv /dev/md0 -l5 -n5 -x1 -c128 /dev/sd{a,b,c,d,e,f}1
mkreiserfs /dev/md0
- These last ones work fine in rescue mode and I can follow the process in /proc/mdstat.

After reboot:

$ sudo mount -t reiserfs /dev/md0 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/md0,
       missing codepage or helper program, or other error
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

/proc/mdstat reports my failed disk (sda) as spare (S).

$ sudo fsck.reiserfs /dev/md0 --rebuild-sb
reiserfsck 3.6.19 (2003 www.namesys.com)

Will check superblock and rebuild it if needed
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
bread: Cannot read the block (2): (Invalid argument).
reiserfs_open: bread failed reading block 2
bread: Cannot read the block (16): (Invalid argument).
reiserfs_open: bread failed reading block 16

reiserfs_open: the reiserfs superblock cannot be found on /dev/md0.

I am attaching /var/log/messages and dmesg output. Anything else needed?
Attachments:
 
output from dmesg and extract from /var/log/messages
 
[+][-]11/17/08 10:22 AM, ID: 22977918Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Linux Setup, Computer Servers
Tags: Ubuntu, Ubuntu Server, 8.10, ASRock, Seagate, ASRock K10N78-1394, 6 x ST31500341AS
Sign Up Now!
Solution Provided By: ravenpl
Participating Experts: 1
Solution Grade: A
 
[+][-]11/17/08 09:56 AM, ID: 22977682Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/17/08 10:19 AM, ID: 22977884Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/17/08 12:00 PM, ID: 22978892Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/17/08 12:01 PM, ID: 22978911Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/17/08 01:31 PM, ID: 22979680Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_2_20070628