I’m using an external USB SSD as my main storage (mounted at /media/ext_storage ), and I keep having issues writing to the external drive (Buffer I/O error).
I’ve tested the drive and external enclosure with other computers (this was used with an x86 libreelec box) and have no problems. My only problem is using the drive with the Odroid N2 under core elec.
This is the output of dmesg coming during the error:
235837.535164@3] usb 2-1.4: USB disconnect, device number 3
[235837.535320@5] blk_update_request: I/O error, dev sda, sector 1475229920
[235837.535330@5] EXT4-fs warning (device sda2): ext4_end_bio:313: I/O error -5 writing to inode 46006410 (offset 24211456 size 364544 starting block 184403829)
[235837.535334@5] Buffer I/O error on device sda2, logical block 184352535
[235837.535345@5] Buffer I/O error on device sda2, logical block 184352536
[235837.535347@5] Buffer I/O error on device sda2, logical block 184352537
[235837.535349@5] Buffer I/O error on device sda2, logical block 184352538
[235837.535352@5] Buffer I/O error on device sda2, logical block 184352539
[235837.535354@5] Buffer I/O error on device sda2, logical block 184352540
[235837.535356@5] Buffer I/O error on device sda2, logical block 184352541
[235837.535357@5] Buffer I/O error on device sda2, logical block 184352542
[235837.535359@5] Buffer I/O error on device sda2, logical block 184352543
[235837.535361@5] Buffer I/O error on device sda2, logical block 184352544
[235837.535630@0] blk_update_request: I/O error, dev sda, sector 1475380296
[235837.535642@0] EXT4-fs warning (device sda2): ext4_end_bio:313: I/O error -5 writing to inode 46006410 (offset 25706496 size 405504 starting block 184422636)
[235837.535872@1] blk_update_request: I/O error, dev sda, sector 812691672
[235837.535878@1] EXT4-fs warning (device sda2): ext4_end_bio:313: I/O error -5 writing to inode 46006342 (offset 0 size 4096 starting block 101586460)
[235837.538388@2] JBD2: Detected IO errors while flushing file data on sda2-8
[235837.538397@2] blk_update_request: I/O error, dev sda, sector 936038776
[235837.538443@2] Aborting journal on device sda2-8.
[235837.538450@2] blk_update_request: I/O error, dev sda, sector 936001576
[235837.538453@2] Buffer I/O error on dev sda2, logical block 116948992, lost sync page write
[235837.538456@2] JBD2: Error -5 detected when updating journal superblock for sda2-8.
[235837.538490@2] EXT4-fs error (device sda2) in __ext4_new_inode:914: Journal has aborted
[235837.538502@2] blk_update_request: I/O error, dev sda, sector 409640
[235837.538504@2] Buffer I/O error on dev sda2, logical block 0, lost sync page write