You must ensure that storage agents can access newly created FILE volumes. To access FILE volumes, storage agents replace names from the directory list in the device class definition with the names in the directory list for the associated path definition.
The following example illustrates the importance of matching device classes and paths to ensure that storage agents can access newly created FILE volumes. Suppose you want to use these three directories for a FILE library:
File volume c:\server\file1.dsm
is created
by SERVER1. If you later change the first directory for the device
class with the following command: update devclass classa directory="c:\otherdir,d:\server,e:\server"
SERVER1
will still be able to access file volume c:\server\file1.dsm, but
the storage agent STA1 will not be able to access it because a matching
directory name in the PATH directory list no longer exists. If a directory
name is not available in the directory list associated with the device
class, the storage agent can lose access to a FILE volume in that
directory. Although the volume will still be accessible from the Tivoli® Storage
Manager server for
reading, failure of the storage agent to access the FILE volume can
cause operations to be retried on a LAN-only path or to fail.
If file volume /usr/tivoli1/file1.dsm is
created on SERVER1, and if the following command is issued, update devclass classa directory="/usr/otherdir,/usr/tivoli2,
/usr/tivoli3"
SERVER1 will still be able to access file
volume /usr/tivoli1/file1.dsm, but the storage agent STA1 will not
be able to access it because a matching directory name in the PATH
directory list no longer exists. If a directory name is not available
in the directory list associated with the device class, the storage
agent can lose access to a FILE volume in that directory. Although
the volume will still be accessible from the Tivoli Storage
Manager server for
reading, failure of the storage agent to access the FILE volume can
cause operations to be retried on a LAN-only path or to fail.
If file volume /opt/tivoli1/file1.dsm
is created on SERVER1, and if the following command is issued, update devclass classa directory="/opt/otherdir,/opt/tivoli2,
/opt/tivoli3"
SERVER1 will still be able to access file
volume /opt/tivoli1/file1.dsm, but the storage agent STA1 will not
be able to access it because a matching directory name in the PATH
directory list no longer exists. If a directory name is not available
in the directory list associated with the device class, the storage
agent can lose access to a FILE volume in that directory. Although
the volume will still be accessible from the Tivoli Storage
Manager server for
reading, failure of the storage agent to access the FILE volume can
cause operations to be retried on a LAN-only path or to fail.