Results 1 to 8 of 8

Thread: RAID 1 file compare errors

  1. #1
    Join Date
    Jul 2020
    Beans
    5

    RAID 1 file compare errors

    I have a Ubuntu mate installation with 2 raid 1 arrays of 4GB each (total 4 4GB drives, Raid arrays were created with mdadm)

    When I copy l(using caja) arge files from either raid array to another disk and then compare the original files to the copies, meld and diff report many compare errors. It seems unlikely that both raid arrays would have bad disks. And I get the same results with more than 1 disk.

    Is there any way to diagnose or fix the problem is, or should I just build another $2K machine and salvage the hardware in this one?

    Motherboard GIGABYTE Z390 UD LGA 1151
    Boot drive Samsung 960 EVO 500GB Solid State Drive
    CPU Intel Core i7-8700K Coffee Lake 6-Core 3.7 GHz
    64GB RAM G.SKILL Aegis 32GB (2 x 16GB) 288-Pin DDR4
    4 Drives WD Red Pro WD4003FFBX 4TB 7200 RPM
    Power Seasonic FOCUS GM-750, 750W 80+ Gold
    Ubuntu mate 18.04.4
    Last edited by hrubin996; July 16th, 2020 at 04:01 PM.

  2. #2
    Join Date
    May 2010
    Beans
    665

    Re: RAID 1 file compare errors

    Are the drives healthy?

  3. #3
    Join Date
    Jul 2020
    Beans
    5

    Re: RAID 1 file compare errors

    @ActionParsnip said "Are the drives healthy? "

    Thanks for the reply.
    Yes, /usr/bin/gnome-disks reports "Disk is OK" for all 4 drives.

  4. #4
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    21,341
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: RAID 1 file compare errors

    Try using other tools for the copy - cp, rsync, some other GUI thingy.
    Is the target file system the same type?

    Could be a failing disk controller or bad cables. Are all the RAID devices connected to the same controller? Do they share an interconnect? eSATA, USB, Infiniband - all in a single cable?

    Basically, simplify and test over and over to eliminate different parts to the "file copy" process. Swap out the parts that can easily be swapped. Simplify and test.

  5. #5
    Join Date
    Jul 2020
    Beans
    5

    Re: RAID 1 file compare errors

    Thanks for the reply and your questions, @TheFu

    1) I tried using cp to copy the files with no improvement
    2) All 4 RAID devices are connected to the same controller on the Motherboard GIGABYTE Z390 UD LGA 1151
    3) They do not share an interconnect
    4) Each of the 4 physical hard drives in the 2 RAID1 arrays has its own SATA cable

    What they have in common:

    All 4 physical hard drives are connected to the same Motherboard GIGABYTE Z390 UD LGA 1151
    All 4 physical hard drives are Western Digital WD Red Pro WD4003FFBX 4TB 7200 RPM
    RAID arrays were created with mdadm on Ubuntu mate 18.04.4

  6. #6
    Join Date
    Jul 2020
    Beans
    5

    Re: RAID 1 file compare errors

    Thanks for the replies. I spent the $$$ and built a new machine and it had the same problem.

    It turns out there's a linux RAID website and mailing list at
    https://raid.wiki.kernel.org/index.php/Linux_Raid

    where I'll continue this discussion

  7. #7
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    21,341
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: RAID 1 file compare errors

    Quote Originally Posted by hrubin996 View Post
    @ActionParsnip said "Are the drives healthy? "

    Thanks for the reply.
    Yes, /usr/bin/gnome-disks reports "Disk is OK" for all 4 drives.
    Use smartctl to see the true SMART data. "Disk is OK" doesn't mean what most people think it means.

  8. #8
    Join Date
    Jul 2020
    Beans
    5

    Re: RAID 1 file compare errors

    memtest86+ revealed that I had a bad stick of RAM G.SKILL Aegis 32GB (2 x 16GB) 288-Pin DDR4
    G.Skill had reasonably fast warranty turnaround and everything is OK now.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •