Tivoli Header

Administrator's Guide


Configuring Removable File Devices

Removable file support includes Iomega ZIP drives and JAZ drives, and CD-ROM drives.

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 the server 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 Tivoli Storage Manager 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 CD-ROM's usable space to allow for a one-to-one match between files from the FILE device class and copies that are on CD-ROM. 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 Tivoli Storage Manager REMOVABLEFILE (CD-ROM) 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
    
  2. 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 also 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 -r -v cdrfs /dev/cd0 /cdrom
     
    

    -r
    Specifies a read-only file system

    -v cdrfs
    Specifies that the media has a CD file system

    /dev/cd0
    Specifies the physical description of the first CD-ROM on the system

    /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 Optical and Other Removable Files Devices. When you define the drive, the server verifies that a valid file system is present.
  4. Define a manual library named CDROM:
    define library cdrom libtype=manual
    
  5. Define the drive in the library:
    define drive cdrom cddrive
    
  6. Define a path from the server to the drive at mount point /cdrom:
    define path serverb cddrive srctype=server desttype=drive 
    library=cdrom device=/cdrom
    

    For more information about paths, see Defining Paths.

  7. Define a device class with a device type of REMOVABLEFILE. The device type must be REMOVABLEFILE.
    define devclass cdrom devtype=removablefile library=cdrom
    
  8. Issue the following Tivoli Storage Manager command to import the node data on the CD-ROM volume CDR03.
    import node user1 filedata=all devclass=cdrom vol=cdr03
    

Labeling Requirements for Optical and Other Removable Files Devices

Tivoli Storage Manager 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 from the CD-ROM as a file that has the same name as the volume label. The software used to copy the FILE device class data must also label the removable media.

The label on the media must meet the following restrictions:


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