Tivoli Storage Manager for HP-UX Administrator's Guide


Configuring Removable Media Devices (CD-ROM Support)

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.

Example of Removable File Support

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

  1. Define a device class with a device type of FILE.
    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

  1. Follow the manufacturer's instructions to attach the device to your server.
  2. Issue this command on your system to mount the CD-ROM.
    mount -F cdfs -o ro,cdcase /dev/dsk/c0t6d0 /cdrom
     
    

    -F cdfs
    Specifies that the media has a CD file system

    -o
    Specifies the options on the mount

      ro
    Specifies a read-only file system

      cdcase
    Specifies that version numbers do not appear in the file name and file names map to lower case

    /dev/dsk/c0t6/d0
    Specifies the physical description of the CD-ROM on your system

      c0
    Specifies SCSI controller 0

      t6
    Specifies SCSI ID 6

      d0
    Specifies SCSI LUN ID 0

    /cdrom
    Specifies the mount point of the first CD-ROM drive
    Note:CD-ROM drives lock while the file system is mounted. This prevents use of the eject button on the drive.
  3. Ensure that the media is labeled. The software that you use for making a CD also labels the CD. Before you define the drive, you must put formatted, labeled media in the drive. For label requirements, see Labeling Requirements for REMOVABLEFILE Devices (CD-ROM Support). When you define the drive, TSM verifies that a valid file system is present.
  4. Define a library that is named CDROM. The library type must be MANUAL.
    define library cdrom libtype=manual
    
  5. Define a drive that is named CDDRIVE at mount point /cdrom.
    define drive cdrom cddrive device=/cdrom
    
  6. Define a device class with a device type of REMOVABLEFILE. The device type must be REMOVABLEFILE.
    define devclass cdrom devtype=removablefile library=cdrom
    
  7. Issue the following TSM command to import the node data on the CD-ROM volume CDR03:
    import node user1 filedata=all devclass=cdrom vol=CDR03
    

Labeling Requirements for REMOVABLEFILE Devices (CD-ROM Support)

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:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]