File corruption when copying different file on raid 1

Posted by Stephan on Server Fault See other posts from Server Fault or by Stephan
Published on 2012-07-06T21:36:04Z Indexed on 2012/07/09 21:18 UTC
Read the original article Hit count: 248

Filed under:
|

I have a RAID 1 configuration of 2 1TB drives on a Fedora 12 box. Most of what is stored there are video files that are numerical labeled. The problem I'm having is that I had one of the video files get corrupted. I copied a replacement from a backup and replaced the bad file and now it works fine. However, after doing this the next numbered file goes from 350MB to 200KB and all but about .5 second of video disappears. If I then replace that file it happens to the next one down the line.

Ex:

Replace corrupt file 1.avi and file 2.avi shrinks to 200KB.
Replace now corrupted 2.avi and it works but 3.avi gets screwed up.

I have run SMART tests on the drives and they report fine. Does anyone have any tests I can run to try to figure out what is going on?

EDIT: It is a two disk software RAID 1 with an ext4 filesystem

© Server Fault or respective owner

Related posts about linux

Related posts about raid1