Showing posts from August, 2011

Virtualbox 4.1 Shared folders on Oracle Linux UEK

Recently, while trying to patch my test RAC database I ran into an issue where I couldn't mount the shared folders in the guest VMs. Neither manual mount or automount were working. I would get the following message when trying to mount the shared folder manually:

[root@racnode2 ~]# mount -t vboxsf orasource /mnt/orastage
mount: wrong fs type, bad option, bad superblock on orasource,
missing codepage or other error
In some cases useful info is found in syslog - try dmesg | tail or so

The tail of dmesg showed the following additional errors: sf_read_super_aux err=-22
sf_read_super_aux err=-22sf_read_super_aux err=-22

After doing a search on Google I finally found this thread in the Virtualbox tickets. Apparently the problem is with Oracle Linux's unbreakable enterprise kernel  2.6.32-200.13.1.el5uek.
The thread lists several workarounds. I did the following to get things working correctly
[root@racnode2 VBOXADDITIONS_4.1.0_73009]# which gmake
[root@racnode2 VBOXA…