Motrix icon indicating copy to clipboard operation
Motrix copied to clipboard

mac12.2.1版本下软件版本1.6.11设置下载地址为外接移动硬盘提示错误代码#17

Open kingkyle17 opened this issue 2 years ago • 8 comments

Before feedback Before you feedback, please search for the issues to see if there are similar problems that can solve your problem.

Please delete the above and the contents of this line, then fill in the feedback form in the following format, Thanks.

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS & Version: [e.g. macOS, Windows, Linux]
  • Version: [e.g. macOS 10.14.2, Windows 10, Ubuntu 18.04]
  • Motrix Version: [e.g. v1.1.3, v1.1.0]
  • Installation package type: [e.g. dmg, AppImage]

Additional context Add any other context about the problem here.

kingkyle17 avatar Apr 29 '22 10:04 kingkyle17

+1

17 fcntl(F_PREALLOCATE) of 15684490447 failed. cause: Operation not supported

确信U盘空间充足 exFat格式 另外一个NTFS也一样(系统有装NTFS for mac)

silver-chard avatar May 02 '22 06:05 silver-chard

+1

dirypan avatar May 05 '22 03:05 dirypan

这个不是外接硬盘导致的,应该是某度的原因,你把文件保存位置改成电脑的下载应该也是错误17

Vepoe avatar Jun 30 '22 07:06 Vepoe

+1

snowman109 avatar Jul 30 '22 16:07 snowman109

这个不是外接硬盘导致的,应该是某度的原因,你把文件保存位置改成电脑的下载应该也是错误17

并不是。本地硬盘没问题,外接硬盘报错17

edwardfxiao avatar Sep 07 '22 12:09 edwardfxiao

/Applications/Motrix.app/Contents/Resources/engine/aria2.conf 修改里面的 file-allocation=none 记得重启Motrix

LabEnbug avatar Oct 16 '22 01:10 LabEnbug

/Applications/Motrix.app/Contents/Resources/engine/aria2.conf 修改里面的 file-allocation=none 记得重启Motrix

Thanks! it works

edwardfxiao avatar Oct 16 '22 02:10 edwardfxiao

The external USB disk is probably using exFAT, a filesystem that doesn't support "preallocating disk space for files with the modern fallocate way". That is the root reason. And Motrix doesn't have an option in its UI to turn off the "preallocating disk space for files". But fortunately, it is configurable via the configuration file, as the example @LabEnbug presented. The configuration is actually for aria2, so besides none, you can also use prealloc and trunc, which represent filling the space with plain zero and using ftruncate respectively.

Preallocating is recommended for reducing fragment especially when downloading "Bittorrent" onto the FAT-family filesystem.

ckyoog avatar Apr 05 '23 19:04 ckyoog