How to share remote CD/DVD ROM in Solaris

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

     umount mnt-point

 

Reference:
http://www.joho.com/sun/ch03/082-085.html
http://www.softpanorama.org/Solaris/Disks_and_filesystems/mounting_cdrom_on_solaris.shtml 

Comments:

'mount' reminds me of animals doing it :-)

Posted by Douche Bag on June 05, 2007 at 10:55 AM CST #

Post a Comment:
Comments are closed for this entry.
About

williamxue

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today