01-18-2019, 12:18 PM
"As a workaround I disabled NCQ from kernel by adding libata.force=noncq to kernel command line (to line that says "append" in /boot/extlinux/extlinux.conf). After that I haven't experienced any ATA/SATA errors yet."
Unfortunately, this is not working for me. I am able to create a raid1, but it is degraded, right after creating a filesystem (ext4) on it.
It seems, one disk is thrown off, while creating the filesystem.
I think i should try another sata card.
Unfortunately, this is not working for me. I am able to create a raid1, but it is degraded, right after creating a filesystem (ext4) on it.
It seems, one disk is thrown off, while creating the filesystem.
Code:
sudo mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Fri Jan 18 17:39:52 2019
Raid Level : raid1
Array Size : 5801784320 (5533.01 GiB 5941.03 GB)
Used Dev Size : 5801784320 (5533.01 GiB 5941.03 GB)
Raid Devices : 2
Total Devices : 1
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Fri Jan 18 18:06:48 2019
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
Consistency Policy : unknown
Name : rockpro64:0 (local to host rockpro64)
UUID : 794330d2:d90eb680:9ee17e0e:de6c3317
Events : 8675
Number Major Minor RaidDevice State
- 0 0 0 removed
1 8 17 1 active sync /dev/sdb1
Code:
[ 150.255479] ata2.00: status: { DRDY }
[ 150.255970] ata2: hard resetting link
[ 150.715440] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 150.717721] ata2.00: configured for UDMA/133
[ 150.717792] ata2: EH complete
[ 150.872720] ata2.00: exception Emask 0x10 SAct 0x0 SErr 0x400000 action 0x6 frozen
[ 150.873912] ata2.00: irq_stat 0x08000000, interface fatal error
[ 150.874876] ata2: SError: { Handshk }
[ 150.875472] ata2.00: failed command: WRITE DMA EXT
[ 150.876244] ata2.00: cmd 35/00:40:c0:d4:ca/00:05:59:01:00/e0 tag 16 dma 688128 out
res 50/00:00:c0:d4:ca/00:00:59:01:00/e0 Emask 0x10 (ATA bus error)
I think i should try another sata card.