Page 1 of 1

shared folders are empty

Posted: 30. Nov 2009, 02:19
by drkirkby
I tried asking on the OpenSolaris hosts forum, but have got no response, so I thought I'd try here.

I've got the following setup

Sun Ultra 27 running OpenSolaris 06/2009 as host operating system
Virtualbox 3.0.12 r54655
Solaris 10 update 8 as a guest operating system.
Virtualbox additions installed.
XP virtual machine.

I've shared a couple of directories from the host. When I look at the window where the Solaris 10 host runs, I can see the two shared folders listed. One is the /export/home/drkirkby ZFS file system (my home-directory) from the host machine, which has 75 GB of data in it. I called the share 'homedirectory'. When I mount the share in the Solaris 10 virtual machine, the file system mounts, but the directory appears empty. The OpenSolaris host shows there is a 1.4 TB of space free, and 75 GB used, which is the same as what the guest operating system shows.

Code: Select all

bash-3.00$ su
Password:
# /usr/sbin/mount -F vboxfs  homedirectory /mnt
# ls /mnt
# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0d0s0         58G   3.6G    53G     7%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   2.2G   968K   2.2G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                        58G   3.6G    53G     7%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   2.2G    80K   2.2G     1%    /tmp
swap                   2.2G    24K   2.2G     1%    /var/run
/dev/dsk/c0d0s7        137G    64M   136G     1%    /export/home
/vol/dev/dsk/c1t0d0/vboxadditions_3.0.12_54655
                        31M    31M     0K   100%    /cdrom/vboxadditions_3.0.12_54655
homedirectory          1.4T    75G   1.4T     6%    /mnt
Has anyone got any ideas? It seems odd that the guest knows the size of the folder, knows how much space is used, but can't see any of the files.

Re: shared folders are empty

Posted: 30. Nov 2009, 10:42
by Sasquatch
Please don't cross-post. Stick to one topic. If someone knows the answer, he or she will find your topic. Please continue in your first one. Do note there if your XP VM works properly or not.