Firefly Open Source Community

   Login   |   Register   |
New_Topic

[Linux] mdadm RAID6 causing SATA errors

59

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
59
Posted at 11/15/2022 18:47:00     
  • Type: Self-Compiled Firmware
  • SDK Package Name: rk3588_linux_bsp_release_20221012_v1.0.2a.xml
  • Last Commit: 0000-00-00 00:00:00
  • Modification Content: Added CONFIG_MD=y CONFIG_BLK_DEV_MD=y CONFIG_DM_RAID=y config
  • Log: dmesg.zip
Problem description and steps to reproduce:
Last edited by netthier In 11/15/2022 19:11 Editor

I have 4 HDDs connected via the included SATA cables:
  1. # lsblk
  2. NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
  3. sda            8:0    0  10.9T  0 disk
  4. sdb            8:16   0  10.9T  0 disk
  5. sdc            8:32   0  10.9T  0 disk
  6. sdd            8:48   0  10.9T  0 disk
Copy the code
I ran the long SMART test on all drives and no errors were detected.
After creating a RAID array using
  1. mdadm --create /dev/md0 --level=6 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
Copy the code
The initial resync begins, but gets stuck after a few seconds.
dmesg logs are available here: https://paste.debian.net/hidden/b161164f/

Is this a problem with your SATA cables or the on-board SATA controller? Or maybe a software issue?
I will attempt switching out the cables later today to see if anything changes

Both the board and the drives are powered using an external ATX PSU, so I doubt its a power issue.

Note: last commit in the kernel directory is a95cf55eb5292c66c62fef90bd8d4abb5d776d17
Latest bundle I applied is v1.0.4a



dmesg.zip

2.14 KB, Down times: 1

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list