27.01.2015 Views

HP LTFS Linear Tape File System user guide

HP LTFS Linear Tape File System user guide

HP LTFS Linear Tape File System user guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using <strong>HP</strong> <strong>LTFS</strong> to check the cartridge<br />

Every time a cartridge is mounted onto the system, the <strong>HP</strong> <strong>LTFS</strong> application will perform a consistency<br />

check to ensure that the index information is accurate and up-to-date with the data on the tape. If<br />

for some reason there is a problem, the mount operation will fail.<br />

In order to recover the tape to a consistent state, the ltfsck utility may be used to check and<br />

repair the <strong>LTFS</strong> volume. The options to ltfsck are shown below; the only required parameter is<br />

the device name (e.g. /dev/st0 on Linux) but the behavior of ltfsck can be controlled through<br />

the following:<br />

Usage: ltfsck filesys<br />

where filesys is the device file for the tape drive<br />

–g, —-generation=<br />

–t, -—time=<br />

–r, -—rollback<br />

–n, -—no-rollback<br />

–f, -–full-recovery<br />

-z, --deep-recovery<br />

–l, -–list-rollback-points<br />

–j, -—erase-history<br />

–k, -—keep-history<br />

–q, -—quiet<br />

–a, -—trace<br />

–h, -—help<br />

–p, -—advanced-help<br />

Specify the generation to roll back<br />

Specify the time to rollback. Time value should be "yyyy-mm-dd<br />

HH:MM:SS.nanosec"<br />

Rollback to the point specified by -g or -t<br />

Do not roll back, just verify the point specified by -g or -t (Default)<br />

Recover extra data blocks into directory _ltfs_lostandfound<br />

Recover cartridge which has EOD missing. Note that some blocks may<br />

be erased but recover to final unmount point which has an index version<br />

"2.0.0" or earlier<br />

List rollback points<br />

Erase history at rollback<br />

Keep history at rollback (Rollback)<br />

Suppress informational messages<br />

Enable function call tracing<br />

This help<br />

Full help, including advanced options<br />

NOTE: The -z option should only be necessary when a mount operation has failed and ltfs<br />

has advised that deep recovery is required.<br />

Note also that the "erase history" operation cannot be undone, so this option should be used only<br />

when you are sure that you need it.<br />

16 Troubleshooting

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!