Tivoli Header
Administrator's Guide
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.
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
- 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 also named CDR03.
Server B
- Follow the manufacturer's instructions to attach the device to your
server.
- Sun Solaris automatically mounts the CD as a removable file system, but
the mount options are not correct. Unmount the CD-ROM with the
following command:
umount /cdrom/cdrom0
- Issue this command on your system to mount the CD-ROM.
mount -F hsfs -o ro,nomaplcase,notraildot /vol/dev/dsk/c0t6d0/cdr03 /cdrom/cdr03
- -F hsfs
- Specifies that the media has a CD file system
- -o
- Specifies the options on the mount
- ro
- Specifies a read-only file system
- nomaplcase
- Specifies that file names do not map to lower case
- notraildot
- Specifies that file names do not require a trailing dot when no extension
is present
- /vol/dev/dsk/c0t6d0/cdr03
- Specifies the physical description of the CD-ROM on the system
- c0
- Specifies SCSI controller 0
- t6
- Specifies SCSI ID 6
- d0
- Specifies SCSI LUN ID 0
- cdr03
- Specifies the volume label of the CD
- /cdrom/cdr03
- 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. You must issue the EJECT CDROM
command to remove a CD-ROM from the drive.
- 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.
- Define a manual library named CDROM:
define library cdrom libtype=manual
- Define the drive in the library:
define drive cdrom cddrive
- Define a path from the server to the drive at mount point
/cdrom/cdrom0:
define path serverb cddrive srctype=server desttype=drive
library=cdrom device=/cdrom/cdrom0
For more information about paths, see Defining Paths.
- Define a device class with a device type of REMOVABLEFILE. The
device type must be REMOVABLEFILE.
define devclass cdrom devtype=removablefile library=cdrom
- 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
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:
- No more than 11 characters
- No embedded blanks or periods
- File name must be the same as the volume label
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]