Logical Domains 1.2 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 5.

    • 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.


    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 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.