Go to main content

Oracle® VM Server for SPARC 3.6 Administration Guide

Exit Print View

Updated: September 2019
 
 

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

  1. If the removable media service is running and online, perform the following steps:
    • Oracle Solaris 11 OS: Determine whether the removable media service is running and online.
      service# svcs rmvolmgr
      service# svcs dbus
      service# svcs hal
    • Oracle Solaris 10 OS: Determine 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 removable media service is running and online, perform the following steps:
    • Oracle Solaris 11.3 OS: Insert the CD or DVD in the CD or DVD drive.
    • Oracle Solaris 10 OS, Oracle Solaris 11 OS, Oracle Solaris 11.1 OS, Oracle Solaris 11.2 OS: If the volume management daemon is running and online, 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(5) 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.