Host: Ubuntu 16.10 with VirtualBox 5.1.16 r113841. Extension pack 5.1.16-113841 installed
VM: Debian 8.7 (Jessie), Kernel 3.16.0-4-amd64, Guest additions 5.1.16 installed
When the VM boots, the folder is created in /media correctly but the mount itself doesn't happen. Here is the last chunk of the dmesg output:
The obvious thing that jumps out is the last line complaining that the shared folder is already mounted, but I can't figure out why it thinks that or where the conflict is coming from.[ 2161.010275] vboxguest: misc device minor 59, IRQ 20, I/O port d020, MMIO at 00000000f0400000 (size 0x400000) [ 2161.010277] vboxguest: Successfully loaded version 5.1.16 (interface 0x00010004) [ 2161.018271] [drm] VRAM 00c00000 [ 2161.018644] [TTM] Zone kernel: Available graphics memory: 382138 kiB [ 2161.018645] [TTM] Initializing pool allocator [ 2161.018649] [TTM] Initializing DMA pool allocator [ 2161.018906] fbcon: vboxdrmfb (fb0) is primary device [ 2161.021671] Console: switching to colour frame buffer device 100x37 [ 2161.025436] vboxvideo 0000:00:02.0: fb0: vboxdrmfb frame buffer device [ 2161.025437] vboxvideo 0000:00:02.0: registered panic notifier [ 2161.025441] [drm] Initialized vboxvideo 1.0.0 20130823 for 0000:00:02.0 on minor 0 [ 2163.744351] floppy0: no floppy controllers found [ 2163.744471] work still pending [ 2163.850010] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2163.850584] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX [ 2163.851245] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 2164.048596] RPC: Registered named UNIX socket transport module. [ 2164.048598] RPC: Registered udp transport module. [ 2164.048599] RPC: Registered tcp transport module. [ 2164.048600] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2164.052089] FS-Cache: Loaded [ 2164.058597] FS-Cache: Netfs 'nfs' registered for caching [ 2164.067996] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 2164.627209] vboxsf: Successfully loaded version 5.1.16 (interface 0x00010004) [ 2164.974771] VBoxService 5.1.16 r113841 (verbosity: 0) linux.amd64 (Mar 8 2017 15:55:47) release log 00:00:00.000072 main Log opened 2017-03-09T12:08:56.204955000Z [ 2164.974805] 00:00:00.000138 main OS Product: Linux [ 2164.974820] 00:00:00.000156 main OS Release: 3.16.0-4-amd64 [ 2164.974833] 00:00:00.000169 main OS Version: #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) [ 2164.974851] 00:00:00.000183 main Executable: /opt/VBoxGuestAdditions-5.1.16/sbin/VBoxService 00:00:00.000183 main Process ID: 856 00:00:00.000184 main Package type: LINUX_64BITS_GENERIC [ 2164.975731] 00:00:00.001056 main 5.1.16 r113841 started. Verbose level = 0 [ 2164.983016] 00:00:00.008312 automount vbsvcAutoMountWorker: Shared folder 'vmshare_websvr_t3' already is mounted!
If I turn off the auto mount option in VirtualBox then the /media folder isn't created and the error message doesn't occur either (as expected).
If I try the mount manually I get the following:
Again that's confusing as it's never had to be in fstab before.sudo mount -t vmshare_websvr_t3 /media/sf_vmshare_websvr_t3/ mount: can't find /media/sf_vmshare_websvr_t3/ in /etc/fstab
Can anyone help?
Thanks