VirtualBox

Opened 16 years ago

Closed 8 years ago

#2285 closed defect (obsolete)

Shared netwok folder that is partly cached by windows casue errors

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

Description (last modified by aeichner)

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 (4)

in reply to:  description comment:1 by Johan Wilfer, 16 years ago

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 by Frank Mehnert, 16 years ago

Component: othershared folders
Guest type: otherLinux
Host type: otherWindows

comment:3 by steolo_digitalemagine, 12 years ago

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 12 years ago by steolo_digitalemagine (previous) (diff)

comment:4 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

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