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 |
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:
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.
Insert the CD or DVD in the CD or DVD drive.
From the service domain, restart the volume management file system service.
service# svcadm refresh volfs service# svcadm restart volfs |
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 |
Export the CD or DVD disk device as a full disk.
primary# ldm add-vdsdev /dev/dsk/c1t0d0s2 cdrom@primary-vds0 |
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 |
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.