Shared Folders and IPS don't live along each other

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
Carlos Azevedo
Posts: 14
Joined: 3. Jul 2012, 19:02

Shared Folders and IPS don't live along each other

Post by Carlos Azevedo »

I'd like to share my unsuccessful experience in trying to share a Solaris Host IPS repository via VirtualBox Shared Folders.
I'm running Solaris 11.1 SRU 13.6 and VirtualBox 4.2.18.

The Solaris host repository is as follows:

Code: Select all

$ pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F file:///depot/solaris/
solarisstudio               origin   online F file:///depot/studio/

$ zfs list -r -t all /depot/solaris
NAME                           USED  AVAIL  REFER  MOUNTPOINT
rpool/depot/solaris           8.60G   221G  8.60G  /depot/solaris
rpool/depot/solaris@SRU-13.6    81K      -  8.60G  -

$ VBoxManage showvminfo server-1
...
Shared folders:  
Name: 'solaris', Host path: '/depot/solaris' (machine mapping), writable
...
The server-1 Solaris guest is as follows:

Code: Select all

root@server-1:~# grep solaris /etc/vfstab
solaris		-		/depot/solaris	vboxfs	-	yes	-

root@server-1:~# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F file:///depot/solaris/
At first, it seems everything is fine.
But when trying to install a NGZ here's what happens:

Code: Select all

root@server-1:~# zoneadm -z server-1a install -c /var/tmp/server-1a.xml 
The following ZFS file system(s) have been created:
    zone/server-1a
Progress being logged to /var/log/zones/zoneadm.20131210T152549Z.server-1a.install
       Image: Preparing at /zone/server-1a/root.

 AI Manifest: /tmp/manifest.xml.eCa4Lf
  SC Profile: /var/tmp/server-1a.xml
    Zonename: server-1a
Installation: Starting ...

              Creating IPS image
Startup linked: 1/1 done
              Installing packages from:
                  solaris
                      origin:  http://localhost:1008/solaris/f1ad36e27b931157824d442540d7eaa8b2d44067/
              Error occurred during execution of 'generated-transfer-2878-1' checkpoint.
              Failed Checkpoints:
              
              Checkpoint execution error:
              
              	1: Framework error: code: 28 reason: Operation too slow. Less than 1024 bytes/sec transfered the last 30 seconds
              	URL: 'http://localhost:1008/solaris/f1ad36e27b931157824d442540d7eaa8b2d44067/file/1/235c7674d821032ae3eeda280c7837d1f1f4fdb5' (happened 2 times)
              	2: Framework stall:
              	URL: 'http://localhost:1008/solaris/f1ad36e27b931157824d442540d7eaa8b2d44067/file/1/235c7674d821032ae3eeda280c7837d1f1f4fdb5' (happened 2 times)
              
Installation: Failed.  See install log at /system/volatile/install.2878/install_log
ERROR: auto-install failed.
Regards.
Post Reply