LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-11-2015, 09:06 PM   #1
Huamin
Member
 
Registered: May 2011
Posts: 562

Rep: Reputation: 12
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 ~]#
 
Old 10-12-2015, 01:02 AM   #2
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,317
Blog Entries: 3

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Problem to mount shared name

Hi,
Shouldn't you specify the device for dwlnd?
 
Old 10-12-2015, 07:49 AM   #3
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
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.
 
Old 10-12-2015, 08:05 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,370

Rep: Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457
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.
 
Old 10-12-2015, 10:02 AM   #5
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
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
 
Old 10-12-2015, 01:58 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,370

Rep: Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457
Is the virtualbox-guest-utils service running?

Make sure the vboxsf module is loaded
modprobe vboxsf
 
Old 10-13-2015, 03:33 AM   #7
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
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.
 
Old 10-14-2015, 08:21 AM   #8
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,317
Blog Entries: 3

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
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.
 
Old 10-15-2015, 09:34 PM   #9
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
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]#
 
Old 10-17-2015, 02:57 AM   #10
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
Any other help?
 
Old 10-17-2015, 03:15 PM   #11
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,317
Blog Entries: 3

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Problem to mount shared name

Where is your dwlnd located? Not in your home : so use the full path to it!
 
Old 10-18-2015, 03:48 AM   #12
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
"dwnld" is the shared name provided by Windows host, to Red hat guest.

How to resolve the problem in above?
 
Old 10-22-2015, 07:13 AM   #13
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,317
Blog Entries: 3

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Problem to mount shared name

updatedb as root, then locate dwnld?

How is windows sharing that? Samba ?
 
Old 10-22-2015, 08:24 AM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,370

Rep: Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457
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
 
Old 10-24-2015, 03:57 AM   #15
Huamin
Member
 
Registered: May 2011
Posts: 562

Original Poster
Rep: Reputation: 12
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 ~]#
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with mount / fstab to a network shared folder Qlubbie Linux - Server 2 10-24-2011 07:40 AM
Problem to mount windows xp shared dir from Ubuntu coltfire Linux - Server 1 06-29-2010 04:01 PM
How to mount a Windows shared directory and have mount point be owned by nonroot user Arodef Linux - Software 3 09-14-2009 12:23 AM
Mount shared folder with fstab - need help robertpolson Linux - Networking 21 01-26-2007 05:38 PM
How to mount a shared ISO image...? kolt Linux - General 4 03-01-2004 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:49 AM.

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