Hey all, since the described issue has also plagued me since the release of LE 11 I would like to share my observations too.
By my experience the HDDs are working fine as long as you don't perform any kind of write/delete action using the built in file manager. Once I do that (mostly to delete obsolete media files) and disconnect the drive I have to perform an error check on my Windows PC before it is recognized by LE again.
Here's a log documenting it:
https://paste.libreelec.tv/hot-bug.log
Apr 09 16:31:24.787715 LibreELEC kernel: usb 2-3.3: USB disconnect, device number 5
Apr 09 16:31:24.788413 LibreELEC kernel: device offline error, dev sdb, sector 6324224 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
Apr 09 16:31:24.788460 LibreELEC kernel: Buffer I/O error on dev sdb2, logical block 786432, lost sync page write
Apr 09 16:31:24.788501 LibreELEC kernel: ntfs3: sdb2: ino=3, ntfs_set_state failed, -5.
Apr 09 16:31:24.788542 LibreELEC kernel: ntfs3: sdb2: Mark volume as dirty due to NTFS errors
Apr 09 16:31:24.788582 LibreELEC kernel: device offline error, dev sdb, sector 6324224 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
Apr 09 16:31:24.788622 LibreELEC kernel: Buffer I/O error on dev sdb2, logical block 786432, lost sync page write
Apr 09 16:31:24.788661 LibreELEC kernel: ntfs3: sdb2: ino=3, ntfs_set_state failed, -5.
Apr 09 16:31:24.788699 LibreELEC kernel: device offline error, dev sdb, sector 6324224 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Apr 09 16:31:24.788739 LibreELEC kernel: device offline error, dev sdb, sector 62336 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 2
Apr 09 16:31:24.788778 LibreELEC kernel: Buffer I/O error on dev sdb2, logical block 3696, lost async page write
Apr 09 16:31:24.788818 LibreELEC kernel: device offline error, dev sdb, sector 5611840 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 2
Apr 09 16:31:24.788858 LibreELEC kernel: Buffer I/O error on dev sdb2, logical block 697384, lost async page write
Apr 09 16:31:24.788905 LibreELEC kernel: device offline error, dev sdb, sector 6318192 op 0x1:(WRITE) flags 0x0 phys_seg 3 prio class 2
Apr 09 16:31:24.788947 LibreELEC kernel: Buffer I/O error on dev sdb2, logical block 785678, lost async page write
Apr 09 16:31:24.788986 LibreELEC kernel: Buffer I/O error on dev sdb2, logical block 785679, lost async page write
Apr 09 16:31:24.789027 LibreELEC kernel: Buffer I/O error on dev sdb2, logical block 785680, lost async page write
Apr 09 16:31:24.789068 LibreELEC kernel: device offline error, dev sdb, sector 6324232 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 2
Apr 09 16:31:24.789106 LibreELEC kernel: Buffer I/O error on dev sdb2, logical block 786433, lost async page write
Apr 09 16:31:24.789147 LibreELEC kernel: device offline error, dev sdb, sector 6327864 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 2
Apr 09 16:31:24.789187 LibreELEC kernel: Buffer I/O error on dev sdb2, logical block 786887, lost async page write
Apr 09 16:31:24.789227 LibreELEC kernel: device offline error, dev sdb, sector 6324224 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
Apr 09 16:31:24.789267 LibreELEC kernel: Buffer I/O error on dev sdb2, logical block 786432, lost sync page write
Apr 09 16:31:24.789306 LibreELEC kernel: ntfs3: sdb2: ino=3, ntfs3_write_inode failed, -5.
Apr 09 16:31:24.789352 LibreELEC kernel: device offline error, dev sdb, sector 6324224 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Apr 09 16:31:24.871600 LibreELEC systemd[1]: Stopping [email protected]...
Apr 09 16:31:24.877567 LibreELEC udevil[1532]: udevil: success running umount as current user
Apr 09 16:31:24.879382 LibreELEC systemd[1]: var-media-extern\x20HD\x2011.mount: Deactivated successfully.
Apr 09 16:31:24.888422 LibreELEC systemd[1]: [email protected]: Deactivated successfully.
Apr 09 16:31:24.888739 LibreELEC systemd[1]: Stopped [email protected].
Display More
Apr 09 16:32:19.497713 LibreELEC kernel: ntfs3: sdb2: It is recommened to use chkdsk.
Apr 09 16:32:19.590493 LibreELEC udevil[1605]: mount: /var/media/extern HD 11: wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program, or other error.
Apr 09 16:32:19.590493 LibreELEC udevil[1605]: dmesg(1) may have more information after failed mount system call.
Apr 09 16:32:19.590924 LibreELEC kernel: ntfs3: sdb2: volume is dirty and "force" flag is not set!
Apr 09 16:32:19.613525 LibreELEC systemd[1]: Finished [email protected].
Is there really no way that LE could handle things like before? Unfortunately formatting the HDDs with a different file system is no option to me ... Thanks for any kind of support!
EDIT before even posting: Here's another try safely removing the device I deleted a file from before switching it off and on again (the faulty sdb2 drive still being active):
https://paste.libreelec.tv/quick-husky.log
This time the drive I deleted a file from (sde2) is recognized upon next startup. And just to prove my point I switched off the drives whithout safely removing them first and voila sde2 doesn't get recognized any more (the follwoing log contains the data from quick husky too):
https://paste.libreelec.tv/desired-chipmunk.log
So maybe this is the resolution to our problems? There might have been a change between LE 11 and 12 though as I faintly remember trying the safe removal before without success.