JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 11.1 Administration: Devices and File Systems     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Managing Removable Media (Tasks)

Managing Removable Media (Overview)

Removable Media Features and Benefits

Comparison of Manual and Automatic Mounting

Overview of Accessing Removable Media

Managing Removable Media

Removable Media Considerations

Formatting Diskettes

How to Load Removable Media

How to Format a Diskette (rmformat)

How to Create a File System on Removable Media

How to Create a File System on a DVD-RAM

How to Check a File System on Removable Media

How to Repair Bad Blocks on Removable Media

Applying Read or Write Protection and Password Protection to Removable Media

How to Enable or Disable Write Protection on Removable Media

How to Enable or Disable Read or Write Protection and Set a Password on Removable Media

Accessing Removable Media

Using Removable Media Names

Guidelines for Accessing Removable Media Data

How to Add a New Removable Media Drive

How to Disable or Enable Removable Media Services

How to Access Information on Removable Media

How to Determine If Removable Media Is Still in Use

How to Eject Removable Media

Accessing Removable Media on a Remote System

How to Make Local Media Available to Other Systems

How to Access Removable Media on Remote Systems

2.  Writing CDs and DVDs (Tasks)

3.  Managing Devices (Tasks)

4.  Dynamically Configuring Devices (Tasks)

5.  Managing USB Devices (Tasks)

6.  Using InfiniBand Devices (Overview/Tasks)

7.  Managing Disks (Overview)

8.  Managing Disk Use (Tasks)

9.  Administering Disks (Tasks)

10.  Setting Up Disks (Tasks)

11.  Configuring Storage Devices With COMSTAR (Tasks)

12.  Configuring and Managing the Oracle Solaris Internet Storage Name Service (iSNS)

13.  The format Utility (Reference)

14.  Managing File Systems (Overview)

15.  Creating and Mounting File Systems (Tasks)

16.  Configuring Additional Swap Space (Tasks)

17.  Copying Files and File Systems (Tasks)

18.  Managing Tape Drives (Tasks)

Index

Accessing Removable Media on a Remote System

Removable media can be shared with remote systems by using NFS. For additional information about using NFS, see Managing Network File Systems in Oracle Solaris 11.1.

The following procedures are described in this section:

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 an administrator.
  2. Confirm that the media is loaded.
  3. Share the media.

    For example, you might type a command similar to the following:

    # share -F nfs -o ro /media/Oracle_Solaris-11_1-AI-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 8.
    • If the NFS server service is not running, go to the next step.
  6. Start the NFS server service.
    # svcadm enable network/nfs/server
  7. 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
  8. Verify that the media is available to other systems.

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

    # share
    -               /media/Oracle_Solaris-11_1-AI-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
-               /media/Oracle_Solaris-11_1-AI-SPARC   ro   ""

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 DVD.

  2. Find the name of the media that you want to mount.
    $ showmount -e system-name
  3. As an administrator, 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 an administrator.
  5. Verify that the media has been mounted.
    $ ls /mnt

Example 1-5 Accessing DVDs or CDs on Remote Systems

The following example shows how to automatically access the remote DVD named Oracle_Solaris-11_1-AI-SPARC from the remote system starbug using autofs.

$ showmount -e starbug
export list for starbug:
/media/Oracle_Solaris-11_1-AI-SPARC (everyone)
$ ls /net/starbug/media/
Oracle_Solaris-11_1-AI-SPARC