I am running Opensolaris on a Windows Vista Host. Virtualbox 3.1.2
In Virtualbox I created two shared folders.
One for the files I use in Windows
And one for the external hard drive.
After mounting them everything was working fine and I could save files on the external hard drive and on the Desktop of Windows.
But after restarting I can not access the shared folders anymore.
When I try to mount them the same way I did it the first time I get the following error:
[quote]ueli@Home:~$ pfexec mount -F vboxfs I_DRIVE /export/home/ueli/Desktop/Iomega
mount:I_DRIVE: Invalid argument
ueli@Home:~$ pfexec mount -F vboxfs Admin /export/home/ueli/Desktop/Windows
mount:Admin: Invalid argument
ueli@Home:~$
Can anyone explain why I cannot acces the files after a restart, and why an attempt to mount them again fails?
Regards.
Shared folders not accessible after restart
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Shared folders not accessible after restart
Change the share names and mounts to not have caps, spaces, or characters and see if that works.
-
- Posts: 10
- Joined: 13. Mar 2010, 16:50
- Primary OS: MS Windows Vista
- VBox Version: PUEL
- Guest OSses: Opensolaris
Re: Shared folders not accessible after restart
Thanks for the advice.
I changed all the filenames.
Now it works most of the times if I mount the files straight after reboot,
Sometimes it fails if I first open Opera.
Do I have to mount the shared folders every time after booting the system or is there a way to configure it so that it stays mounted after a reboot?
Best Regards
I changed all the filenames.
Now it works most of the times if I mount the files straight after reboot,
Sometimes it fails if I first open Opera.
Do I have to mount the shared folders every time after booting the system or is there a way to configure it so that it stays mounted after a reboot?
Best Regards
-
- Posts: 10
- Joined: 13. Mar 2010, 16:50
- Primary OS: MS Windows Vista
- VBox Version: PUEL
- Guest OSses: Opensolaris
Re: Shared folders not accessible after restart
Thanks for the advice.
I tried to add a line to the vfstab file but if I enter the mountpoint /export/home/ueli/desktop/documents
the system hangs at startup.
If I enter /mnt/documents it works.
Is there a limitation on what I can mount at startup?
Best Regards
I tried to add a line to the vfstab file but if I enter the mountpoint /export/home/ueli/desktop/documents
the system hangs at startup.
If I enter /mnt/documents it works.
Is there a limitation on what I can mount at startup?
Best Regards
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Shared folders not accessible after restart
Does /export/home/ueli/desktop/documents exist? This is a non-normal setting but if you set it up properly and set the permissions right it should work.
Although my preference is to use /mnt/<mount point> old school.
Although my preference is to use /mnt/<mount point> old school.
-
- Posts: 10
- Joined: 13. Mar 2010, 16:50
- Primary OS: MS Windows Vista
- VBox Version: PUEL
- Guest OSses: Opensolaris
Re: Shared folders not accessible after restart
You mean I should rather use /mnt/documents and make a link on the Desktop if I want it there?
What permission is needed for mouting at startup?
Best Regards
What permission is needed for mouting at startup?
Best Regards
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Shared folders not accessible after restart
Is this the exact way you typed it? /export/home/ueli/desktop/documents
It is case sensitive and documents should be Documents or at least it is in mine.
It is case sensitive and documents should be Documents or at least it is in mine.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Shared folders not accessible after restart
Its still not going to work though
Solaris processes vfstab BEFORE it completes the ZFS mount of my home directory in /export/home which makes solaris stop booting and you will need to edit it. So use the /mnt and add that to the vfstab and it should work.
Edit: create a symlink to this from your desktop folder (in terminal ln -s <full path to share mount>) if you want it to show on the desktop.
Solaris processes vfstab BEFORE it completes the ZFS mount of my home directory in /export/home which makes solaris stop booting and you will need to edit it. So use the /mnt and add that to the vfstab and it should work.
Edit: create a symlink to this from your desktop folder (in terminal ln -s <full path to share mount>) if you want it to show on the desktop.
-
- Posts: 10
- Joined: 13. Mar 2010, 16:50
- Primary OS: MS Windows Vista
- VBox Version: PUEL
- Guest OSses: Opensolaris
Re: Shared folders not accessible after restart
Everything is Working now.
I created a folder /mnt/documents
Then I made an entry in vfstab
"documents - /mnt/documents vboxfs - yes -"
and after that I created a link to the desktop.
Thanks a lot.
Regards
I created a folder /mnt/documents
Then I made an entry in vfstab
"documents - /mnt/documents vboxfs - yes -"
and after that I created a link to the desktop.
Thanks a lot.
Regards