Ticket #2379 (closed defect: fixed)

Opened 10 years ago

Last modified 9 years ago

Shared folders - unable to seek beyond 2GB => Fixed in SVN

Reported by: prekageo Owned by:
Priority: major Component: shared folders
Version: VirtualBox 2.0.2 Keywords:
Cc: Guest type: Linux
Host type: Windows


I am using VirtualBox 2.0.2 on Windows XP SP2 running Linux 2.6.18 as a guest OS. When I create a file larger than 2GB I am unable to seek into it past the 2GB point. Using this command works as expected: dd if=/mnt/windows/testfile bs=1k skip=2097151 count=1

But using this command it takes a lot of time to read the record: dd if=/mnt/windows/testfile bs=1k skip=2097152 count=1

The reason is (as shown by strace) that the initial llseek fails so dd tries to read the whole file from the beginning in order to reach the requested record.

The reason is that the field s_maxbytes of super_block struct is not initialized by the vboxvfs module. I have attached a possible fix.


patch.diff Download (329 bytes) - added by prekageo 10 years ago.
Possible fix

Change History

Changed 10 years ago by prekageo

Possible fix

comment:1 Changed 10 years ago by frank

  • Summary changed from Shared folders - unable to seek beyond 2GB to Shared folders - unable to seek beyond 2GB => Fixed in SVN

Fixed, thank you for this report.

comment:2 Changed 9 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use