Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

System Administration Guide: Devices and File Systems
Previous Next

Accessing Removable Media on a Remote System (Task Map)

The following task map describes the tasks need to access removable media on a remote system.

Task

Description

For Instructions

1. Make local media available to remote systems.

configure your system to share its media drives to make any media in those drives available to other systems.

How to Make Local Media Available to Other Systems

2. Access removable media on remote systems.

Access the remote media on the local system.

How to Access Information on Removable Media

How to Make Local Media Available to Other Systems

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.

  1. Become superuser.
  2. Confirm that the media is loaded.
  3. Add the following entry to the /etc/dfs/dfstab file.

    For example:

    share -F nfs -o ro /media/sol_10_305_SPARC
  4. Determine whether the NFS server service is running.
    # 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
  5. Identify the NFS server status, and select one of the following:
    • If the NFS server service is running, go to Step 7.

    • If the NFS server service is not running, go to the next step.

  6. Start the NFS server service.
    # svcadm enable network/nfs/server

    Verify that the NFS daemons are running.

    For example:

    # 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
  7. Verify that the media is indeed available to other systems.

    If the media is available, its share configuration is displayed.

    # share
    -               /media/sol_10_305_SPARC   sec=sys,ro   ""  
Example 3-3 Making Local DVDs or CDs Available to Other Systems

The following example shows how to make any local DVD or CD available to other systems on the network.

# vi /etc/dfs/dfstab
(Add the following line:)
# share -F nfs -o ro /media
# svcs *nfs*
# svcadm enable network/nfs/server
# svcs -p svc:/network/nfs/server:default
# share
-               /media/sol_10_305_sparc   sec=sys,ro   "" 
Example 3-4 Making Local Diskettes Available to Other Systems

The following example shows how to make any local diskette available to other systems on the network.

# vi /etc/dfs/dfstab
(Add the following line, for example)
share -F nfs -o ro /media/myfiles
# svcs *nfs*
# svcadm enable network/nfs/server
# svcs -p svc:/network/nfs/server:default
# volcheck -v
media was found
# share
-               /media/myfiles   rw   ""  

How to Access Removable Media on Remote Systems

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.

  1. Select an existing directory to serve as the mount point. Or create a mount point.
    $ mkdir /directory

    where /directory is the name of the directory that you create to serve as a mount point for the remote system's CD.

  2. Find the name of the media you want to mount.
    $ showmount -e system-name
  3. As superuser, mount the media.
    # mount -F nfs -o ro system-name:/media/media-name local-mount-point
    system-name:

    Is the name of the system whose media you will mount.

    media-name

    Is the name of the media you want to mount.

    local-mount-point

    Is the local directory onto which you will mount the remote media.

  4. Log out as superuser.
  5. Verify that the media has been mounted.
    $ ls /media
Example 3-5 Accessing DVDs or CDs on Remote Systems

The following example shows how to automatically access the remote DVD named sol_10_305_sparc from the remote system starbug using AutoFS.

$ showmount -e starbug
export list for starbug:
/media/sol_10_305_sparc (everyone)
$ ls /net/starbug/media/
sol_10_305_sparc
Example 3-6 Accessing Diskettes on Other Systems

The following example shows how to automatically access myfiles from the remote system mars using AutoFS.

# showmount -e mars
export list for fractional:
/media/floppy (everyone)
$ cd /net/mars
$ ls media
myfiles
Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire