VirtualBox

Custom Query (16363 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (403 - 405 of 16363)

Ticket Resolution Summary Owner Reporter
#14746 fixed vboxsf Linux guest - File Cache -> Fixed in SVN / 6.0.6 Tom B
Description

I'm using a Linux guest using a basic Arch Linux install (default kernel, very few packages)

I have a problem with file caching in shared folders. Steps to reproduce:

1) GUEST: mount a shared directory: mount -t vboxsf share_name /media/share

2) GUEST: cat /media/share/existing.file <-- Works perfectly, displays the contents of the file from HOST

3) HOST: Write new.file into the shared folder:

4) GUEST: cat /media/share/new.file <-- Works perfectly, displays contents of newly created file

5) GUEST: stat /media/share/non-existing.file <-- As expected displays "no such file or directory"

6) HOST: Write non-existing.file to the shared directory

7) GUEST: cat /media/share/non-existing.file <-- THIS SHOULD WORK NOW AS THE FILE EXISTS BUT INSTEAD SHOWS "No such file or directory"

When typing ls /media-share it shows the file with ??? for permissions, dates, etc.

If the file is written on the host BEFORE trying to access it on the guest it works as expected. If the guest tries to read the file prior to it's existence, the fact it doesn't exist is cached and the guest cannot see the file after it's been created.

This is the same for both windows and linux hosts with this guest.

Running echo 3 > /proc/sys/vm/drop_caches to clear the file cache seems to fix it.

As far as I can tell it's an issue with the file cache. I've tried recompiling the guest's kernel with various options for CONFIG_FSCACHE (arch defaults to =m and the module is not loaded on the guest)

Is there a fix for this?

4) GUEST: cat new.file

#14456 worksforme vboxsf 5.0.2 fails to load in OpenSuse 13.2 denniswbb
Description

I'm running OpenSuse 13.2 3.16.7-24-desktop and can no longer access shared folders with the new (5.x) version of the Linux guest additions in OpenSuse.

The reason is that modprobe vboxsf fails due to the undefined symbols RTLogRelGetDefaultInstance(Ex). A workaround is to remove these two definitions from vboxsf/include/log.h and to redefine the two macros in mangling.h to evaluate to (NULL). After recompiling the and loading the module the shared folders work again.

#20092 duplicate vboxsf (Guest Additions 6.1.16) fails to compile on CentOS 8 Stream (kernel 4.18.0-257) shumkar
Description

Hi.

This issue is similar to https://www.virtualbox.org/ticket/19112.

vboxsf.ko can not be compiled due to error "MS_REMOUNT undeclared".

I fixed it by removing the lines

https://github.com/mdaniel/virtualbox-org-svn-vbox-trunk/blob/88de9c9135ffa2ff100ce64931417aa8144afa76/src/VBox/Additions/linux/sharedfolders/vfsmod.c#L48

and

https://github.com/mdaniel/virtualbox-org-svn-vbox-trunk/blob/88de9c9135ffa2ff100ce64931417aa8144afa76/src/VBox/Additions/linux/sharedfolders/vfsmod.c#L50-L52

in /opt/VBoxGuestAdditions-6.1.16/src/vboxsf/vfsmod.c

and then running 'make' and 'make install' (in src folder).

Screenshot with the error will be attached.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy