LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-18-2016, 03:11 PM   #1
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

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


Hi,

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:

Code:
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

Code:
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}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
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
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:38 PM.

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