Re: Suggestion needed for fixing RAID6

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Janos Haar
Date: Sunday, April 25, 2010 - 3:00 am

----- Original Message ----- 
From: "MRK" <mrk@shiftmail.org>
To: "Janos Haar" <janos.haar@netcenter.hu>
Cc: <linux-raid@vger.kernel.org>
Sent: Sunday, April 25, 2010 12:47 AM
Subject: Re: Suggestion needed for fixing RAID6

Just a little note:

The repair-sync action failed similar way too. :-(



I think i can try:

# dd_rescue -v /dev/zero -S $((2923767944 / 2))k /dev/mapper/cow  -m 4k
dd_rescue: (info): about to transfer 4.0 kBytes from /dev/zero to 
/dev/mapper/cow
dd_rescue: (info): blocksizes: soft 65536, hard 512
dd_rescue: (info): starting positions: in 0.0k, out 1461883972.0k
dd_rescue: (info): Logfile: (none), Maxerr: 0
dd_rescue: (info): Reverse: no , Trunc: no , interactive: no
dd_rescue: (info): abort on Write errs: no , spArse write: if err
dd_rescue: (info): ipos:         0.0k, opos:1461883972.0k, xferd: 
0.0k
                   errs:      0, errxfer:         0.0k, succxfer: 
0.0k
             +curr.rate:        0kB/s, avg.rate:        0kB/s, avg.load: 
0.0%
Summary for /dev/zero -> /dev/mapper/cow:
dd_rescue: (info): ipos:         4.0k, opos:1461883976.0k, xferd: 
4.0k
                   errs:      0, errxfer:         0.0k, succxfer: 
4.0k
             +curr.rate:      203kB/s, avg.rate:      203kB/s, avg.load: 
0.0%



echo 0 $(blockdev --getsize /dev/sde4) \
        snapshot /dev/sde4 /dev/loop3 p 8 | \
        dmsetup create cow

]# losetup /dev/loop3
/dev/loop3: [0901]:55091517 (/snapshot.bin)

/snapshot.bin is a sparse file with 2000G seeked size.
I have 3.6GB free space in / so the out of space is not an option. :-)

I think this is correct. :-)
But anyway, i have pre-tested it with fdisk and works.


For me, this looks like md's bug not dm's problem.
The "uncorrectable read error" means exactly the drive can't correct the 
damaged sector with ECC, and this is an unreadable sector. (pending in smart 
table)
The auto read reallocation failed not meas the sector is not re-allocatable 
by rewriting it!
The most of the drives doesn't do read-reallocation only write-reallocation.

These drives wich does read reallocation, does it because the sector was 
hard to re-calculate (maybe needed more rotation, more repositioning, too 
much time) and moved automatically, BUT those sectors ARE NOT reported to 
the pc as read-error (UNC), so must NOT appear in the log...

I am glad if i can help to fix this but, but please keep this in mind, this 
raid array is a productive system, and my customer gets more and more 
nervous day by day...
I need a good solution for fixing this array to safely replace the bad 
drives without any data lost!

Somebody have any good idea wich is not copy the entire (15TB) array?

Thanks a lot,
Janos Haat


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 22, 3:09 am)
Re: Suggestion needed for fixing RAID6, Mikael Abrahamsson, (Thu Apr 22, 8:00 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 22, 8:12 am)
Re: Suggestion needed for fixing RAID6, Mikael Abrahamsson, (Thu Apr 22, 8:18 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 22, 9:25 am)
Re: Suggestion needed for fixing RAID6, Peter Rabbitson, (Thu Apr 22, 9:32 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 22, 1:48 pm)
Re: Suggestion needed for fixing RAID6, Luca Berra, (Thu Apr 22, 11:51 pm)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Fri Apr 23, 1:47 am)
Re: Suggestion needed for fixing RAID6, MRK, (Fri Apr 23, 5:34 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Sat Apr 24, 12:36 pm)
Re: Suggestion needed for fixing RAID6, MRK, (Sat Apr 24, 3:47 pm)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Sun Apr 25, 3:00 am)
Re: Suggestion needed for fixing RAID6, MRK, (Mon Apr 26, 3:24 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Mon Apr 26, 5:52 am)
Re: Suggestion needed for fixing RAID6, MRK, (Mon Apr 26, 9:53 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Mon Apr 26, 3:39 pm)
Re: Suggestion needed for fixing RAID6, Michael Evans, (Mon Apr 26, 4:06 pm)
Re: Suggestion needed for fixing RAID6, Michael Evans, (Mon Apr 26, 5:04 pm)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Tue Apr 27, 8:50 am)
Re: Suggestion needed for fixing RAID6, MRK, (Tue Apr 27, 4:02 pm)
Re: Suggestion needed for fixing RAID6, Neil Brown, (Tue Apr 27, 6:37 pm)
Re: Suggestion needed for fixing RAID6, Mikael Abrahamsson, (Tue Apr 27, 7:02 pm)
Re: Suggestion needed for fixing RAID6, Neil Brown, (Tue Apr 27, 7:12 pm)
Re: Suggestion needed for fixing RAID6, Mikael Abrahamsson, (Tue Apr 27, 7:30 pm)
Re: Suggestion needed for fixing RAID6, MRK, (Wed Apr 28, 5:57 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Wed Apr 28, 6:32 am)
Re: Suggestion needed for fixing RAID6, MRK, (Wed Apr 28, 7:19 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Wed Apr 28, 7:51 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 29, 12:55 am)
Re: Suggestion needed for fixing RAID6, MRK, (Thu Apr 29, 8:22 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 29, 2:07 pm)
Re: Suggestion needed for fixing RAID6, MRK, (Thu Apr 29, 4:00 pm)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 29, 11:17 pm)
Re: Suggestion needed for fixing RAID6, MRK, (Fri Apr 30, 4:54 pm)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Sat May 1, 2:37 am)
Re: Suggestion needed for fixing RAID6, MRK, (Sat May 1, 10:17 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Sat May 1, 2:44 pm)
Re: Suggestion needed for fixing RAID6, MRK, (Sun May 2, 4:05 pm)
Re: Suggestion needed for fixing RAID6, Neil Brown, (Sun May 2, 7:17 pm)
Re: Suggestion needed for fixing RAID6, Neil Brown, (Sun May 2, 7:29 pm)
Re: Suggestion needed for fixing RAID6, MRK, (Mon May 3, 3:04 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Mon May 3, 3:20 am)
Re: Suggestion needed for fixing RAID6, MRK, (Mon May 3, 3:21 am)
Re: Suggestion needed for fixing RAID6, Neil Brown, (Mon May 3, 2:02 pm)
Re: Suggestion needed for fixing RAID6, Neil Brown, (Mon May 3, 2:04 pm)
Re: Suggestion needed for fixing RAID6 [SOLVED], Janos Haar, (Wed May 5, 8:24 am)