Determining available capacity – HP StoreEver Ultrium Tape Drives User Manual

Page 20

Advertising
background image

Media import/export (MSL): To import/export media with the MSL library products while the
library is mounted, use these steps:

Only export media from cartridge slots. Do not use the library’s management tools to
unload a tape drive while the library is mounted as a file system. If the media to be
exported is in a tape drive, first execute a file system operation with another tape, which
will cause the media in the drive to be unloaded.

Using the MSL’s management software or front panel, unlock the cartridge slots.

Open the cartridge slots, and add new media (import), or remove media (export). Close
the cartridge slots.

Wait a few minutes for the library to re-inventory the changes.

Using the command line, use ls to show a directory of the library mount point. This
operation will take several minutes, so be patient.

The ls command will now show any imported media that is LTFS-formatted. Also, any
exported media will no longer be shown in the ls command output.

Media Import/Export (Enterprise libraries): To import/export media from HP Enterprise libraries,
use the library's import/export slots, and the ltfsieutil utility.

'mv' command between tapes: HP StoreOpen Automation does not support moving files or
directories across tape cartridges using the mv command. So commands such as the following
will return an error, as unsupported.

mv /mnt/hp_msl/KR1234L5/photos /mnt/hp_msl/KR5678L5/photos

To successfully move a file or directory across tapes, first copy the data from tape to tape,
then manually delete the file or directory from the first cartridge.

MSL modes of operation: MSL libraries must be placed in either the automatic or random
mode. HP StoreOpen Automation will not work with libraries in sequential mode.

MAC OS X only

Mac OS X's Spotlight will not display the files on HP StoreOpen Automation as a result of
search.

Determining available capacity

To support the du command, StoreOpen Automation reports the aggregated capacity of all tape
cartridges through du. However, the reported capacity is generally not available as a continuous
data space. Please note the following behaviors:

Data can only be written to cartridge directories. that is those directories identified by cartridge
barcodes. Data cannot be written to the volume root (mount point) which contains those
cartridge directories.

When a tape is full, further write operations to that cartridge directory will fail.

Use operating system commands, such as df, to determine available capacity of individual
cartridge directories. The ltfscap utility can also be used to report capacity of the tape
cartridges.

Deleting files from an LTFS file system removes the file from the directory, but does not free
tape capacity. This is normal. To free tape capacity it is generally necessary to reformat the
tape. It is also possible to rollback to an earlier version, erasing history, using ltfsck.

20

Using HP StoreOpen Automation

Advertising
This manual is related to the following products: