Skip to content

Multiple scenarios of file write errors when writing large amount of data over smb #253

@geoleven

Description

@geoleven

This is a general problem.
I have truenas and use it with smb shares. BiglyBT downloads directly to a directory on the share.
A lot of times I am getting problems with the setup.
The most common is in the initial provision of the files (let's say I have a big torrent with multiple gigabyte files and I check for download more than 10 of them). I usually get a disk flush error.
I am not sure which logs to send so I am here to help you.

I realize that the error most probably is not 100% related to biglyBT but also either the specific drivers or java itself. What I would expect as a reasonable solution is a more graceful result. Maybe retry sometimes till you either succeed or fail or offer a multiple choice solution (maybe not the best for user friendliness). Even better if you could see the reason that the problem happens and act accordingly with no error.

My way of fixing it is:

  1. Proactively: provisioning files in a very slow pace (less than 5 per time) but this can get quite tiring.
  2. When I get the error I just requeue the torrent and usually this is enough to fix it.

In more rare cases some file may get corrupt and this means that I need to mark it as for deletion, remark it for download and do a recheck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions