Mdadm Raid 1 Problems - blk_update_request: I/O error, dev sda, sector

  • Hello,


    I'm currently encountering a problem when setting up my RAID 1 with 2x10TB disks.

    During the resync around 26.5 % I get this error:



    After that during the reboot I end up with this:

    Code
    md127 : active (auto-read-only) raid1 sda1[0] sdd1[1]
    9766302720 blocks super 1.2 [2/2] [UU]
    resync=PENDING
    bitmap: 54/73 pages [216KB], 65536KB chunk



    My current installation is:

    openmediavault_5.5.11-amd64


    here are my command lines I'm bad at linux

    Code
    parted -a optimal /dev/sda mklabel gpt
    parted -a optimal /dev/sda mkpart data01 ext2 2048s 100%
    sgdisk -R=/dev/sdd /dev/sda
    sgdisk -G /dev/sdd
    mdadm --create /dev/md4 --level=1 --raid-devices=2 --metadata=1.2 /dev/sda1 /dev/sdd1



    Can you help me thank you.


    I'm very grateful.

  • Any reason why you are using 10TB drives in a Raid 1


    During the resync around 26.5 % I get this error:

    The error tells you what 1) problem with /dev/sda 2) problem with the port /dev/sda is connected to 3) sata cable in relation to the same drive.

    After that during the reboot I end up with this:

    You rebooted due to the error during the sync/creation process, the output is correctable but it still requires a sync to run

    here are my command lines I'm bad at linux

    Those commands are what? I understand the last one, but do you, and why did you run it? OMV uses the complete block device (drive) to create it's raid.

    It is possible to use partitions but you have to know what you are doing, as all the work is from the command line.

    Raid is not a backup! Would you go skydiving without a parachute?

  • Hello,


    Thank you for your answers.


    Quote

    The error tells you what 1) problem with /dev/sda 2) problem with the port /dev/sda is connected to 3) sata cable in relation to the same drive.

    Why during Raid 1 would I have this problem with the dev/sda port?


    Quote

    Those commands are what? I understand the last one, but do you, and why did you run it? OMV uses the complete block device (drive) to create it's raid.

    It is possible to use partitions but you have to know what you are doing, as all the work is from the command line.


    What do you recommend to use RAID 1 via the web interface?


    Thank you in advance.

  • Why during Raid 1 would I have this problem with the dev/sda port

    This is not about about creating the Raid, the output of the error suggests that there is a hardware related issue.

    What do you recommend to use RAID 1 via the web interface

    I recommend not using a Raid option with such large drives, use one drive for data and the second to run rsync as a scheduled job overnight to make an exact copy of the first.


    The guide here explains how to use that.

    Raid is not a backup! Would you go skydiving without a parachute?

  • Hello,


    Thanks again for your answers.

    Full Disk Mirroring / Backup with Rsync sounds like a great idea.


    I will implement this solution.


    You can close this incident


    Thanks again for your help.

  • geaves

    Added the Label OMV 5.x
  • geaves

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!