Ticket #226 (closed defect: invalid)

Opened 6 years ago

Last modified 13 months ago

Storage error: [File chunk write error: No such device]

Reported by: leffeman@gmail.com Owned by: rakshasa
Priority: normal Component: libtorrent
Version: Severity: normal
Keywords: Cc:

Description

libtorrent, rtorrent 0.9.

When downloading a file to a NTFS partition, this message is displayed, and no data is written:

Storage error: [File chunk write error: No such device]

My NTFS partition is mounted using FUSE 2.5.3 and ntfsprogs 1.13.0.

I think this might be because FUSE does not associate devices with mounted filesystems. And certainly not in a global way (no display in mount or df).

Change History

  Changed 6 years ago by anonymous

  • status changed from new to closed
  • resolution set to worksforme

Not my problem[TM], use a less weird setup. ;)

  Changed 6 years ago by leffeman@gmail.com

This is the actual cause:

mmap2(NULL, 262144, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) = -1 ENODEV (No such device)

Checking the FUSE wiki, I come along the  development roadmap which contains the item "Writable shared mmap support".

I tried switching MAP_SHARED with MAP_PRIVATE, and... well, I should have read the manpage a little better, MAP_PRIVATE does not write data to file.

Better wait for FUSE then.

  Changed 4 years ago by dalekinvasion@geeeeemale.com

  • status changed from closed to reopened
  • resolution worksforme deleted

I'm having the same problems, damned if I know how to fix it. Anyone who can please email me.

  Changed 4 years ago by anonymous

The only way to fix it is to wait for FUSE getting writable shared mmap support. Or to use a different filesystem driver, if available.

  Changed 4 years ago by rakshasa

  • status changed from reopened to closed
  • resolution set to invalid

  Changed 4 years ago by anonymous


Same error with ntfs-3g.

follow-up: ↓ 10   Changed 4 years ago by anonymous

Using rtorrent with ntfs-3g should work if you have Linux kernel 2.6.26 or later, where support for shared writable mmap was added in the ntfs-3g implementation.

  Changed 4 years ago by temp_

  • status changed from closed to reopened
  • resolution invalid deleted

I have this problem when downloading to ext3 partition. rtorrent 0.8.2/ libtorrent 0.12.2

  Changed 4 years ago by anonymous

This exact problem, including the "no such device"? Unlikely. What is the message?

in reply to: ↑ 7   Changed 3 years ago by AndrewB

Replying to anonymous:

Using rtorrent with ntfs-3g should work if you have Linux kernel 2.6.26 or later, where support for shared writable mmap was added in the ntfs-3g implementation.

This solution worked for me. Upgraded to 2.6.26-1 from Debian Etch (2.6.18) and can write to all my ntfs drives now.

follow-up: ↓ 12   Changed 3 years ago by anonymous

hope it can be fixed soon, same problem if I write to ntfs drive.

in reply to: ↑ 11   Changed 3 years ago by anonymous

Replying to anonymous:

hope it can be fixed soon, same problem if I write to ntfs drive.

See above your comment, it has already been fixed in Linux 2.6.26.

  Changed 3 years ago by rakshasa

  • status changed from reopened to closed
  • resolution set to invalid

  Changed 16 months ago by anonymous

Using rtorrent with ntfs-3g should work if you have Linux kernel 2.6.26 or later, where support for shared writable mmap was added in the ntfs-3g implementation.

 Christian Louboutin|  Christian Louboutin discount|  Christian Louboutin boots| This solution worked for me. Upgraded to 2.6.26-1 from Debian Etch (2.6.18) and can write to all my ntfs drives now.

  Changed 13 months ago by acketssale@store.com

Hua 110103The keen blue eyes met mine gratefully, and the apple began to vanish in vigorous bites as we talked; for north face jackets sale no one thought of ceremony at such a time.  http://www.rosettasale.com/

Note: See TracTickets for help on using tickets.