Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Raid5 always failing one disk on large partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
islmatt
n00b
n00b


Joined: 16 Nov 2005
Posts: 1

PostPosted: Wed Nov 16, 2005 10:23 am    Post subject: Raid5 always failing one disk on large partition Reply with quote

I am setting up an AMD64 system with Raid 5 but have come up against a problem with one disk always failing during the syncing of the disks. I have used three disks in the array and have one spare one that I have swapped out for the "broken" one, and I have swapped all of them around, but one always seem to fail. While I perform more juggling around of what disks are going where I thought I'd ask to see if anyone with experience of Raid 5 knows of a specific problem that exists and why this might be failing the disk all the time. Each SATA disk is the same model, 250GB on an ASUS A8N-SLI motherboard on SATA channels 1, 2 and 3. Here is the information from my setup:

cat /proc/mdstat
Code:
Personalities : [raid1] [raid5]
md7 : active raid5 sdc8[2] sdb8[3](F) sda8[0]
      427553536 blocks level 5, 128k chunk, algorithm 3 [3/2] [U_U]

md6 : active raid5 sdc7[2] sdb7[1] sda7[0]
      12128768 blocks level 5, 32k chunk, algorithm 3 [3/3] [UUU]

md5 : active raid5 sdc6[2] sdb6[1] sda6[0]
      23840256 blocks level 5, 32k chunk, algorithm 3 [3/3] [UUU]

md4 : active raid5 sdc5[2] sdb5[1] sda5[0]
      12128768 blocks level 5, 32k chunk, algorithm 3 [3/3] [UUU]

md2 : active raid5 sdc3[2] sdb3[1] sda3[0]
      8225152 blocks level 5, 32k chunk, algorithm 3 [3/3] [UUU]

md0 : active raid1 sdb1[1] sda1[0]
      104320 blocks [2/2] [UU]

unused devices: <none>



cat /etc/raidtab
Code:
# /boot (RAID 1)
raiddev                 /dev/md0
raid-level              1
nr-raid-disks           2
chunk-size              32
persistent-superblock   1
device                  /dev/sda1
raid-disk               0
device                  /dev/sdb1
raid-disk               1

# / (RAID 5)
raiddev                 /dev/md2
raid-level              5
nr-raid-disks           3
chunk-size              32
persistent-superblock   1
parity-algorithm                right-symmetric
device                  /dev/sda3
raid-disk               0
device                  /dev/sdb3
raid-disk               1
device                  /dev/sdc3
raid-disk               2

# /usr (RAID 5)
raiddev                 /dev/md4
raid-level              5
nr-raid-disks           3
chunk-size              32
persistent-superblock   1
parity-algorithm                right-symmetric
device                  /dev/sda5
raid-disk               0
device                  /dev/sdb5
raid-disk               1
device                  /dev/sdc5
raid-disk               2

# /usr/local (RAID 5)
raiddev                 /dev/md5
raid-level              5
nr-raid-disks           3
chunk-size              32
persistent-superblock   1
parity-algorithm                right-symmetric
device                  /dev/sda6
raid-disk               0
device                  /dev/sdb6
raid-disk               1
device                  /dev/sdc6
raid-disk               2

# /var (RAID 5)
raiddev                 /dev/md6
raid-level              5
nr-raid-disks           3
chunk-size              32
persistent-superblock   1
parity-algorithm                right-symmetric
device                  /dev/sda7
raid-disk               0
device                  /dev/sdb7
raid-disk               1
device                  /dev/sdc7
raid-disk               2

# /var/www (RAID 5)
raiddev                 /dev/md7
raid-level              5
nr-raid-disks           3
chunk-size              128
persistent-superblock   1
parity-algorithm                right-symmetric
device                  /dev/sda8
raid-disk               0
device                  /dev/sdb8
raid-disk               1
device                  /dev/sdc8
raid-disk               2


fdisk -l /dev/sda
Code:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   fd  Linux raid autodetect
/dev/sda2              14         281     2152710   82  Linux swap / Solaris
/dev/sda3             282         793     4112640   fd  Linux raid autodetect
/dev/sda4             794       30401   237826260    5  Extended
/dev/sda5             794        1548     6064506   fd  Linux raid autodetect
/dev/sda6            1549        3032    11920198+  fd  Linux raid autodetect
/dev/sda7            3033        3787     6064506   fd  Linux raid autodetect
/dev/sda8            3788       30401   213776923+  fd  Linux raid autodetect
Back to top
View user's profile Send private message
tgh
Apprentice
Apprentice


Joined: 05 Oct 2005
Posts: 222

PostPosted: Tue Nov 22, 2005 5:18 pm    Post subject: Reply with quote

How many disks do you have installed? And how big is your power supply? (And are you using a power-hungry CPU along with a power-hungry video card?)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum