Ltfsck – HP StoreEver Ultrium Tape Drives User Manual

Page 16

Advertising
background image

Usage example 3: initial LTFS format when library is not yet mounted, and barcode is known

mkltfs –s DG6359L5 --device=/dev/sg7

Usage example 4: configure LTFS for files 100K bytes or smaller to be directed to the index
partition

mkltfs --device=/dev/changer --rules="size=100K"

Available options are:

Tape device (required when library is not yet mounted)

-d, --device=<name>

Tape bar code (8 alphanumeric ASCII characters)

-s, --barcode=<id>

Tape volume name (‘LTFS VOLUME’ by default)

-n, --volume-name=<name>

Rules for choosing files to write to the index partition.
The syntax of the rule argument is:

-r, --rules=<rules>

size=1M

size=1M/name=pattern

size=1M/name=pattern1:pattern2:pattern3

A file is written to the index partition if it is no larger than the given
size AND matches at least one of the name patterns (if specified). The
size argument accepts K, M and G suffixes. Name patterns may contain
the special characters '?' (match any single character) and '*' (match
zero or more characters)

Disallow mount-time data placement policy changes

--no-override

Force reformat of existing LTFS volume (normally prevented)

-f, --force

Suppress progress information and general messages

-q, --quiet

Enable function call tracing

-t, --trace

This help

-h, --help

Full help, including advanced options

-p, --advanced-help

Restore the LTFS medium to an unpartitioned medium (format to a legacy
scratch medium)

-w, --wipe

Set the LTFS record size (default: 524288)

-b, --blocksize=<num>

Disable compression on the volume

-c, --no-compression

Enable full function call tracing (slow)

-x, fulltrace

ltfsck

Repairs an inconsistent volume, if possible

Rollback to a previous instance of the tape index

Usage: ltfsck [options] [device file]

Usage example 1: perform a full recovery of an LTFS tape, when library is not yet mounted,
and barcode is known

ltfsck -b DG6359L5 -f --device=/dev/sg7

16

Using HP StoreOpen Automation

Advertising
This manual is related to the following products: