|Skip Navigation Links|
|Exit Print View|
|System Administration Guide: Devices and File Systems Oracle Solaris 10 1/13 Information Library|
Removable media can be shared with remote systems by using NFS. For additional information about using NFS, see Oracle System Administration Guide: Network Services.
The following procedures are described in this section:
You can configure your system to share its media drives to make any media in those drives available to other systems. One exception is musical CDs. Once your media drives are shared, other systems can access the media they contain simply by mounting them. For instructions, see How to Access Removable Media on Remote Systems.
share -F nfs -o ro /cdrom/sol_10_811_sparc
# svcs *nfs*
The following output is returned from the svcs command if NFS server service is running:
online 14:28:43 svc:/network/nfs/server:default
# svcadm enable network/nfs/server
# svcs -p svc:/network/nfs/server:default STATE STIME FMRI online Aug_30 svc:/network/nfs/server:default Aug_30 319 mountd Aug_30 323 nfsd
If the media is available, its share configuration is displayed.
# share - /cdrom/sol_10_811_sparc sec=sys,ro ""
Example 1-4 Making Local DVDs Available to Other Systems
The following example shows how to make any local DVD available to other systems on the network.
# share -F nfs -o ro /media # svcs *nfs* # svcadm enable network/nfs/server # svcs -p svc:/network/nfs/server:default # share - /cdrom/sol_10_811_sparc ro ""
You can access media on a remote system by manually mounting the media into your file system. Also, the remote system must have shared its media according to the instructions in How to Make Local Media Available to Other Systems.
$ mkdir /directory
where /directory is the name of the directory that you create to serve as a mount point for the remote system's DVD.
$ showmount -e system-name
# mount -F nfs -o ro system-name/:media/media-name local-mount-point
Is the name of the system whose media you will mount.
Is the name of the media you want to mount.
Is the local directory onto which you will mount the remote media.
$ ls /mnt
Example 1-5 Accessing DVDs or CDs on Remote Systems
$ showmount -e starbug export list for starbug: /cdrom/sol_10_811_sparc (everyone) $ ls /net/starbug/cdrom/ /cdrom/sol_10_811_sparc