Support for removable file devices allows portability of media between UNIX systems. It also allows this media to be used to transfer data between systems that support the media. Removable file support allows TSM to read data from a FILE device class that is copied to removable file media through third-party software. The media is then usable as input media on a target TSM server that uses the REMOVABLEFILE device class for input.
Note: | Software for writing CD-ROMs may not work consistently across platforms. |
Use a MAXCAPACITY value that is less than one removable media's usable space to allow for a one-to-one match between files from the FILE device class and copies that are on removable media. Use the DEFINE DEVCLASS or UPDATE DEVCLASS commands to set the MAXCAPACITY parameter of the FILE device class to a value less than 650MB.
Use these steps as an example of TSM REMOVABLEFILE support. This example takes an export object and moves it from one server to another.
Server A
define devclass file devtype=file directory=/home/user1
Export the node. This command results in a file name /home/user1/CDR03 that contains the export data for node USER1.
export node user1 filedata=all devclass=file vol=cdr03
You can use software for writing CD-ROMs to create a CD with volume label CDR03 that contains a single file that is named CDR03.
Server B
mount -F cdfs -o ro,cdcase /dev/dsk/c0t6d0 /cdrom
Note: | CD-ROM drives lock while the file system is mounted. This prevents use of the eject button on the drive. |
define library cdrom libtype=manual
define drive cdrom cddrive device=/cdrom
define devclass cdrom devtype=removablefile library=cdrom
import node user1 filedata=all devclass=cdrom vol=CDR03
TSM does not provide utilities to format or label media for the REMOVABLEFILE device type. You must use another application to copy the FILE device class data to the CD-ROM to a file that has the same name as the volume label. This software also labels the removable media.
The label on the media must meet the following restrictions: