Advertisement

04.26.2008 at 12:10PM PDT, ID: 23356141
[x]
Attachment Details

Soft RAID0 problems

Asked by vinod in Linux, Linux Administration

Tags: Redhat, RHEL4

I have inherited a preinstalled/configurred RHEL4 linux box with two soft RAID0 md0 and md1 with 3x400GB SATA drives in each. md1 keeps a snapshot of md0 with rsync done every night. This has been working fine for a couple of years but now md1 is showing problems. Some times md1 goes into read-only mode. I can remount it in RW mode but in a few days it goes into RO mode. I think that either one of the participating drive or SATA controller channel has a problem because I see kernel errors in syslog from drive sde but mdadm says the array is clean and ailed Devices: 0. Output of /etc/mdadm.conf /etc/fstab /var/log/messages /sbin/mdadm is attached. I have two questions:

a) How to get right information from mdadm utility (or any thing else) about health of the RAIDs?
b) All the 6 drives seem to be randomly connected to two 4-ports SATA controllers. How to identify which of the 6 drives is sde?

Thanks,
Vinod

# touch /mnt/cmb_bak/tst   #<---------------------------------
touch: cannot touch `/mnt/cmb_bak/tst': Read-only file system

# /etc/mdadm.conf   #<---------------------------------

DEVICE /dev/sd*
ARRAY /dev/md1 level=raid0 num-devices=3 UUID=8496dacc:5054fd06:676e8a5a:a70269fb
   devices=/dev/sdd1,/dev/sde1,/dev/sdf1
ARRAY /dev/md0 level=raid0 num-devices=3 UUID=efaa977d:01f27a1d:4d96e82c:141878c3
   devices=/dev/sda1,/dev/sdb1,/dev/sdc1


# grep /dev/md /etc/fstab   #<---------------------------------
/dev/md0                /mnt/cmb        ext3     data=writeback,noatime 1 2
/dev/md1                /mnt/cmb_bak    ext3     data=writeback,noatime 1 2

# df /dev/md0 /dev/md1
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md0             1153734004 1013307300  81820396  93% /mnt/cmb
/dev/md1             1153734004 1013278608  81849088  93% /mnt/cmb_bak

/var/log/messages:   #<---------------------------------
Apr 26 12:29:12 ds5 kernel: Info fld=0x4000000 (nonstd), Invalid sde: sense = 72 11
Apr 26 12:29:12 ds5 kernel: end_request: I/O error, dev sde, sector 0
Apr 26 12:29:12 ds5 kernel: Buffer I/O error on device sde, logical block 0

# /sbin/mdadm --detail /dev/md1   #<---------------------------------
/dev/md1:
        Version : 00.90.01
  Creation Time : Wed May  3 14:55:57 2006
     Raid Level : raid0
     Array Size : 1172126208 (1117.83 GiB 1200.26 GB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Wed May  3 14:55:57 2006
          State : clean
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0

     Chunk Size : 64K

           UUID : 8496dacc:5054fd06:676e8a5a:a70269fb
         Events : 0.1

    Number   Major   Minor   RaidDevice State
       0       8       49        0      active sync   /dev/sdd1
       1       8       65        1      active sync   /dev/sde1
       2       8       81        2      active sync   /dev/sdf1

Start Free Trial
[+][-]04.26.2008 at 07:50PM PDT, ID: 21447940

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.26.2008 at 09:51PM PDT, ID: 21448191

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.27.2008 at 02:47AM PDT, ID: 21448614

View this solution now by starting your 7-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, Linux Administration
Tags: Redhat, RHEL4
Sign Up Now!
Solution Provided By: predragpetrovic
Participating Experts: 2
Solution Grade: B
 
 
[+][-]04.27.2008 at 02:56AM PDT, ID: 21448630

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.27.2008 at 12:31PM PDT, ID: 21450129

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.27.2008 at 08:54PM PDT, ID: 21451512

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.27.2008 at 09:57PM PDT, ID: 21451645

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.29.2008 at 09:03AM PDT, ID: 21463534

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 09:45AM PDT, ID: 21463918

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 09:52AM PDT, ID: 21463976

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 10:03AM PDT, ID: 21464080

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 02:27PM PDT, ID: 21466357

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 04:28PM PDT, ID: 21467086

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.04.2008 at 10:03PM PDT, ID: 21498195

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628