"none" name device in mount shared folder
"none" name device in mount shared folder
Hi, I installed CentOS 7 on Virtualbox on Yosemite.
I've problem with shared folder, in fact when add a folder (see first attach) it's right, but when I go into Guest (Gest = Guest in attach sorry) and digit mount I see "none" for the name of device (see second attach).
So I don't mount the shared folder... If I go into /media/sf_www I see all my files and folders shared, but I can't mount it.
If I create another shared folder from gui then I see another "none" /media/sf_ ...
WHY?
thanks
I've problem with shared folder, in fact when add a folder (see first attach) it's right, but when I go into Guest (Gest = Guest in attach sorry) and digit mount I see "none" for the name of device (see second attach).
So I don't mount the shared folder... If I go into /media/sf_www I see all my files and folders shared, but I can't mount it.
If I create another shared folder from gui then I see another "none" /media/sf_ ...
WHY?
thanks
- Attachments
-
- It's ok
- Schermata-2015-09-24-alle-22.29.41.jpg (102.22 KiB) Viewed 3694 times
-
- don't work fine, none isn't a name for device
- Schermata-2015-09-24-alle-22.30.31.jpg (111.54 KiB) Viewed 3694 times
Last edited by oscaroxy on 25. Sep 2015, 08:30, edited 2 times in total.
-
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: just about all that run
Re: "none" name device in mount shared folder
If you can see /media/sf_www and it has your files and folders in it, you don't need to mount it. It's already mounted.oscaroxy wrote:So I don't mount the shared folder... If I go into /media/sf_www I see all my files and folders shared, but I can't mount it.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: "none" name device in mount shared folder
yes, you have right, but I would to mount into another folder, like
/var/www/html/... for apache
(EDIT)... maybe, I've thought, I use the symbolic link for my purpose but I would to know if this is a bug or decided or what's it?
thansk for reply
/var/www/html/... for apache
(EDIT)... maybe, I've thought, I use the symbolic link for my purpose but I would to know if this is a bug or decided or what's it?
thansk for reply
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: "none" name device in mount shared folder
Don't use automount. Then you can just define a manual mount where you want.
But keep in mind that the shared folder may not have/implement some advanced file access / locking methods which could be needed if you want to use this folder by an application like a web server.
But keep in mind that the shared folder may not have/implement some advanced file access / locking methods which could be needed if you want to use this folder by an application like a web server.
Re: "none" name device in mount shared folder
maybe I'm missing something ...
I can't mount manually, I've "none" in share folder to /media... that is:
in old CentOS (6.5) I said:
from this I could do:
into /etc/fstab and all was ok.
Where do I mistake?
I can't mount manually, I've "none" in share folder to /media... that is:
Code: Select all
none on /media/sf_www type vboxsf (rw,nodev,relatime)
Code: Select all
www on /media/sf_www type vboxsf (gid=498,rw)
Code: Select all
www /var/www/vhosts/ vboxsf fmode=770,dmode=770,uid=webuser,gid=webuser,iocharset=utf8 0 0
Where do I mistake?
Re: "none" name device in mount shared folder
a... for web server ... yes, I would to use shared folder for apache ...
by symbolic link
this is accesses from root but not user-apache ...
by symbolic link
Code: Select all
ln -s /media/sf_www/ /var/www/vhosts
Re: "none" name device in mount shared folder
about me the key is in "none", that is the shared folder's name...
thanks
thanks
-
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: just about all that run
Re: "none" name device in mount shared folder
FWIW, shared folders may not be able to do what you want. You should set up a true network share.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: "none" name device in mount shared folder
but with CentOS 6.5 work fine, it work what I want...
-
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: just about all that run
Re: "none" name device in mount shared folder
If you are saying that CentOS 6.5 is still running fine then perhaps something changed in CentOS 7?
You should attach the VBox.log (zipped) here.
You should attach the VBox.log (zipped) here.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: "none" name device in mount shared folder
I attached VBox.log and into file I see a row:
so the name is correct "www", but after in mount I see:
why?
How do I do for bypass the problem?
I would to share folder for web server (apache)
Code: Select all
00:12:15.784226 VMMDev: Guest Log: 00:00:00.081894 automount VBoxServiceAutoMountWorker: Shared folder "www" was mounted to "/media/sf_www"
Code: Select all
none on /media/sf_www type vboxsf (rw,nodev,relatime)
How do I do for bypass the problem?
I would to share folder for web server (apache)
- Attachments
-
- VBox.log.zip
- (25.74 KiB) Downloaded 5 times
Re: "none" name device in mount shared folder
I resolved, I removed the automount from host virtualbox and after I mount the shared folder by "/etc/rc.local".
(in guest centos commad line I can't mount manually because I see only "none")
see:
http://www.softeoscar.it/2015/09/virtua ... re-folder/
(in guest centos commad line I can't mount manually because I see only "none")
see:
http://www.softeoscar.it/2015/09/virtua ... re-folder/
-
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: just about all that run
Re: "none" name device in mount shared folder
Glad you found a fix. Hopefully anyone that has the same problem speaks Italian.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: "none" name device in mount shared folder
I'll translate this soon...
Now, I've another problem, when I update a file (page.php) from host then when I run the page in browser I receive an error (SyntaxError: illegal character... it's like I write bad the encoding). If I update the same file from guest by "vi" then the file (page.php) is right, that is into browser work fine without error.
I mount the folder so:
in /etc/rc.local
and mount -l is:
Why?????
thanks
ps eclipse is (see attach):
Now, I've another problem, when I update a file (page.php) from host then when I run the page in browser I receive an error (SyntaxError: illegal character... it's like I write bad the encoding). If I update the same file from guest by "vi" then the file (page.php) is right, that is into browser work fine without error.
I mount the folder so:
Code: Select all
mount -t vboxsf workspace_salcef /var/www/workspace_salcef/ -o fmode=770,dmode=770,uid=webuser,gid=webuser,iocharset=utf8
and mount -l is:
Code: Select all
none on /var/www/workspace_salcef type vboxsf (rw,nodev,relatime)
thanks
ps eclipse is (see attach):
- Attachments
-
- Schermata 2015-10-05 alle 17.02.58 copia.jpg (105.28 KiB) Viewed 3633 times
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: "none" name device in mount shared folder
It's not good etiquette to cross-post...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.