Ticket #226 (closed defect: invalid)

Opened 4 years ago

Last modified 16 months ago

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

Reported by: leffeman@gmail.com Owned by: rakshasa
Priority: normal Milestone:
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).

Attachments

Change History

  Changed 4 years ago by anonymous

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

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

  Changed 4 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 2 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 2 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 2 years ago by rakshasa

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

  Changed 21 months ago by anonymous


Same error with ntfs-3g.

follow-up: ↓ 10   Changed 21 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.

  Changed 20 months 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 20 months ago by anonymous

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

in reply to: ↑ 7   Changed 19 months 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 16 months ago by anonymous

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

in reply to: ↑ 11   Changed 16 months 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 16 months ago by rakshasa

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

Add/Change #226 (Storage error: [File chunk write error: No such device])

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.