Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Determining which drive failed in RAID 5 array

Determining which drive failed in RAID 5 array

2005-08-05       - By Daniel Buggie

 Back
Reply:     1     2     3     4  

On Fri, 2005-08-05 at 10:54 -0700, Brian D. McGrew wrote:
> I've got a RAID 5 array with four drives in it.  One of them is failed,
> I look at /proc/mdstat and it shows me 4/3 [UUU_].
>
>  
>
> How do I know which one is faied???
>
>  
>

If you sent out the full output from that command that would have
helped.  However, a couple of things should tell you which one failed.

/proc/mdstat should list out all the partitions currently in the RAID on
the same line that identifies which device it is (md0, md1, etc.).  If
you know which devices should be there that should help.

For example (on a RAID 1):

# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda1[0]
     15880128 blocks [2/1] [U_]

I know that /dev/sdb1 was the other device, so I can work from there.

Also mdadm --detail /dev/md[x] should be able to tell you as well.

# mdadm --detail /dev/md0
/dev/md0:
       Version : 00.90.01
 Creation Time : Tue Aug  2 01:30:19 2005
    Raid Level : raid1
    Array Size : 15880128 (15.14 GiB 16.26 GB)
   Device Size : 15880128 (15.14 GiB 16.26 GB)
  Raid Devices : 2
 Total Devices : 2
Preferred Minor : 0
   Persistence : Superblock is persistent

   Update Time : Tue Aug  2 06:27:21 2005
         State : clean, degraded
 Active Devices : 1
Working Devices : 1
 Failed Devices : 1
 Spare Devices : 0


   Number   Major   Minor   RaidDevice State
      0       8        1        0      active sync   /dev/sda1
      1       0        0       -1      removed
      2       8       17       -1      faulty   /dev/sdb1
          UUID : 44fbd581:ccf5eb3c:db517a25:9b319c57
        Events : 0.799


If you have rebooted though, this will probably all go out the window...
since what was /dev/sdb will probably now be /dev/sda, etc.


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Earn $52 per hosting referral at Lunarpages.