No files visible when OS X home dir mounted on Solaris guest

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
nmiller
Posts: 8
Joined: 9. Feb 2010, 22:31
Primary OS: OpenSolaris 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Linux, Solaris 10

No files visible when OS X home dir mounted on Solaris guest

Post by nmiller »

I have VBox 3.1.2 r56127 installed on 10.6.2. My guest is Solaris 10, u8, patched up as of yesterday. Guest additions are installed. Mount points are under my Solaris home dir, and mount point ownership/perms are set to my Solaris 10 UID/GID.

I have two directories shared, one is on an external drive, the other is my OS X home dir. Both are HFS+ and have journaling turned on.

I am able to mount the external volume's directory using the following command:

Code: Select all

mount -F vboxfs -o uid=XXX,gid=XXX externaldir /export/home/myusername/mountpoint
All files are visible and accessible.

When I mount my OS X home dir with the same options, it mounts, but I am unable to see any files under the mount point.

Code: Select all

mount -F vboxfs -o uid=XXX,gid=XXX osxhomedir /export/home/myusername/secondmountpoint
The volume is mounting; issuing "df -kl ." in the mounted directory returns the same results I see on the OS X host side. The only difference between the two I see is that the external volume has "Ignore ownership on this volume" checked. I've tried changing my UID & GID on the Solaris guest to match that on the OS X side, but that did not fix it. Directory and group permissions on the mount point are as expected when the share is mounted. No errors are being logged in the Virtual Box logs for the guest, nor are there any errors in the host or guest log files.

I am working around it by exporting my home dir on the OS X side and mounting in the Solaris guest via NFS. Any ideas or suggestions as to how to get native VBox sharing working for this directory?
--
Edit: More oddities... Poking around in the mount off the external volume links showing up this way:

Code: Select all

%>ls -alt mounpoint/linkname
?rwxrwxrwx   1 nmiller nmiller       7 Oct 22 11:23 mountpoint/linkname
%>file mountpoint/linkname
mountpoint/linkname:        cannot read: Invalid argument
Looks like I'll have to go the NFS route with this directory as well for the time being.
--
TIA.
Post Reply