Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
10-11-2015, 09:06 PM
|
#1
|
Member
Registered: May 2011
Posts: 562
Rep: 
|
Problem to mount shared name
Hi,
On the Windows Host I have one shared name called "dwnld", but what to adapt, due to the problem below, when mounting it, within Red-hat guest?
[root@CentOS65x64 ~]# mount -t vboxsf dwnld mountpoint
/sbin/mount.vboxsf: mounting failed with the error: No such file or directory
[root@CentOS65x64 ~]#
|
|
|
10-12-2015, 01:02 AM
|
#2
|
Senior Member
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,440
|
Problem to mount shared name
Hi,
Shouldn't you specify the device for dwlnd?
|
|
|
10-12-2015, 07:49 AM
|
#3
|
Member
Registered: May 2011
Posts: 562
Original Poster
Rep: 
|
I do share the name as "dwnld" from the host. How to deal with the problem in above?
Last edited by Huamin; 10-12-2015 at 08:05 AM.
|
|
|
10-12-2015, 08:05 AM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,853
|
Does mountpoint actually exist as a directory?
The ~ indicates you are in root's home directory. If mountpoint is not a sub-directory to root's home then you need to use the full path. Also make sure you are using the proper case for both the share name and mount point.
|
|
|
10-12-2015, 10:02 AM
|
#5
|
Member
Registered: May 2011
Posts: 562
Original Poster
Rep: 
|
Many thanks.
Yes, "mountpoint" is one existing folder.
But I still get this
[root@CentOS65x64 /]# mount -t vboxsf dwnld mountpoint
/sbin/mount.vboxsf: mounting failed with the error: No such device
|
|
|
10-12-2015, 01:58 PM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,853
|
Is the virtualbox-guest-utils service running?
Make sure the vboxsf module is loaded
modprobe vboxsf
|
|
|
10-13-2015, 03:33 AM
|
#7
|
Member
Registered: May 2011
Posts: 562
Original Poster
Rep: 
|
Many thanks.
should we ensure such service is being started when starting Red hat? If yes, how?
And, sorry to that I get this
[root@CentOS65x64 /]# modprobe vboxsfv
FATAL: Module vboxsfv not found.
[root@CentOS65x64 /]#
Last edited by Huamin; 10-13-2015 at 09:31 AM.
|
|
|
10-14-2015, 08:21 AM
|
#8
|
Senior Member
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,440
|
Problem to mount shared name
The module might be missing... Unless you need to use full path....
And you have to make sure the path for dwlnd is ok : better use the absolute path for it (and for the mountpoint).
Last edited by Tonus; 10-14-2015 at 08:23 AM.
|
|
|
10-15-2015, 09:34 PM
|
#9
|
Member
Registered: May 2011
Posts: 562
Original Poster
Rep: 
|
Why do I get this?
[root@CentOS65x64 bin]# cd /home/
[root@CentOS65x64 home]# mkdir share0
[root@CentOS65x64 home]# mount -t vboxsf dwnld /home/share0
/sbin/mount.vboxsf: mounting failed with the error: No such device
[root@CentOS65x64 home]#
|
|
|
10-17-2015, 02:57 AM
|
#10
|
Member
Registered: May 2011
Posts: 562
Original Poster
Rep: 
|
Any other help?
|
|
|
10-17-2015, 03:15 PM
|
#11
|
Senior Member
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,440
|
Problem to mount shared name
Where is your dwlnd located? Not in your home : so use the full path to it!
|
|
|
10-18-2015, 03:48 AM
|
#12
|
Member
Registered: May 2011
Posts: 562
Original Poster
Rep: 
|
"dwnld" is the shared name provided by Windows host, to Red hat guest.
How to resolve the problem in above?
|
|
|
10-22-2015, 07:13 AM
|
#13
|
Senior Member
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,440
|
Problem to mount shared name
updatedb as root, then locate dwnld?
How is windows sharing that? Samba ?
|
|
|
10-22-2015, 08:24 AM
|
#14
|
Moderator
Registered: Aug 2002
Posts: 26,853
|
It is a virtualbox shared folder. The share is created in virtualbox manager and does not have path.
What version is the version of virtualbox?
Might have to reinstall guest additions.
https://gist.github.com/larsar/1687725
Although just a guess the correct command is:
modprobe vboxsf
|
|
|
10-24-2015, 03:57 AM
|
#15
|
Member
Registered: May 2011
Posts: 562
Original Poster
Rep: 
|
I'm using Vbox 4.3.30
How to re-install Vbox within Red-hat guest Any advice to this
[root@CentOS65x64 ~]# modprobe vboxsf
FATAL: Module vboxsf not found.
[root@CentOS65x64 ~]#
|
|
|
All times are GMT -5. The time now is 07:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|