VirtualBox

Opened 9 years ago

Closed 9 years ago

#14233 closed defect (invalid)

Mounting used raw-accessed NTFS partition crashes VBox on Linux guest

Reported by: peci1 Owned by:
Component: VMM/RAW Version:
Keywords: ntfs rawdisk crash Cc:
Guest type: Linux Host type: Windows

Description

Hello, in Windows 7 I created a virtual raw-access VMDK file that should enable me to access one of my NTFS partitions inside the Ubuntu guest.

I start VBox (5.0.0 RC2) as admin in Windows. The virtual drive is attached to SATA, and I really see its partitions in Ubuntu, which read like /dev/sdb1 and so on.

As soon as I type "sudo mount /dev/sdb1 /media/data", VBox crashes.

I consider it important to note that the NTFS partition is being used by Windows at the same time. However, the raw disk creation guide only talks about OSX, where only unmounted partitions can be used. From this I extrapolate that on Windows hosts, mounting even an already host-mounted partition should be okay.

I know using one filesystem from two OSes might sound silly, but as I don't see into the internals of NTFS, it might as well work. My ultimate target is just to have access to files on the NTFS which would be both faster than shared folders, and allowed me to create symlinks (which the CIFS way doesn't support).

Attachments (1)

VBox.log.zip (76.9 KB ) - added by peci1 9 years ago.
logs

Download all attachments as: .zip

Change History (2)

by peci1, 9 years ago

Attachment: VBox.log.zip added

logs

comment:1 by aeichner, 9 years ago

Resolution: invalid
Status: newclosed

The crash is a bug which will be fixed in the final release but what you are trying to achieve will not work. While you can open a physical drive while it is mounted any read or write access will return an error (as seen from the VERR_ACCESS_DENIED errors in the log). NTFS like most other filesystems is not designed to be shared by multiple systems at the same time. I don't know which guide you mean (user manual?) but it does apply to all hosts. The only option I see for your use case is trying whether you can install some NFS server on Windows and mount it from the Linux guest.

P.S.: Please don't use the bug tracker for Betas and RCs but use the appropriate forum thread instead.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use