Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 08-18-2016, 03:11 PM   #1
Registered: Aug 2015
Distribution: Ubuntu 16.04 LTS
Posts: 235

Rep: Reputation: 65
[virtualbox] cannot use vdi located on a samba share mounted with gvfs-mount


I'm trying to use a vdi located on a samba share which is mounted with gvfs-mount under /run/user/1000/gvfs/....

I can read and write on this share in nautilus or terminal. So permissions shouldn't be a problem. But when I try to use the vdi as storage device in a VM, I get the following error:

Failed to open the disk image file /run/user/1000/gvfs/smb-share:server=server,share=virtualbox/vm/vm.vdi
under details i get this

Failed to open the disk image file /run/user/1000/gvfs/smb-share:server=server,share=virtualbox/vm/vm.vdi.

Could not open the medium '/run/user/1000/gvfs/smb-share:server=server,share=virtualbox/vm/vm.vdi'.

VD: error VERR_NET_OPERATION_NOT_SUPPORTED opening image file '/run/user/1000/gvfs/smb-share:server=server,share=virtualbox/vm/vm.vdi' (VERR_NET_OPERATION_NOT_SUPPORTED).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MediumWrap
Interface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
Callee: IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945}
Other virtual machines with local vdi's work just fine and when I mount the share with "mount ..." this one too.

What am I doing wrong or is this a known limitation of Virtualbox?

Last edited by hortageno; 08-18-2016 at 03:12 PM.
Old 08-20-2016, 04:07 PM   #2
Registered: Aug 2002
Posts: 18,689

Rep: Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734Reputation: 2734
It might be an incompatibility between virtualbox and gvfs/libsmbclient. libsmbclient allows one to browse shares from a file browser and not sure it is capable. I would stick to using mount.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 12.04 Cronjob failed to mount ftp share using gvfs-mount BlackMoon Linux - Newbie 8 05-15-2014 11:40 AM
LXer: How to mount VirtualBox drive image (vdi) in Ubuntu 12.10/12.04 LXer Syndicated Linux News 0 07-13-2012 05:51 PM
Setting file permissions gvfs-mount samba share? ask Linux - General 1 01-04-2012 09:51 AM
kde, samba shares and gvfs-mount. How to join them? Felipe Linux - Software 6 02-25-2011 06:06 PM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration