VirtualBox

Ticket #2285 (new defect)

Opened 6 years ago

Last modified 20 months ago

Shared netwok folder that is partly cached by windows casue errors

Reported by: johanw Owned by:
Priority: major Component: shared folders
Version: VirtualBox 2.0.2 Keywords: windows folder syncronisation
Cc: Guest type: Linux
Host type: Windows

Description

In Windows Vista (and XP I think) there is a feature that allows you to "work offline" and keep a network folder synchronized with a cache on the computer.

If you create a share in Virtualbox for \netdisk\data --> data

If the \netdisk is connected you will see the following when you do a ls -la

root@sirius:/media/data# ls -la
total 89029
drwxrwxrwx 1 johan johan         0 2008-09-20 15:24 .
drwxr-xr-x 5 root  root       4096 2008-09-20 15:11 ..
drwxrwxrwx 1 johan johan         0 2008-09-18 00:05 documents
-rw-rw-rw- 1 johan johan 729288704 2008-09-03 09:11 intrepid-desktop-i386.iso
drwxrwxrwx 1 johan johan         0 2008-08-14 23:14 .lpd
drwxrwxrwx 1 johan johan         0 2008-09-06 15:07 multimedia
drwxrwxrwx 1 johan johan         0 2008-08-17 01:28 .systemfile

However if you disconnect \netdisk the cache will be used, I my case only documents and multimedia is cached so you will ha this:

johan@sirius:/media/data$ ls -la
ls: cannot access .lpd: Protocol error
ls: cannot access .systemfile: Protocol error
ls: cannot access intrepid-desktop-i386.iso: Protocol error
total 1
drwxrwxrwx 1 johan johan 4096 2008-09-18 00:05 documents
?????????? ? ?     ?        ?                ? intrepid-desktop-i386.iso
?????????? ? ?     ?        ?                ? .lpd
drwxrwxrwx 1 johan johan 4096 2008-09-06 15:07 multimedia
?????????? ? ?     ?        ?                ? .systemfile

I guess the ???????? indicates that the folder is currently inaccessible. However the Protocol error's make Nautilus to not display any of the contents in the folder.

A nice feature would also be to display this status (inaccessible) in Nautilus.

I use Ubuntu 7.04

Change History

comment:1 in reply to: ↑ description Changed 6 years ago by johanw

No.

Host type: Windows Vista Component: Shared folder Guest type: Linux Ubuntu 8.04 (not 7.04)

It seems I can't update the report, sorry.

comment:2 Changed 6 years ago by frank

  • Host type changed from other to Windows
  • Component changed from other to shared folders
  • Guest type changed from other to Linux

comment:3 Changed 20 months ago by steolo_digitalemagine

This same error still happens in Windows 7 without the "work offline" mode.

It's exactly the same behaviour as ticket:9887 for Max OSX Host and as you can see there other windows host users are experiencing the same issue.

Also see here:  https://forums.virtualbox.org/viewtopic.php?f=1&t=46417 (and the max thread  https://forums.virtualbox.org/viewtopic.php?f=3&t=46021)

What happens:

sometimes files created in Windows will appear as "red" in the Linux Guest shell, and trying to access will result in an error.

eg.

$ ls -la
?????????? ? ?        ?         ?            ? admin
?????????? ? ?        ?         ?            ? conf

and

$ ls admin
ls: cannot access admin: No such file or directory

restarting the VM or umounting/mounting the folder fixes the issue

[MY VERSION]:

Windows 7 - VirtualBOx 4.1.20 - Ubuntu Guest - LATEST additions

Last edited 20 months ago by steolo_digitalemagine (previous) (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use