Command line utilities, Ltfs, Mkltfs – HP StoreEver Ultrium Tape Drives User Manual

Page 15: Ltfs mkltfs

Advertising
background image

Command line utilities

ltfs

Mounts the library device as a file system.

Usage: ltfs mountpoint [options]

Example: ltfs /mnt/library -o devname=/dev/sg1

LTFS options

Tape device (default: /dev/changer)

-o devname=<dev>

LTFS work directory (default: /tmp/ltfs)

-o work_directory=<dir>

Enable diagnostic output (same as verbose=3)

-o trace

Eject the cartridge after unmount

-o eject

Specify sync type (default:time@5)
<type> should be specified as follows:

-o sync_type=<type>

time@min: LTFS attempts to write an index each ‘min’ minutes

default:min=5

Skip EOD existence check when mounting (read-only mount). Only use
for a CM corrupted medium.

-o force_mount_no_eod

Advanced help, including standard FUSE options

-a

Output version information and exit

-V, --version

Display this help and exit

-h, --help

FUSE options

Set file permissions (octal)

-o umask=M

Set file owner

-o uid=N

Set file group

-o gid=N

Comments:

Use the operating system's umount command to unmount.

mkltfs

Formats LTO-5 and LTO-6 media for use with LTFS solutions

Configures LTFS options

Usage: mkltfs [device file] [options]

Usage example 1: re-format an LTFS tape when library is not yet mounted, and barcode is
known

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

Usage example 2: re-format an LTFS tape when library is not yet mounted, and user wishes
to select the media to be formatted from a list

mkltfs --device=/dev/sg7

Command line utilities

15

Advertising
This manual is related to the following products: