software RAID: how do I know which HD has failed?
From: Robert Nagle (idiotprogrammer_at_yahoo.com)
Date: 12/11/03
- Next message: Rex Dieter: "Re: Very strange RAID0 performance"
- Previous message: John Thompson: "Re: Installing printer on Win4Lin"
- Next in thread: Michael Buchenrieder: "Re: software RAID: how do I know which HD has failed?"
- Reply: Michael Buchenrieder: "Re: software RAID: how do I know which HD has failed?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 11 Dec 2003 10:43:40 -0800
Hi, I got a message that one of my 3 drives on RAID 5 array has
failed. Specifically,
*************(from webmin alert)
RAID device options
Device file /dev/md3
RAID level Redundant (RAID5)
Status Active and mounted on /
Persistent superblock? Yes
Parity algorithm left-symmetric
Chunk size 32 kB
Partitions in RAID IDE device A partition 3 (Down)
IDE device E partition 3
IDE device G partition 3
1)How do I know which hard drive inside my server is hard drive A?
(If I replace the wrong hard drive, doesn't that screw up the raid
array permanently?)
2)I have actually 3 different arrays: md1 (boot--raid1), md3 (/ raid
5, the problem RAID) and md4 (/home raid5). Curiously, only hda3 on
md3 seems to be down. Why would one of the only one of the partitions
on hda be down? (Wouldn't it affect the whole disk?). Does that imply
that even in the event of catastrophic failure, md4 (/home
directories) would be perfectly safe?)
Robert Nagle, idiotprogrammer, Texas
http://www.imaginaryplanet.net/weblogs/idiotprogrammer/index.php
# cat /proc/mdstat
Personalities : [raid1] [raid5]
read_ahead 1024 sectors
md1 : active raid1 ide/host2/bus1/target0/lun0/part1[2]
ide/host2/bus0/target0/lun0/part1[1]
ide/host0/bus0/target0/lun0/part1[0]
96256 blocks [2/2] [UU]
md3 : active raid5 ide/host2/bus1/target0/lun0/part3[2]
ide/host2/bus0/target0/lun0/part3[1]
58588800 blocks level 5, 32k chunk, algorithm 2 [3/2] [_UU]
md4 : active raid5 ide/host2/bus1/target0/lun0/part4[2]
ide/host2/bus0/target0/lun0/part4[1]
ide/host0/bus0/target0/lun0/part4[0]
55512448 blocks level 5, 32k chunk, algorithm 2 [3/3] [UUU]
www root # lsraid -a /dev/md3
lsraid: Unable to allocate memory while querying md device
[dev 9, 3] /dev/md3: Cannot allocate memory
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md3 58587008 7710480 50876528 14% /
tmpfs 58587008 7710480 50876528 14%
/var/lib/init.d
/dev/md4 55510748 53822932 1687816 97% /home
none 451716 0 451716 0% /dev/shm
/dev/md3 on / type reiserfs (rw,notail)
proc on /proc type proc (rw)
none on /dev type devfs (rw)
tmpfs on /var/lib/init.d type tmpfs (rw,mode=0644,size=2048k)
/dev/md4 on /home type reiserfs (rw,notail)
none on /dev/shm type tmpfs (rw)
#raid5 for 3 60gig hd
#/boot
raiddev /dev/md1
raid-level 1
nr-raid-disks 2
nr-spare-disks 1
chunk-size 32
persistent-superblock 1
device /dev/hda1
raid-disk 0
device /dev/hde1
raid-disk 1
device /dev/hdg1
spare-disk 0
#note: swap is on hda2, hde2, hdg2
#/ partition
raiddev /dev/md3
raid-level 5
nr-raid-disks 3
nr-spare-disks 0
chunk-size 32
persistent-superblock 1
parity-algorithm left-symmetric
device /dev/hda3
raid-disk 0
device /dev/hde3
raid-disk 1
device /dev/hdg3
raid-disk 2
# /home partition raid5
raiddev /dev/md4
raid-level 5
nr-raid-disks 3
nr-spare-disks 0
persistent-superblock 1
parity-algorithm left-symmetric
chunk-size 32
device /dev/hda4
raid-disk 0
device /dev/hde4
raid-disk 1
device /dev/hdg4
raid-disk 2
- Next message: Rex Dieter: "Re: Very strange RAID0 performance"
- Previous message: John Thompson: "Re: Installing printer on Win4Lin"
- Next in thread: Michael Buchenrieder: "Re: software RAID: how do I know which HD has failed?"
- Reply: Michael Buchenrieder: "Re: software RAID: how do I know which HD has failed?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|