Ubuntu 12.04 transmission-daemon and zfsonlinux: bad file descriptor and corrupt pieces
- by Ivailo Karamanolev
I'm running a Ubuntu 12.04 with zfsonlinux and transmission-daemon.
The issues: sporadic Bad File Descriptor and Piece #xxx is corrupt errors. After I recheck the torrent, everything seems fine. That happens only when downloading: once it's in seeding mode. This only happens after the torrent client has been running for some time.
I installed zfsonlinux from the offical stable ppa (https://launchpad.net/~zfs-native/+archive/stable).
I previously tried running transmission-daemon from the Ubuntu repository, but since I've switched to building the latest transmission from source with the latest libevent (all stable) - same thing.
I've seen bug reports (https://trac.transmissionbt.com/ticket/4147) for that issue, but none of them seem to have a solution. How can I fix these errors, or at least understand where they come from and what I can do to rectify the issue?