Go to main content
Oracle® VM Server for SPARC 3.4 Administration Guide

Exit Print View

Updated: August 2016

How to Export a CD or DVD From the Service Domain to the Guest Domain

  1. From the service domain, check whether the volume management daemon, vold, is running and online.
    service# svcs volfs
    STATE          STIME    FMRI
    online         12:28:12 svc:/system/filesystem/volfs:default
  2. If the volume management daemon is running and online, as in the example in Step 1, do the following:
    1. In the /etc/vold.conf file, comment out the line starting with the following words:
      use cdrom drive....

      See the vold.conf(4) man page.

    2. Insert the CD or DVD in the CD or DVD drive.
    3. From the service domain, restart the volume management file system service.
      service# svcadm refresh volfs
      service# svcadm restart volfs
  3. From the service domain, find the disk path for the CD-ROM device.
    service# cdrw -l
    Looking for CD devices...
       Node                   Connected Device                 Device type
    /dev/rdsk/c1t0d0s2    | MATSHITA CD-RW  CW-8124   DZ13 | CD Reader/Writer
  4. Export the CD or DVD disk device as a full disk.
    primary# ldm add-vdsdev /dev/dsk/c1t0d0s2 cdrom@primary-vds0
  5. Assign the exported CD or DVD to the guest domain.

    The following command shows how to assign the exported CD or DVD to domain ldg1:

    primary# ldm add-vdisk cdrom cdrom@primary-vds0 ldg1

Exporting a CD or DVD Multiple Times

A CD or DVD can be exported multiple times and assigned to different guest domains. See How to Export a Virtual Disk Back End Multiple Times for more information.