Friday, August 22, 2008

CDROM mounting into a Solaris Zone

To make the cdrom available to a zone, first mount it in the
global zone, then reconfigure the non-global zone:

[curie/mnt/cdrom] zonecfg -z computezone
zonecfg:computezone> add fs
zonecfg:computezone:fs> set dir=/cdrom
zonecfg:computezone:fs> set special=/cdrom
zonecfg:computezone:fs> set type=lofs
zonecfg:computezone:fs> add options [ro,nodevices]
zonecfg:computezone:fs> end
zonecfg:computezone> commit
zonecfg:computezone> exit

reboot the zone and it will be available

No comments: