Logical Domains 1.3 Administration Guide

ProcedureExport a CD or DVD From the Service Domain to the Guest Domain

  1. From the service domain, check whether the volume management daemon, vold(1M), is running and online.

    service# svcs volfs
    STATE          STIME    FMRI
    online         12:28:12 svc:/system/filesystem/volfs:default
  2. Do one of the following.

    • If the volume management daemon is not running or online, go to Step 3.

    • If the volume management daemon is running and online, as in the example in Step 1, do the following:

    1. Edit the /etc/vold.conf file and 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.

    • For the Solaris 10 OS, run the cdrw -l command.

      service# cdrw -l
      Looking for CD devices...
         Node                   Connected Device                 Device type
      /dev/rdsk/c1t0d0s2    | MATSHITA CD-RW  CW-8124   DZ13 | CD Reader/Writer
    • For the OpenSolaris OS, run the rmmount -l command.

      service# rmmount -l
      /dev/dsk/c1t0d0s2    cdrom,cdrom0,cd,cd0,sr,sr0,OpenSolaris,/media/OpenSolaris
  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 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 Export a Virtual Disk Backend Multiple Times for more information.