Today I installed a package in Solaris, but the machine which I wanted install in has no CD/DVD rom. I used remote shared DVD rom to install it. Here is the step how to share a DVD ROM for remote machine.
Mounting a Local CD/DVD-ROM
My Solaris can mount DVD-ROM automatically. 🙂 It be mount to /media/Install
If your system need mounting manually, see reference’s description.
Sharing Files from a Remote CD-ROM Drive
- Edit Configuration File: /etc/dfs/dfstab , insert "share -F nfs -o ro,anon=0 /media/Install" into /etc/dfs/dfstab
- Restart nfs servece: svcadm restart svc:/network/nfs/server:default
- Share all resources: "shareall"
- Check: "share"
Access Shared CD-ROM Files
My machine can mount net file system automatically, so I can access it now.(You have better restart autofs service :svcadm restart svc:/system/filesystem/autofs:default)
If your system need mounting manually,
mount -t nfs [NFS Server Name | NFS Server IP]:[directory to share] /mnt-point
Unmount Shared CD-ROM Files