Disk corruption on bpi-r2

Is anyone else using bpi-r2 with a 2.5 laptop hdd? I am seeing disc corruption issues. For example I create an ext4 and use it for a little bit, create a few files and then I hit a problem with corruption:

[  932.869694] EXT4-fs error (device sda2): ext4_readdir:237: inode #17451: block 68219: comm scp: path /CAM/cam0/2019: bad entry in directory: rec_len % 4 != 0 - offset=0(0), inode=2, rec_len=59, name_len=0
[  934.332520] Aborting journal on device sda2-8.
[  934.856956] EXT4-fs error (device sda2) in ext4_init_inode_table:1388: IO failure
[  935.197032] EXT4-fs (sda2): Remounting filesystem read-only
[  935.202600] EXT4-fs error (device sda2): ext4_journal_check_start:56: Detected aborted journal
[  935.202604] EXT4-fs (sda2): Remounting filesystem read-only
[  956.411199] EXT4-fs error (device sda2): ext4_readdir:237: inode #17451: block 68219: comm scp: path /CAM/cam0/2019: bad entry in directory: rec_len % 4 != 0 - offset=0(0), inode=2, rec_len=59, name_len=0
[  964.762870] EXT4-fs error (device sda2): ext4_readdir:237: inode #17451: block 68219: comm ash: path /CAM/cam0/2019: bad entry in directory: rec_len % 4 != 0 - offset=0(0), inode=2, rec_len=59, name_len=0

The disk doesn’t need to be heavily used, the board croaks under very light load.

I had the same problem - it was in my case due to not properly soldered SATA socket. I tried to make a case in Sinovoip but they don’t have any will to solve that (exchange more than 10 mails). So I paid by myself to resolder SATA sockets (both) and problem was solved. Did you tried this HDD on another computer/SBC?

Hi @Maciek_Szelagowski,

thanks for your response… Yes, I did try it in a different computer. This is a brand new drive that I had ran extensive fio overnight testing.

When you were getting those errors, we’re you getting any other sata errors on top of ext4 errors?

Thanks

I don’t remember. But I remember I exchanged three drives and all have same problem. After resoldering problem gone. Try to touch SATA socket by finger and check if it’s moving.