VirtualBox

Ticket #2379 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

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

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

Description

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.

Attachments

patch.diff (329 bytes) - added by prekageo on 2008-10-06 14:51:00.
Possible fix

Change History

2008-10-06 14:51:00 changed by prekageo

  • attachment patch.diff added.

Possible fix

2008-10-07 16:28:26 changed 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.

2008-10-24 10:15:53 changed by frank

  • status changed from new to closed.
  • resolution set to fixed.

© 2009 Sun Microsystems, Inc.
ContactPrivacy policy