Oracle Apps DBA

My photo
More than 5+ Years of IT Experience in administering Enterprise wide Multi Vendor UNIX Servers, Oracle Databases (8i to 11gR2), Middle-tiers, Applications and Clusters. I am a Sun Certified System Administrator (SCSA) for Solaris 10, oracle 10g database certified associate(OCA), Oracle 10g Database certified professional (OCP) and Oracle E-Business suite R12 certified professionl(OCP)

Oracle Database and Applications

Tuesday, 27 January 2015

Creating virtualbox shared folder on Oracle Solaris 11 Guest

This article demonstrates steps for enabling a windows host shared folder to oracle solaris 11 guest operating system in a virtualbox environment. Before reading further please make sure that "guest additions" are already Installed and configured on a guest OS.

1) Create and configure shared folder for a virtual machine:

Create any directory which you want to share at your desired location. I've used "E:\solshare" 



>> Navigate to devices > shared folders


 >> click on icon to add a new shared folder to guest OS


>>  click on "Folder Path" and add the required folder for enabling sharing.


>> check box - If you want to make this shared as permanent and auto-mount enabled. It will be persistent on reboots. 

>> Verify the configuration of shared folder

2) Mount share folder on guest OS (solaris11):

>> Verify the existing mount-points

root@soltest1:~# df -h
Filesystem             Size   Used  Available Capacity  Mounted on
rpool/ROOT/solaris11_sru234

rpool                   98G   5.0M        70G     1%    /rpool
rpool/VARSHARE/zones    98G    31K        70G     1%    /system/zones
rpool/VARSHARE/pkg      98G    32K        70G     1%    /var/share/pkg
rpool/VARSHARE/pkg/repositories
                        98G    31K        70G     1%    /var/share/pkg/repositories
/dev/dsk/c1t1d0s2      6.8G   6.8G         0K   100%    /media/SOL_REPO_11_2
root@soltest1:~# 

>> Mount the share folder using below command

root@soltest1:~# mkdir /solshare
root@soltest1:~# mount -F vboxfs -o uid=1234,gid=5678 solshare /solshare

root@soltest1:~# df -h
Filesystem             Size   Used  Available Capacity  Mounted on

/dev/dsk/c1t1d0s2      6.8G   6.8G         0K   100%    /media/SOL_REPO_11_2
solshare               932G   911G        21G    98%    /solshare
root@soltest1:~# 

In Linux its not required to mount the vbox file system manually. Vbox guest additions will mount the file system.

3) Verify the share is working properly

Now i will create the file in solaris and same files you can use it windows  and military files created in windows can be used by solaris OS.

.


Hope it helps :)

thanks for reading.

regards,
X A H E E R

1 comment:

Sridevi K said...

Regards
Sridevi Koduru (Senior Oracle Apps Trainer Oracleappstechnical.com)
LinkedIn profile - https://in.linkedin.com/in/sridevi-koduru-9b876a8b
Please Contact for One to One Online Training on Oracle Apps Technical, Financials, SCM, SQL, PL/SQL, D2K at training@oracleappstechnical.com | +91 - 9581017828.