OpenSolaris 2008.11 Media Management System Administration Guide

Table of Contents

Configuring Media Pools

After the libraries and drives have been added to the MM configuration, MMS can manage the storage resources as a media pool. A media pool is a collection of tape drives or disk archive volumes from one or more libraries.
After the media pools are set up, a client application stores its data in the media pool without having to name specific libraries or drives.

Attributes of a Media Pool
apps Specifies the applications that use this media pool.

Because media pools can contain a mixture of volume types, you must define the types. You use the {{voltype} parameter to specify the types of volumes. It also allows you to specify the default size of the volume.

Attributes of a Volume Type
mediatype Supported types are 9940, 9840, LTO1, LTO2, LTO3,LTO4 and DISK.
size The size, in megabytes, of the volume type

How To Create Volume Types

  1. Display all volumes available to the ACSLS server.

    mmsadm list -t vol -S acslshost :port

  2. For each type of volume, display all volumes of that type.

    mmsadm list -t vol -o mtype=type

    Example: List all volumes in library L700_99987004 of type LT03
      mmsadm list -t vol -o library=L700_99987004 -F mtype=LTO3
    
  3. For each type, create a volume type.

    mmsadm create -t voltype -o size=n -o mediatype=type type_name

    Example:Creating the Volume Type 3V For LT03 Volumes
    mmsadm create -t voltype -o size=15 -o mediatype=LT03 3V
    

How To Create a Media Pool

To create a media pool that all applications can use:

mmsadm create -t mpool pool_name

To create a media pool that only one application can use:

mmsadm create -t mpool -A app_name pool_name

Example:Creating MyPool for use by App1 and App2
mmsadm create -t mpool -A App1,App2 MyPool

To verify a new or changed media pool:

mmsadm list -t mpool

How To Configure a Media Pool

  1. Discover all volumes available to the ACSLS server.

    mmsadm discover -t vol -S acslshost :port

  2. Identify the volumes you want to include in a new media pool.
  3. For each type of volume, create a volume type.
  4. Create the media pool.
  5. List all the volumes.
  6. Add each volume to the media pool.

    mmsadm add-volume -l library -x vol1,vol2,...voln pool_name

  7. Repeat Steps 4 and 5 for each type of volume.