LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 09-16-2012, 04:32 AM   #1
pouya7525
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Rep: Reputation: Disabled
centos guest shows shared folder empty


I don't know why centos shows my shared folder empty when it's full of project folders
These are my VM setup:

HOST: windows 7 ultimate 32bit
GUEST: CentOs 6.3 i386
Virtualization soft: Oracle virtualBox 4.1.22
Networking: NAT -> (PORT FORWARD: HOST:8080 => GUEST:80)
Shared Folder: centos

shared folder is set to mount automatically in the boot and my user(root) and apache are members of vboxsf group
 
Old 09-16-2012, 04:49 AM   #2
pouya7525
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I looked at /etc/rc.local and it contains

touch /var/lock/subsys/local

But somebody says it should contain something like:

mount.vboxsf -o uid=500 -o gid=500 <sharename> <sharedirectory>

any idea?

it was working properly recently but suddenly it stops functioning
 
Old 09-16-2012, 05:20 AM   #3
pouya7525
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I noticed that the actual mount statement exists at /etc/rc.d/rc.local and leave the rc.local as it was

so the mount statement is at it's place and folder is mounted automatically so what's wrong here

please help

Last edited by pouya7525; 09-16-2012 at 05:39 AM.
 
Old 09-16-2012, 05:58 AM   #4
pouya7525
LQ Newbie
 
Registered: Sep 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I'm guessing for some reason centos can't see folders in shared folder and VM is working as it should so folders is created in windows7 and not centos. if i type mkdir test and refresh windows i can't see the test folder in windows so windows can't see centos created folders and centos can't see windows folder. i'm lost
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Access Virtualbox Shared Folder From Ubuntu 12.04 Guest Machine LXer Syndicated Linux News 0 06-09-2012 07:00 AM
MyLQ, subscription folder, empty current folder fails with more than 100? threads zhjim LQ Suggestions & Feedback 2 06-08-2012 11:14 AM
Virtualbox could not map shared folder from CentOS host sokha Linux - Virtualization and Cloud 8 07-13-2010 02:41 PM
Auto mount Shared folder in Ubuntu guest in vertualbox. caa1980 Ubuntu 2 09-10-2008 03:15 PM
Samba shows shared folders in Windows but a Guest login pops up when trying to access ciphe Linux - Software 4 08-20-2007 11:55 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration