Professional Documents
Culture Documents
Larry Coyne
Sandor Alavari
Simon Browne
Chris Hoffmann
Leticia Munoz
Markus Schaefer
ibm.com/redbooks
International Technical Support Organization
February 2013
SG24-8090-00
Note: Before using this information and the product it supports, read the information in “Notices” on
page vii.
This edition applies to Version 1.3.0 of Linear Tape File System (LTFS) Single Drive Edition; Version 2.1.2 of
Linear Tape File System Library Edition; and Version 1.1 of Linear Tape File System Storage Manager.
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
The team who wrote this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Now you can become a published author, too! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Stay connected to IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Contents v
vi IBM Linear Tape File System Installation and Configuration
Notices
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in other countries. Consult
your local IBM representative for information on the products and services currently available in your area. Any
reference to an IBM product, program, or service is not intended to state or imply that only that IBM product,
program, or service may be used. Any functionally equivalent product, program, or service that does not
infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to
evaluate and verify the operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter described in this document. The
furnishing of this document does not grant you any license to these patents. You can send license inquiries, in
writing, to:
IBM Director of Licensing, IBM Corporation, North Castle Drive, Armonk, NY 10504-1785 U.S.A.
The following paragraph does not apply to the United Kingdom or any other country where such
provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION
PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of
express or implied warranties in certain transactions, therefore, this statement may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically made
to the information herein; these changes will be incorporated in new editions of the publication. IBM may make
improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time
without notice.
Any references in this information to non-IBM websites are provided for convenience only and do not in any
manner serve as an endorsement of those websites. The materials at those websites are not part of the
materials for this IBM product and use of those websites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring
any obligation to you.
Any performance data contained herein was determined in a controlled environment. Therefore, the results
obtained in other operating environments may vary significantly. Some measurements may have been made
on development-level systems and there is no guarantee that these measurements will be the same on
generally available systems. Furthermore, some measurements may have been estimated through
extrapolation. Actual results may vary. Users of this document should verify the applicable data for their
specific environment.
Information concerning non-IBM products was obtained from the suppliers of those products, their published
announcements or other publicly available sources. IBM has not tested those products and cannot confirm the
accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the
capabilities of non-IBM products should be addressed to the suppliers of those products.
This information contains examples of data and reports used in daily business operations. To illustrate them
as completely as possible, the examples include the names of individuals, companies, brands, and products.
All of these names are fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
This information contains sample application programs in source language, which illustrate programming
techniques on various operating platforms. You may copy, modify, and distribute these sample programs in
any form without payment to IBM, for the purposes of developing, using, marketing or distributing application
programs conforming to the application programming interface for the operating platform for which the sample
programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore,
cannot guarantee or imply reliability, serviceability, or function of these programs.
The following terms are trademarks of the International Business Machines Corporation in the United States,
other countries, or both:
AIX® Linear Tape File System™ Redbooks (logo) ®
DB2® POWER® System Storage®
IBM® Redbooks® Tivoli®
Intel, Intel logo, Intel Inside logo, and Intel Centrino logo are trademarks or registered trademarks of Intel
Corporation or its subsidiaries in the United States and other countries.
Linux is a trademark of Linus Torvalds in the United States, other countries, or both.
Linear Tape-Open, LTO, Ultrium, the LTO Logo and the Ultrium logo are trademarks of HP, IBM Corp. and
Quantum in the U.S. and other countries.
Microsoft, Windows, and the Windows logo are trademarks of Microsoft Corporation in the United States,
other countries, or both.
Java, and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or its
affiliates.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Other company, product, or service names may be trademarks or service marks of others.
The IBM® Linear Tape File System™ (LTFS) is the first file system that works in conjunction
with Linear Tape-Open (LTO) tape technology to set a new standard for ease of use and
portability for open systems tape storage. In 2011, LTFS won an Engineering Emmy Award
for Innovation from the Academy of Television Arts & Sciences.
This IBM Redbooks® publication helps you install, tailor, and configure the new IBM Linear
Tape File System Single Drive Edition (LTFS SDE), Library Edition (LTFS LE), and Storage
Manager (LTFS SM).
LTFS is a file system that is implemented on dual-partition linear tape (IBM LTO Ultrium 5
tape drives (LTO-5), IBM LTO Ultrium 6 tape drives (LTO-6), and IBM TS1140 tape drives).
LTFS makes tape look and work like any removable media, for example, a USB drive. Files
and directories appear on the desktop as a directory listing. It is now simple to drag files to
and from tape. Any application that is written to use disk files works with the same files on
tape. LTFS SDE supports stand-alone drives only. LTFS LE supports tape libraries. LTFS LE
presents each cartridge in the library as a subdirectory in the LTFS file system. With LTFS LE,
you can list the contents and search all of the volumes in the library without mounting the
volumes by using an in-memory index.
The LTFS SM software solution provides storage lifecycle management of archive files.
Although both the LTFS SDE and the LTFS LE can write data on tape, LTFS SM provides the
interface to manage files of all types in a file system structure. This file system structure
makes the control of the tape library transparent to the user.
This publication is intended for anyone who wants to understand more about IBM Linear Tape
System products and their implementation. This book is suitable for IBM clients, IBM
Business Partners, IBM specialist sales representatives, and technical specialists.
Shawn Brume
Shawn Bramblett
William Peck
Takeshi Ishimoto
Hiroshi Itagaki
Michael Long
Khanh Ngo
Hironobu Nagura
Yumiko Ohta
Setsuko Oka
Bernd Freitag
Harald Seipp
IBM Systems and Technology Group
Emma Jacobs
Graphics, International Technical Support Organization, San Jose Center
Special thanks to William (Bill) Peck for his support, lab equipment, installations, and reviews
for all of the LTFS systems written in this book.
Find out more about the residency program, browse the residency index, and apply online at:
http://www.ibm.com/redbooks/residencies.html
Comments welcome
Your comments are important to us!
We want our books to be as helpful as possible. Send us your comments about this book or
other IBM Redbooks publications in one of the following ways:
Use the online Contact us review Redbooks form found at:
http://www.ibm.com/redbooks
Send your comments in an email to:
redbooks@us.ibm.com
Mail your comments to:
IBM Corporation, International Technical Support Organization
Dept. HYTD Mail Station P099
Preface xi
2455 South Road
Poughkeepsie, NY 12601-5400
With the recent announcement of IBM Linear Tape-Option Ultrium 6 (LTO-6) specifications,
tape storage again provides several advantages to clients over other forms of data storage.
For example, tape storage now provides capacity up to 6.25 TB (compressed) per tape
cartridge in addition to reliability, portability, cost efficiency, and energy efficiency.
Based on the media partitioning capability of the LTO-5 and LTO-6 technology, IBM created
LTFS as a self-describing tape file system, therefore, implementing a true file system for tape.
LTFS can write files directly to tape media by using operating system commands and without
any additional application. The tape drive appears on the operating system as though it is a
USB-attached disk drive. Data can be easily written by dragging and dropping files to or from
a tape drive, therefore, making it practical and easy to use.
LTFS SDE is available for Linux, Apple Mac, and Microsoft Windows systems and is available
free of charge from the IBM Fix Central website. The acronyms LTFS and LTFS SDE are used
interchangeably.
Archival data storage requirements are growing at over 60% annually. The LTFS format is an
ideal option for long-term archiving of large files that need to be easily shared with others.
This option is especially important because the LTO tape media that it uses are designed to
have a 15-year to 30-year lifespan (depending on the number of read/write passes).
Industries that benefit from this tape file system are the banking, digital media, medical,
geophysical, and entertainment industries. Many users in these industries use Linux or
Macintosh systems, which are fully compatible with LTFS.
It is important to note that LTO Ultrium cartridges from earlier LTO generations (that is LTO-1
through LTO-4) are not partitionable and therefore cannot be used by LTFS. If LTO Ultrium 4
cartridges are used in an LTO Ultrium 5 drive to write data, the LTO-4 cartridge is treated like
an unpartitioned LTO-5 cartridge. Even if an application can deal with partitions, it is not
possible to partition the LTO-4 media that is mounted at an LTO Ultrium 5 drive. Similarly,
Write Once Read Many (WORM) cartridges of any generation cannot be used by LTFS
because they cannot be partitioned.
Although TS1140 tape drives are also supported by LTFS SDE version 1.3.0 and later, for
simplicity, only LTO tape drives are discussed.
While LTFS presents the tape cartridge as a disk drive, remember that the underlying
hardware is still a tape cartridge and is therefore sequential in nature. Tape does not allow
random access. Data is always appended to the tape, and there is no overwriting of files. File
deletions do not actually erase the data from tape but simply erase the pointers to the data.
So, although with LTFS, you can simultaneously copy two (or more) files to an LTFS tape, you
get better performance if you copy files sequentially.
To operate the tape file system, the following components are needed:
Software in the form of an open source LTFS package
Hardware, consisting of IBM LTO Ultrium 5 or Ultrium 6 tape drives and tape media
Data structures that are created by LTFS on tape
The following sections provide a more detailed view of the design and implementation of
LTFS:
For index and data partition information, see “Tape partitions” on page 4.
For Filesystem in Userspace (FUSE), see “Filesystem in Userspace (FUSE)” on page 7.
On-tape data structures are defined by the W3C Extensible Markup Language (XML) 1.0
standard and use an XML schema to record the contents of the tape. See “XML schema”
on page 8, and “Example of recording the LTFS XML schemas” on page 9.
IBM maintains the latest levels of tape-related System Storage software, the tape device
driver, the LTFS software package, and documentation on the Internet. Use the Fix Central
download portal:
http://www.ibm.com/support/fixcentral
The older version of the LTFS SDE program (1.0.1.xx or older for Linux and Mac OS X, and
1.1.0 for Windows) supports only LTFS format version 1.0. The latest version of LTFS SDE
(1.2.0.xx or later) supports LTFS format version 2.1.1. Table 1-1 shows a compatibility matrix
for media versions 1.0 and 2.1.1.
Formatting media: The ltfsck utility checks and recovers media (1.7.3, “Checking or
recovering a tape with the ltfsck command” on page 88). The mkltfs utility formats media
(1.7.2, “Formatting a tape with the mkltfs command” on page 86). The ltfsck command in
the older LTFS package cannot be used to check and recover a medium that is formatted
to version 2.1.1. A medium that is formatted to version 2.1.1 cannot be converted to a 1.0
version format. By using the mkltfs command from a 1.0.x LTFS version, you can reformat
the medium to a 1.0 format.
Each partition (if there are two) has a bidirectional serpentine layout and must be an even
number of wraps in size. This way, it begins and ends at Logical-Point LP3 (logical point to
indicate the start of the user data region). See Figure 1-1 on page 5.
Partition 0, which is also called the index partition, is small and allocates two LTO wraps with
about 37.5 GB on native LTO storage capacity. The remaining cartridge capacity, partition 1 -
the data partition, consists of 76 LTO-5 wraps with about 1425 GB of native storage capacity.
An LTFS volume must contain exactly one data partition and exactly one index partition. Both
partitions are separated by a guard band, which is 2.5% of nominal LTO-5 cartridge capacity
(two wraps). Both partitions on the media have the same BOT and EOT. LTO-6 tapes, which
are almost double the size of LTO-5 tapes, have a proportionally larger data partition.
1.1.4 Index
An LTFS index is a snapshot representation of the entire content of the LTFS volume at a
specific point in time. It is written in XML and contains pointers to the location, in the data
partition, of each file and directory that are stored on tape. The primary copy is on the index
partition, but for more security and recoverability, multiple copies are also copied to the data
partition.
When a tape is mounted, the index is read from the drive. LTFS then parses the index file and
creates an in-memory directory structure. The in-memory structure ensures that after a tape
is mounted and the index is read, all tape directories are viewable and searchable without
having to read from tape.
Because there are multiple LTFS indexes on tape, each index has a generation number. A
generation number is a positive integer that increases as changes are made to the tape. In
any consistent LTFS volume, the index with the highest generation number on the volume
represents the current state of the entire volume.
How often an index is written to tape can be set in LTFS as one of these options:
After every file close (which is ideal when you work with large files)
Every 5 minutes (which is the default and good for smaller files)
Only after a tape is unmounted (which can be more risky if tapes are only rarely
unmounted)
Back pointers
A back pointer is an entry in the XML schema for an index file that refers to a previous
generation of an index. It allows LTFS to roll back to any previous generation of an index.
If an index resides in the data partition, the back pointer (shown in red in Figure 1-3 on
page 7) contains the block position of the preceding Index in the data partition. If no
preceding Index exists, no back pointer is stored in this Index. Back pointers are stored within
the Index itself.
If an Index resides in the index partition and has generation number N, the back pointer for
the index contains either the block position of an index that has generation number N in the
data partition, or the block position of the last Index that has at most generation number N-1 in
the data partition. If no index of generation number N-1 or less exists in the data partition, the
Index in the index partition is not required to store a back pointer.
On a consistent volume, the final Index in the index partition must contain a back pointer to
the final index in the data partition.
The FUSE framework provides a file system infrastructure for UNIX technology-type systems
and implements a set of standard file system interfaces to LTFS. The loadable kernel module
and the user-space library offer an API. This way, users can develop their own file systems,
independently of the knowledge of kernel programming.
When an LTFS volume is mounted, the directory information (see 1.1.6, “XML schema” on
page 8) is read from the index partition and placed in the in-memory directory. During I/O tape
operations, the in-memory directory is updated to reflect the new data on tape. At various
times, the contents of the in-memory directory are written back to tape.
Within the Linux system, FUSE can be compiled and loaded similarly to any other daemons.
The FUSE kernel module is responsible for the routing requests that come from applications
to the corresponding file system daemon. In addition, FUSE communicates with the file
system daemon by using a special file descriptor that is obtained by opening the /dev/fuse
directory.
Because tape is a sequential device, access times for data might differ depending on the
position on the tape of the data to be accessed. However, with the current speed of LTO
Ultrium 6 Tape Drives of 160 MBps, the delay is likely less than 60 seconds.
For more information about the XML schema, see this website:
http://www.ibm.com/support/docview.wss?uid=ssg1S7003166&aid=3
When tape media is formatted for use by LTFS, an empty root directory structure is written to
the index partition. For robustness and to provide compatibility with tape utilities that are not
multiple partition aware, the same structure is also written to the data partition. In both cases,
a single file mark is written before the schema. A double file mark is written after it, delimiting
the index schema and indicating the end of data in the partition (Figure 1-3 on page 7).
When an LTFS volume is mounted to write data on, the last file mark in the index partition is
removed and is put back when the volume is unmounted. During mount time, if one file mark
is found at the end of the index partition, the volume is not properly unmounted. Then, LTFS
uses the recovery procedures to find the latest recorded version of the XML schema to get
the volume to a consistent status.
The XML schema contains a back pointer to the index that describes the previous generation
(Gen-1) of the file system, which contains a back pointer to Gen-2, and so on. This pattern
continues until the earliest generation of the index is reached. Although initially conceived of
as a recovery mechanism, this feature allows LTFS to maintain file system versions because
data files are never overwritten or erased from the tape until the tape is reformatted.
Tape labels
LTFS tape labels identify the various tape partitions and indicate data policies and criteria for
placing files in the index partition. They also identify the tape and specify default mount
parameters that might be overridden by the user. The tape label is the only block that is
always written uncompressed to the tape.
After LTFS formats a tape media, the index and data partitions contain a VOL1 label and an
LTFS label. The VOL1 label is in accordance to ANSI Standard X 3.27. It contains
ASCII-encoded characters and is exactly 80 bytes in length. Example 1-1 on page 9 is an
actual VOL1 label.
The LTFS label is based on an XML schema (see 1.1.6, “XML schema” on page 8) and
contains information about the LTFS data partition on which the structure is stored.
Example 1-2 is an example of an actual LTFS label.
2. A small file, called f3, is written. Assuming that LTFS is configured to cache at most one
file, the file is written as soon as it is closed by the application that writes it.
Before LTFS switches partitions, a new XML schema (which is aware of F1 and F2) is
written to the end of the data partition (Figure 1-5). The new Index #1 contains a back
pointer to the previous valid Index #0. It is enclosed by two file marks to indicate the
boundaries of the XML schema and to ensure that its data is written to tape.
Figure 1-5 New index with a back pointer to the previous index
3. LTFS switches the partitions and writes the cached file f3 to the index partition (Figure 1-6
on page 11). The file marks that are used to delimit the previous XML schema (Index #0 at
the index partition) are overwritten by the f3 file.
4. The LTFS volume becomes unmounted. Figure 1-7 shows the partition changes:
– The new XML schema, called Index #2, is aware of the f3 file and is written to the end
of the index partition.
– Index #2 points back to the previous generation Index #1, which is stored in the data
partition. A double file mark is appended to the index partition to indicate the EOD.
5. The data partition XML schema is updated (Figure 1-8 on page 12).
By adding the f3 file to the index partition, Index #1 at the end of the data partition is now
out-of-date. Index #2 is now copied back to the data partition to ensure that both partitions
provide a consistent view of the file system. Adding the f3 file also provides the ability to
roll back to previous generations of the files on the tape.
The actual XML schema on tape can be viewed by using IBM Tape Diagnostic Tool (ITDT) or
the LTFS Format Verifier (see 1.8.1, “IBM LTFS Format Verifier” on page 92). For more
information about ITDT, see this website:
http://www.ibm.com/support/docview.wss?uid=ssg1S4000662
For example, the following ITDT command (on Linux) lists the XML schema for the last index
partition on tape and writes it to the file LastIndexPartition0.xml. See Example 1-3.
The index partition XML schema for the particular layout of the three files is shown in
Example 1-4.
For more information about connectivity and configurations, see the IBM System Storage
Interoperation Center (SSIC) website.
Readme file: The current information for LTFS supported hardware and software
configurations and notices or limitations is in the LTFS program readme file.
ITDT, although not a prerequisite, is invaluable in configuring LTFS and troubleshooting tape
drive issues and needs to be installed.
If any of the modules are not listed, you must load them before you proceed with the LTFS
installation. For more details, see 1.2.4, “Installation procedure” on page 16.
For information about connectivity and supported configurations, see the SSIC website:
http://www.ibm.com/systems/support/storage/ssic/interoperability.wss
Installing FUSE
Complete the following steps to install the required software on a Linux system:
1. Log on as an administrator.
Linux: The installation of an IBM Tape Device Driver is required only for Linux.
Before you install the IBM Tape Device Driver for use with LTFS, complete the following tasks:
1. Connect the tape drive and HBA.
2. Power on the tape drive.
3. Power on the server.
4. Install the tape device driver:
a. Download the most recent version of the IBM Tape Device Driver from the IBM Fix
Central portal (see also “Downloading LTFS” on page 3):
http://www.ibm.com/support/fixcentral
b. Download the IBM Tape Device Drivers Installation and User’s Guide from the IBM
Support and Download site:
http://www.ibm.com/support/docview.wss?rs=577&uid=ssg1S7002972
c. Follow the procedures in the IBM Tape Device Drivers Installation and User’s Guide
(summarized) to install the IBM Tape Device Driver (Example 1-5).
# vi /etc/modprobe.d/unsupported-modules
# /etc/init.d/lin_tape restart
Shutting down lin_tape:
Starting lin_tape:
# cat /proc/scsi/IBM*
lin_tape version: 1.74.0
lin_tape major number: 251
When the LTFS commands are used, error and trace information is recorded by using the
system log mechanism. This mechanism is disabled by default. To enable the LTFS system
log and locate more information about LTFS logs, follow these steps:
1. Log on to the operating system as root.
2. Edit the system log configuration file on any available editor to enable the system log.
Apply one of the following edits, depending on your base system. See Example 1-6.
For RHEL 6.1, 6.2, or SLES 11 add the following line to /etc/rsyslog.conf
:msg, contains, "LTFS" /var/log/ltfs.log
3. Enable the setting by restarting syslog (for RHEL 5.6, 5.7, or 5.8) or ryslog (for RHEL 6.1,
6.2, or SLES 11) and by issuing the following command:
/etc/init.d/syslog restart
4. Open the /etc/logrotate.d/syslog file on any available editor. See Example 1-7. Add or
edit the following lines.
4. Optionally, run the following command to verify the current version of LTFS:
rpm -qa | grep ltfs
Important: Eject media from the LTFS drives before you uninstall LTFS to avoid losing
data in the cache.
LTFS supports the following Mac operating systems and hardware platforms:
Supported Mac operating systems:
– Mac OS X 10.5.6 Leopard (32 bit)
– Mac OS X 10.6.7 Snow Leopard (32 bit)
– OS X 10.7 Lion (32 bit and 64 bit)
Supported hardware:
– Mac Pro (Intel)
– x86 processor
– 1-GB available RAM for each 1,000,000 files that are stored on a particular tape
– FC HBA that is supported by IBM LTO-5, LTO-6, and TS1140 tape drives
– SAS HBA that is supported by IBM LTO- 5 and LTO-6 tape drives
For more information about connectivity and configurations, see the SSIC website:
http://www.ibm.com/systems/support/storage/config/ssic
Readme file: The current information for LTFS supported hardware and software
configurations and notices or limitations is in the LTFS program readme file.
1.3.2 Prerequisites
You need to install this software before you install LTFS. LTFS has the following requirements:
OSXFUSE 2.3.9 or later (included in the LTFS package)
International Components for Unicode (ICU) Framework 4.8.1.1 (included in the LTFS
package)
For more information about connectivity and configurations, see the SSIC website:
http://www-03.ibm.com/systems/support/storage/config/ssic/
Installing OSXFUSE
Tip: To help isolate problems, use the default log viewer of the operating system to sort
and filter log entries.
Complete the following steps to install the required software on a Mac OS X system:
1. Log on as an administrator.
2. The OSXFUSE 2.3.9 Apple Disk Image file is included as part of the LTFS installation
package. It can also be downloaded from http://osxfuse.github.com/ if required.
3. Mount the downloaded Apple Disk Image file (for example, OSXFUSE-2.5.2.dmg) by
double-clicking the file.
4. Install the OSXFUSE package by double-clicking the OSXFUSE.pkg file in the mounted
folder.
5. Follow the Installer utility instructions. To proceed with the installation, click Install
OSXFUSE on the FUSE for OS X window as shown in Figure 1-9 on page 22.
6. The Welcome to the OSXFUSE Installer window opens (Figure 1-10). Click Continue.
8. A pop-up window opens that prompts you to agree or not to the terms of the Software
License Agreement. To continue the OSXFUSE installation process, click Agree as shown
in Figure 1-12 and then click Continue.
10. The next window shows you the amount of disk space that is needed for the installation of
OSXFUSE 2.3.9. Click Install if you want to proceed with the installation. See Figure 1-14.
12. After you click Install, the completion message of the OSXFUSE installation process
appears. See Figure 1-16.
4. In the Software License Agreement window, read the software terms and then click
Continue. See Figure 1-18 for reference.
6. To continue with the installation procedure, click Install as shown in Figure 1-20.
7. Enter the administrator password and click Install Software as shown in Figure 1-21.
Error information for LTFS operations is displayed on the terminal console. The level of error
reporting is based on the log trace level. To set the log trace level, go to the LTFS Information
Center at the following address and search for “setting log trace level”:
http://publib.boulder.ibm.com/infocenter/ltfs/cust/index.jsp
When the ltfs command is used, error and trace information is recorded by using the system
log mechanism. This mechanism is disabled by default. To enable the system log, complete
the following steps:
1. Log on to the operating system as a root user.
2. Edit the system log configuration file on any available editor to enable the system log, and
add the following line to /etc/syslog.conf:
user.* /var/log/userlog
3. Enable the setting by rebooting syslog and issuing the following command:
launchctl stop com.apple.syslog
4. Open the /etc/newsyslog.conf file in any available editor, and add or edit the following
line:
/var/log/userlog 640 5 100 * J
Important: The information that is contained in the readme and install files that are
provided with the LTFS distribution package supersedes the information that is presented
here, including the information in the Information Center on the following website:
http://publib.boulder.ibm.com/infocenter/ltfs/cust/index.jsp
Complete the following steps to install LTFS by using a binary package file:
1. Log on as an administrator.
2. If the LTFS program is already installed, and the tape medium is mounted, unmount it by
issuing the following command:
umount /mnt/ltfs
3. Mount the LTFS binary package Disk Image file by double-clicking it. Follow the Installer
utility instructions.
4. The Welcome page to the IBM LTFS SDE Installer is shown (Figure 1-23). To proceed with
the installation, select Continue.
Figure 1-23 Linear Tape File System Single Drive Edition for Mac OSX installer
Figure 1-24 LTFS SDE for Mac OSX installer software license agreement
6. Read the Software License Agreement and select Continue. You are asked to select
Disagree or Agree (Figure 1-25).
Figure 1-25 LTFS SDE for Mac OSX license agreement question
9. In Figure 1-27, you are asked to enter a password. Type the password that is needed to
access the server and click Install Software.
Figure 1-28 LTFS SDE for Mac OSX installation successful window
11.Click Close.
12.As part of the installation process, the following symbolic links to LTFS are created in
/usr/local/bin:
# sudo ln -sf /Library/Frameworks/LTFS.Framework/Versions/Current/usr/bin/ltfs ltfs
# sudo ln -sf /Library/Frameworks/LTFS.Framework/Versions/Current/usr/bin/mkltfs mkltfs
# sudo ln -sf /Library/Frameworks/LTFS.Framework/Versions/Current/usr/bin/ltfsck ltfsck
Important: Eject media from the LTFS drives before you uninstall LTFS to avoid losing
data in the cache.
Complete the following steps to uninstall the LTFS software on a Mac OS X system:
1. Log on as an administrator.
2. Open a terminal window. If a tape medium is mounted, unmount it by issuing the following
command:
# umount /mnt/ltfs
3. Issue the following command to change the directory to the /Library/Frameworks
directory:
# cd /Library/Frameworks
4. Issue the following command to remove LTFS:
# sudo rm -rf LTFS.framework
5. Issue the following command to change the directory to the /usr/bin directory:
# cd /usr/bin
For more information about connectivity and configurations, see the SSIC website:
http://www.ibm.com/systems/support/storage/config/ssic
Readme file: The current information for LTFS supported hardware and software
configurations and notices or limitations is in the LTFS program readme file.
1.4.2 Prerequisites
The software that you need to install before you install LTFS is listed. LTFS has the following
requirements:
Microsoft Visual C++ 2010 Redistributable Package (x86 or x64)
Microsoft .NET Framework 4
Important: The current information for LTFS supported hardware and software
configurations and notices or limitations is in the LTFS program readme file.
ITDT, although not a prerequisite, is invaluable in configuring LTFS and troubleshooting tape
drive issues and needs to be installed, as well.
Other versions:
LTFS 1.3.0 supports network file and folder sharing for Windows Server 2008 R2.
LTFS does not support Windows XP. However, users on Windows XP (and other
Windows operating systems) can access LTFS as a client of Windows Server 2008
R2 through network file sharing.
For more information about connectivity and configurations, see the SSIC website:
http://www-03.ibm.com/systems/support/storage/config/ssic/
Complete the following steps to install the required software on a Windows system:
1. Log on as an administrator.
2. Go to the Microsoft Visual C++ 2010 Redistributable Package download site for the
corresponding system type (x86 or x64). Download the following package from the
Microsoft website:
http://search.microsoft.com/results.aspx?form=MSHOME&mkt=en-us&setlang=en-us&q=
visual+c%2b%2b+redist
3. Double-click the package in Windows Explorer to display the User Account Control
window.
4. Click Yes when the message “Do you want to allow the following program to make
changes to this computer?” displays.
5. Follow the installation instructions for the program.
Complete the following steps to install the required software on a Windows system:
1. Log on as an administrator.
2. Go to the Microsoft .NET Framework 4 (Standalone Installer) download website:
http://search.microsoft.com/Results.aspx?q=microsoft+.net+framework+4&mkt=en-US
&FORM=QBME1&l=1&refradio=0&qsc0=0
3. Download the file to your local folder.
Before you uninstall the tape device driver, it is necessary to remove or disable the device
within Windows. For more details, see the IBM Tape Device Drivers Installation and User’s
Guide, GC27-2130-13. Run uninst.exe, which is included in the IBM Tape package, to
uninstall it.
As an example, a program version is 1.3.0.2200 for a 64-bit operating system, and the
installer file name is IBM_LTFS_SDE_1.3.0.2200_x64.exe. The installer for a 32-bit operating
system can be installed only on a 32-bit operating system. Likewise, the installer for a 64-bit
operating system can be installed only on a 64-bit operating system. If you attempt to install
LTFS on the wrong operating system type, the installer displays a warning message and
terminates.
4. Select I accept both the IBM and the non-IBM terms (Figure 1-34) and click Next.
Select Read Non-IBM Terms (to open a non-IBM license agreement) and click Close.
Figure 1-35 LTFS SDE for Windows install Destination Folder window
6. The Destination Folder wizard allows you to change the folder to install the program. The
default destination folder is set to C:\Program Files\IBM\LTFS\. If you want to change the
default folder, click Change and select a new folder. Otherwise, click Next.
7. The Ready to Install the Program window opens (Figure 1-36). Click Install.
Important: Eject media from the LTFS drives before you uninstall LTFS to avoid losing
data in the cache.
Before you start Linux, power on the tape drive so that the operating system can recognize
the tape drive as a SCSI device.
4. If the medium is not yet formatted for LTFS, format it by using the mkltfs command as
described in “Formatting media” on page 67. The LTFS format version is updated from 1.0
to 2.1.1. After a medium is formatted to the later version, it cannot be mounted on an older
version of LTFS or converted to an older format without reformatting. If the media is
already formatted for LTFS, skip to step 5.
5. Mount the media by creating a mount point and then by entering the ltfs command
(Example 1-9).
The ltfs command advanced help function (ltfs -a) lists all the additional command-line
options. For more details, see 1.7, “Command reference” on page 81.
Important: Do not power off or disconnect the tape drive while the ltfs command is
mounting a tape media.
6. You can now start writing and reading data to tape. For more hints, see “Further tasks” on
page 45 and the IBM Linear Tape File System Single Drive Edition Information Center:
http://publib.boulder.ibm.com/infocenter/ltfs/cust/index.jsp
Extended attributes are not always portable between applications and operating
systems.
Consider the following four examples of typical user tasks. Example 1-10 shows an
example of writing data to the /mnt/ltfs tape directory by using the command-line
interface (CLI).
# ls -las /mnt/ltfs
total 2164
0 drwxrwxrwx 2 root root 0 Oct 4 09:37 .
4 drwxr-xr-x 3 root root 4096 Sep 28 16:10 ..
15 -rwxrwxrwx 1 root root 14344 Sep 24 14:32 file1.txt
715 -rwxrwxrwx 1 root root 731747 Oct 4 09:37 image1.jpg
715 -rwxrwxrwx 1 root root 731747 Oct 4 09:35 image2.jpg
715 -rwxrwxrwx 1 root root 731747 Oct 4 09:35 image3.jpg
Example 1-11 shows an example of renaming a file in the /mnt/ltfs tape directory by
using the CLI.
# ls -las /mnt/ltfs
total 2164
0 drwxrwxrwx 2 root root 0 Oct 4 09:48 .
4 drwxr-xr-x 3 root root 4096 Sep 28 16:10 ..
15 -rwxrwxrwx 1 root root 14344 Sep 24 14:32 file1.txt
715 -rwxrwxrwx 1 root root 731747 Oct 4 09:37 image1.jpg
715 -rwxrwxrwx 1 root root 731747 Oct 4 09:35 image2.jpg
715 -rwxrwxrwx 1 root root 731747 Oct 4 09:48 image3.old
Example 1-12 shows an example of deleting a file from the /mnt/ltfs tape directory by
using the CLI.
Example 1-12 LTFS SDE for Linux deleting a file from tape
# rm /mnt/ltfs/image3.jpg
# ls -las /mnt/ltfs
total 1449
0 drwxrwxrwx 2 root root 0 Oct 4 09:49 .
4 drwxr-xr-x 3 root root 4096 Sep 28 16:10 ..
15 -rwxrwxrwx 1 root root 14344 Sep 24 14:32 file1.txt
715 -rwxrwxrwx 1 root root 731747 Oct 4 09:37 image1.jpg
715 -rwxrwxrwx 1 root root 731747 Oct 4 09:35 image2.jpg
Example 1-13 LTFS SDE for Linux creating a tar file on tape
# tar -cvf /mnt/ltfs/images.tar /tmp/image4.jpg /tmp/image5.jpg
tmp/image4.jpg
tmp/image5.jpg
# ls -las /mnt/ltfs
total 2889
0 drwxrwxrwx 2 root root 0 Oct 4 09:50 .
4 drwxr-xr-x 3 root root 4096 Sep 28 16:10 ..
15 -rwxrwxrwx 1 root root 14344 Oct 4 09:47 file1.txt
715 -rwxrwxrwx 1 root root 731747 Oct 4 09:37 image1.jpg
715 -rwxrwxrwx 1 root root 731747 Oct 4 09:35 image2.jpg
1440 -rwxrwxrwx 1 root root 1474560 Oct 4 09:50 images.tar
Further tasks
To check for media errors or to roll back, run ltfsck. To learn more about using the check and
rollback functions, see “Checking and recovering media” on page 74 and “Rolling back
media” on page 76.
To view a recent event log of error and warning messages, check the operating system logs.
The log includes the level (error or warning), date and time, ID, and description. To learn more
about error logs, see “Viewing details” on page 71. If no error or warning message displays
for your problem, see the IBM Linear Tape File System Single Drive Edition Information
Center:
http://publib.boulder.ibm.com/infocenter/ltfs/cust/index.jsp
Formatting media
You must format all media before it is used by LTFS.
Format version: The LTFS format version is updated from 1.0 to 2.1.1. After a medium is
formatted to the later version, it cannot be mounted on an older version of LTFS or
converted to an older format. For more information, see 1.1.2, “Tape format compatibility”
on page 4.
Simultaneous copy
It is possible to copy multiple files to tape simultaneously, although this method is not advised
due to the sequential nature of tape.
Figure 1-40 LTFS SDE for Linux simultaneously writing files to tape
When a tape is mounted, it is checked for consistency. If a consistency problem is found and
can be recovered without the loss of data, the recovery is performed automatically. If you
cannot perform the recovery without the loss of data, use ltfsck -f to locate the latest index
and recover the tape from an inconsistent state. After the medium is recovered to a consistent
state, ltfsck -l can be used to display a list of available rollback points. The ltfsck utility
then can be used to recover the medium to its last good state. If ltfsck detects extra data
after the final index in a partition, ltfsck deletes it. When the full recover option is specified,
ltfsck saves the data that would be lost and corrects block information in the
_ltfs_lostandfound directory.
When the ltfsck utility is run, it automatically removes invalid data from the end of the tape
and recovers the tape to the last good state. LTFS appends the most recent changes to the
end of the tape without overwriting the existing data. Additional ltfsck utility options can be
initiated to save the invalid data or to list or recover consistency at a specific rollback point or
date. Example 1-15 shows the typical output from the ltfsck command.
2. Decide to which date and time you want to roll back. In this example, we chose the
generation 1 index.
3. Run the ltfsck command to roll back as shown in Example 1-17 on page 50.
# ltfs -V
LTFS version 1.3.0.0 (2200)
LTFS Format Specification version 2.1.0
Changing attributes
In LTFS, only the write bit can be set or changed. So, the following command makes a file on
an LTFS tape read-only:
# chmod 555 filename
Initial configuration
A typical initial configuration scenario for most users of LTFS SDE for Mac OS X is described.
Other topics that are referenced provide additional information that relates to specific steps in
a typical user scenario. Before you start OS X, power on the tape drive so that the operating
system can recognize the tape drive as a SCSI device.
4. If the medium is not yet formatted for LTFS, format it by using the mkltfs command as
described in “Formatting media” on page 67. The LTFS format version is updated from 1.0
to 2.1.1. After a medium is formatted to the later version, it cannot be mounted on an older
version of LTFS or converted to an older format without reformatting. If the media is
already formatted for LTFS, skip to step 5.
Overwritten data: Running the mkltfs command to format the tape media overwrites
the existing data on tape.
5. Mount the media by creating a mount point and then enter the ltfs command
(Example 1-19).
Important: Do not power off or disconnect the tape drive while the ltfs command
mounts a tape media.
6. You can now start writing and reading data to tape. For additional hints, see “Further
tasks” on page 55 and the Linear Tape File System Single Drive Edition Information
Center:
http://publib.boulder.ibm.com/infocenter/ltfs/cust/index.jsp
Extended attributes are not always portable between applications and operating
systems.
The process to access LTFS tape media is described. You can use a file manager, such as
Finder for Mac OS X, as shown in Figure 1-41 on page 54 (displaying an icon for the LTFS
tape D00999L5). Or, you can use a command-line utility to access the files on a tape
medium. The use of the command line is described.
It can take time to browse the directory contents of LTFS by using the Finder. If “View as
icon”, “View as list”, or “View as column” is selected, you can accelerate the Finder by
setting the Icon preview to off.
Consider the following examples of typical user tasks. Example 1-20 shows an example of
writing data to the /mnt/ltfs tape directory by using the CLI.
Example 1-21 shows an example of renaming a file in the /mnt/ltfs tape directory by
using the CLI.
Example 1-22 on page 55 shows an example of deleting a file from the /mnt/ltfs tape
directory by using the CLI.
Example 1-23 shows an example of an application that uses the /mnt/ltfs tape directory.
Example 1-23 LTFS SDE for OSX creating a tar file on tape
# tar -cvf /mnt/ltfs/images.tar /tmp/image4.jpg /tmp/image5.jpg
tmp/image4.jpg
tmp/image5.jpg
Further tasks
To check for media errors or to roll back, run the ltfsck command. To learn more about using
the check and rollback functions, see “Checking and recovering media” on page 57 and
“Rolling back media” on page 58.
To view a recent event log of error and warning messages, check the operating system logs.
The log includes the level (error or warning), date and time, ID, and description. If no error or
warning message displays for your problem, see the Linear Tape File System Single Drive
Edition Information Center website:
http://publib.boulder.ibm.com/infocenter/ltfs/cust/index.jsp
Formatting media
You must format all media before use by LTFS.
You need to complete the following steps to format a medium for LTFS as shown in
Example 1-24.
Simultaneous copy
It is possible to copy multiple files to tape simultaneously, although it is not advised due to the
sequential nature of tape.
Figure 1-42 LTFS SDE for OSX simultaneously writing files to tape
When the ltfsck utility is run, it automatically removes invalid data from the end of the tape
and recovers the tape to the last good state. LTFS appends the most recent changes to the
end of the tape without overwriting the existing data. Additional ltfsck utility options can be
initiated to save the invalid data, or to list or recover consistency at a specific rollback point or
date. Example 1-25 on page 58 is an example of typical output from the ltfsck command.
2. Decide to which date and time you want to roll back. In this example, we chose the
generation 3 index.
3. Run the ltfsck command to roll back as shown in Example 1-27 on page 60.
The tape now contains the files that were in existence at the time of the generation 3 index.
Example 1-28 shows the files before and after rolling back.
# ltfs -V
LTFS version 1.3.0.0 (2200)
LTFS Format Specification version 2.1.0
Changing attributes
LTFS-formatted tape media have the following limitations:
Only the write permission of a file or directory can be changed.
The owner of a file or directory cannot be changed.
Initial configuration
A typical initial configuration scenario for most users of LTFS SDE for Windows is
summarized. Other topics provide additional information that relates to specific steps in a
typical user scenario. Before you start Windows, power on the tape drive so that Windows can
recognize the tape drive as a SCSI device.
LTFS Configuration panel: With LTFS 1.2.1 and earlier on Windows 7, the LTFS
Configuration panel opens automatically. With LTFS 1.2.5 and later, open the
Configuration panel manually from the All Programs menu.
3. After you install LTFS SDE for Windows, you need to assign a drive letter to an LTO tape
drive to use the program. After a drive letter is assigned, no application other than LTFS
can access the drive letter. You assign a drive letter to an LTFS tape drive by using the
Configuration panel. In the Start menu, click All Programs IBM LTFS
Configuration as shown in Figure 1-43.
4. The Configuration panel in Figure 1-44 on page 63 displays the following information:
– Drive Letter: Assigned or unassigned. The Drive Letter pop-up menu has three
possible scenarios:
• Unassigned (blank)
• Assigned (with SCSI device address)
• Unchangeable (reserved by the system)
– Tape Drive: Details of port, bus number, target ID, logical unit number, and drive serial
number (a 10-digit value)
– State: The current state of the LTFS drive
Select any unused drive letter in the same row as the tape drive that you want to use and
click OK. In this example, we assigned drive L: to the tape drive 1.0.7.0 (serial number
00013B0130).
The panel that is shown in Figure 1-44 is the same panel for both Windows 7 and
Windows Server 2008 R2. You can have multiple sessions with LTFS on Windows Server
2008 R2. For example, while you open the Configuration panel, another user can open
another panel and configure another tape drive.
Important: For dual-path tape drives, be aware that LTFS does not support data path
failover.
In a Windows 7 system, you see the Configuration panel display (Figure 1-44) when any of
the following situations occur:
– The system restarts after you install LTFS.
After you install LTFS, restart the system to launch it. During the system startup, LTFS
checks whether one or more LTFS tape drives are connected. The Configuration panel
displays when a connection is detected.
– The system detects a new LTFS-supported device.
LTFS periodically checks the SCSI devices that are connected to the system. The
Configuration panel displays when one or more LTFS-supported tape drives are
detected.
If a medium is already mounted in the drive, its state is “In use.” Eject a medium first
before you change or remove a drive letter. For more information, see Figure 1-45 on
page 65. If a medium is not mounted, select the drive letter that you want to change or
remove, then select another drive letter or a blank field and click OK.
5. Insert a tape cartridge into the tape drive. After the cartridge is recognized by LTFS, it is
automatically loaded and the drive icon changes to LTFS. Under normal operating
conditions, when a cartridge is loaded, the icon changes to indicate the status of the
medium and possible user action. See Table 1-2 on page 64.
6. Confirm the tape medium status. If the medium is not yet formatted for LTFS, format it by
using the Format menu option as described in “Formatting media” on page 67. The LTFS
format version is updated from 1.0 to 2.1.1. After a medium is formatted to the later
version, it cannot be mounted on an older version of LTFS or converted to an older format
without reformatting.
Special characters: To maintain portability between multiple platforms, do not use the
following characters when you create the names of the LTFS-formatted files,
directories, or extended attributes: * ? < > : " | / \
8. Eject the medium from the LTFS drive by using the Eject menu option.
Important: After a drive letter is assigned to a tape drive and an LTFS medium is
loaded into the drive, all attempts to eject the medium by using the Eject button on the
tape drive fail. The Eject panel is the only way to remove the medium from the drive.
b. Click OK when the Eject Medium panel displays (Figure 1-46 on page 66).
c. A pop-up window (Figure 1-47) opens to indicate that ejecting the medium is still in
progress. There is no message to indicate that the ejection of the medium is complete.
However, the drive icon in Windows Explorer changes to indicate that there is no longer
a tape in the drive.
LTFS has a cache to store data in the main memory and to write it to the medium in a
certain condition. Without flushing data in the cache, data is lost if the system or drive
power turns off.
To protect data, it is important to eject the LTFS medium from the drive before you shut
down the system. If shutdown is initiated while an LTFS medium is still in the drive, a
warning message is displayed and you are returned to the Windows desktop.
While you use LTFS, any of the following actions can result in an unrecoverable state
when you attempt to return to LTFS:
• Hibernation mode
• Forced shutdown
• Windows update
Further tasks
To check for media errors or to roll back, click Properties, then click Check or Roll back. To
learn more about using the Check and Rollback panels, see “Checking and recovering media”
on page 74 and “Rolling back media” on page 76.
Formatting media
You must format all media for LTFS before you use it.
Format version 2.1.1: The LTFS format version is updated from 1.0 to 2.1.1. After a
medium is formatted to the later version, it cannot be mounted on an older version of LTFS
or converted to an older format. For more information, see 1.1.2, “Tape format
compatibility” on page 4.
You need to complete the following steps to format a medium for LTFS:
1. Open Windows Explorer, right-click the LTFS drive to display a pop-up menu, and then
select Format as shown in Figure 1-48.
Important: The tape serial number is required to use six alphanumeric characters.
Only uppercase alphabetical characters are acceptable. For example, “ABC123” is
acceptable, but “abc123” is not.
4. Click Advanced options to display an Advanced Options window (shown in Figure 1-50
on page 69). You can optionally specify which files can be stored in the index partition.
Important: The name filter can only be set when the size filter is set. Both values are
applied to filtered files.
You have the option of selecting the “Prevent policy update” check box. If this check box is
selected, LTFS does not allow a change in the selected formatting data placement policy
when a medium is mounted. The policy also applies when a medium is mounted on Linux
and Mac OS X operating systems. To learn more about the --no-override option, see
1.7.2, “Formatting a tape with the mkltfs command” on page 86. After these fields are
complete, click OK and the Format Medium panel is displayed again (Figure 1-51 on
page 70).
5. Click OK to continue formatting. See the progress indicator (Figure 1-52) to track the
operation.
Important: You cannot access the medium while the format process is in progress. If
you attempt to access it through file system calls, an error message is returned on the
Windows desktop.
Figure 1-53 LTFS SDE for Windows Medium Formatting Complete panel
Viewing details
You need to complete the following steps to view the tape details:
1. Open Windows Explorer, right-click the LTFS drive to display a drop-down menu, and then
select Properties (Figure 1-54).
Figure 1-56 LTFS SDE for Windows media properties details panel
Resource: If no error or warning message displays for your problem, see the Linear
Tape File System Single Drive Edition Information Center website:
http://publib.boulder.ibm.com/infocenter/ltfs/cust/index.jsp
Figure 1-57 LTFS SDE for Windows simultaneously writing files to tape
Important: Directory and file data are stored in index files that specify their exact position
and size. If the index file is inconsistent or does not match the data on the medium, LTFS
cannot access it. LTFS, however, can recover extra data blocks from which metadata is
excluded from the index file. The recovered data is stored in the ltfslostandfound
directory in the root directory. When the tape medium is mounted, the directory is viewable
at the mount point.
Complete the following steps to check media consistency and to recover a medium:
1. Open Windows Explorer, right-click the LTFS drive to display a drop-down menu, and then
select Properties. For more information, see “Viewing details” on page 71.
Figure 1-58 LTFS SDE for Windows LTFS check and rollback panel
3. Click OK when the Check Medium panel displays or click Cancel to quit the operation. For
more information about consistency checking, see “Checking or recovering a tape with the
ltfsck command” on page 88. Figure 1-59 displays while the consistency check is run.
Figure 1-59 LTFS SDE for Windows LTFS Checking Medium in progress
4. If the medium has inconsistencies, as much data as possible is recovered before the
medium is automatically mounted. If an inconsistency in a file cannot be recovered, a
message displays that directs you to the Rollback panel. For more information, see
“Rolling back media” on page 76 for more information.
Figure 1-60 LTFS SDE for Windows Check Medium Complete panel
– Date and time: A list of the date and time that an index is created
4. Data for the most recent generation can be removed from the medium by selecting Erase
rollback generations more recent than the selected rollback generation. By removing
this data, you can help optimize storage capacity because the erased area is used again
by LTFS. Data newer than this generation cannot be recovered. When this option is not
selected, any existing generation can be recovered even following a rollback operation.
This option is equivalent to the -j or --erase-history command on Linux and Mac OS X
operating systems. To learn more about using this command, see 1.7.3, “Checking or
recovering a tape with the ltfsck command” on page 88.
5. Select one generation to which to roll back, then click OK. See the Rollback Cartridge
progress indicator to track the operation. A Rollback Medium window (Figure 1-62) then
displays with the selected generation highlighted.
Figure 1-62 LTFS SDE for Windows Rollback Medium generation panel
6. You have the option of selecting the “Erase all rollback generations with a date and time
later than the selected rollback generation” check box. Select the generation
(point-in-time) to which you want to roll back and click OK to complete the procedure.
Changing attributes
In LTFS, only the write bit can be set or changed. So, the following command makes a file on
an LTFS tape read-only:
>attrib +r filename
Other file attributes, such as system, hidden, and archive, cannot be changed.
Extended attributes
A file can have multiple extended attributes. The maximum size of an extended attribute is
4 KB. Within Windows, there is no method of viewing extended attributes directly so a utility
must be used to view or set them. For more details, see 1.8.4, “IBM LTFS Extended Attribute
Access Program” on page 101.
Several typical issues that you might encounter and suggested solutions are listed.
Solution
You need to specify the -f or --force option to format any tape medium that is already
formatted for use by LTFS.
Solution
You mistyped the mount point for LTFS. If the directory does not exist, LTFS does not start.
mkltfs
When you run the mkltfs command, the following errors can occur:
LTFS12114E Cannot open device '/dev/IBMtape0' (16)
LTFS12012E Cannot open device: failed backend open call
There are several possible reasons for these errors. Either a tape is in the process of
mounting or dismounting. Or, these errors indicate a hardware problem or a problem with the
lin_tape device driver in Linux.
Solution
A tape can be in the process of mounting or dismounting. Wait 1 minute and then rerun the
mkltfs command. If that does not solve the problem, run the command:
/etc/init.d/lin_tape restart
If that does not fix the problem, a service representative needs to examine the tape drive.
ltfsck
When you run the ltfsck command, one of the following errors occurs:
LTFS12158I Opening a device through ibmtape driver (/dev/IBMtape0)
LTFS12113E /dev/IBMtape0: medium is already mounted or in use
LTFS12012E Cannot open device: failed backend open call
LTFS16011E Cannot open device '/dev/IBMtape0'
Solution
You cannot run the ltfsck command if a tape is mounted. Unmount the tape (for example, the
umount /mnt/ltfs command) and try the ltfsck command again.
If the tape drive is not visible, check the cabling, power, and so on, rectify the issue, and then
unmount and restart LTFS.
For example, if the current directory is changed to the LTFS mount point and the terminal
window remains open, the unmount command fails. In this case, close the terminal window or
use the cd command to change the directory.
If several people use LTFS, you can determine which user is using the LTFS mount point by
using the fuser command option:
Linux
# fuser -muv /mnt/ltfs
Mac OS X
# fuser -cu /mnt/ltfs
Enter the ltfs command from the command line to mount the media for use with LTFS.
Table 1-3 lists the command to enter, depending on your operating system.
Windows N/A
The ltfs command has the following command-line LTFS library options:
-o run_inventory Run a full inventory to create the LTFS namespace
-o library_cache Set to use and create caches from the medium auxiliary memory
(MAM), index, and labels (default)
-o nolibrary_cache Set to disable the use and creation of MAM, index, and label caches
-o volser_only_folder
Set to exclude volume name from top-level folder name
-o novolser_only_folder
Set to include volume name in top-level folder name (default)
Enter the mkltfs command on the operating system command line to format the media:
For Linux, enter this command:
mkltfs --device /dev/IBMtape0 --force --tape-serial=DV1270
--volume-name=DV1270L6
For Mac OS X, enter this command:
mkltfs --device 0 --force --tape-serial=DV1270 --volume-name=DV1270L6
For Windows, enter this command:
mkltfs --device=1.0.7.0 --force --tape-serial=DV1270 --volume-name=DV1270L6
Example 1-29 shows the output of the mkltfs command when it is run on Windows 2008.
The following options are also available for the mkltfs command:
-d, --device=<name> Tape device (required)
-f, --force Force to format medium
-s, --tape-serial=<id>
Tape serial number (six alphanumeric ASCII characters)
-n, --volume-name=<name>
Tape volume name (empty by default)
-r, --rules=<rules> Rules for choosing files to write to the index partition
The syntax of the rule argument is:
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 specified
size and matches at least one of the name patterns (if specified). The
size argument accepts K, M, and G suffixes. Name patterns might
contain the special characters: question mark (?) (match any single
character) and asterisk (*) (match zero or more characters).
--no-override Disallow mount-time data placement policy changes
-w, --wipe Restore the LTFS medium to an unpartitioned medium (format to an
existing scratch medium)
-q, --quiet Suppress progress information and general messages
-t, --trace Enable function call tracing
-h, --help Help
-p, --advanced-help Full help, including advanced options
-i, --config=<file> Use the specified configuration file (default: ltfs/ltfs.conf)
-e, --backend=<name>
Use the specified tape device back end (default: scsilib)
--kmi-backend=<name>
Use the specified key manager interface (kmi) back end (default:
none)
-b, --blocksize=<num>
Set the LTFS record size (default: 524288)
-c, --no-compression
Disable compression on the volume
-k, --keep-capacity Keep the tape medium total capacity proportion
-x, --fulltrace Enable full function call tracing (slow)
The following options are the key manager interface simple plug-in options:
-o kmi_dk=<DK> Data key
-o kmi_dki=<DKi> Data key identifier
-o kmi_dk_for_format=<DK>
Data key to format a cartridge
-o kmi_dki_for_format=<DKi>
Data key identifier to format a cartridge
-o kmi_dk_list=<DK>:<DKi>/<DK>:<DKi>/.../<DK>:<DKi>
Data key and data key identifier pairs list
If the ltfsck utility detects extra data after the final index in a partition, it deletes the extra
data automatically. When the full recover option is specified, the ltfsck utility saves the data
that might be lost and corrects block information in the _ltfs_lostandfound directory.
When the ltfsck utility is run, it automatically removes invalid data from the end of the tape
and recovers the tape to the last good state. You can initiate additional ltfsck utility options to
save the invalid data or to list or recover consistency at a specific rollback point or date.
Enter the ltfsck command from the command line to verify the consistency of the LTFS
formatted media. Table 4-6 lists the specific command to enter by operating system.
Mac OS X ltfsck 0
The following options are the key manager interface simple plug-in options:
-o kmi_dk=<DK> Data key
-o kmi_dki=<DKi> Data key identifier
-o kmi_dk_for_format=<DK>
Data key to format a cartridge
-o kmi_dki_for_format=<DKi>
Data key identifier to format a cartridge
-o kmi_dk_list=<DK>:<DKi>/<DK>:<DKi>/.../<DK>:<DKi>
Data key and data key identifier pairs list
Example 1-32 shows the output of the ltfsck /dev/IBMtape0 command on LTFS formatted
media.
# ltfsck /dev/IBMtape0
1.8 Tools
The following tools might be useful when you manage LTFS.
IBM maintains the latest levels of tape-related System Storage software, the IBM Tape Device
Driver, the LTFS software package, and documentation on the Internet. Use the Fix Central
download portal:
http://www.ibm.com/support/fixcentral
To download the latest version of LTFS Format Verifier, follow these steps:
1. From the main Fix Central page, select the following options:
a. For Product Group, select System Storage.
b. For System Storage, select Tape Systems.
c. For Tape Systems, select Tape drivers and software.
d. For Tape drivers and software, select Long Term File System (LTFS) Format Verifier.
e. For Installed Version, to download the latest version of LTFS Format Verifier, select All.
f. For Platform, to download all platforms of LTFS Format Verifier, select All.
g. Click Continue.
2. Narrow the search of available downloads according to your criteria.
3. Click Continue to view the list of available downloads.
4. Select the version that you want to download.
5. Follow the instructions on the Fix Central download page to download the new version.
Resource: IBM maintains the latest levels of the Format Verifier and information about
using the tool and related documentation on the Fix Central website.
To verify media hardware and data compatibility with LTFS, use the IBM LTFS Format Verifier
utility ./lfv command.
Accessing the LTFS Format Verifier utility: The LTFS Format Verifier utility is not
shipped with LTFS. It is available as a separate download.
Enter ./lfv from the command line to verify that the media is compatible with LTFS.
Choose one of the following command-line examples for the ./lfv command for the Linux
operating system, depending on whether the IBM Tape Device Driver is installed:
For Linux systems where the IBM Tape Device Driver is installed, enter <target device>
as /dev/IBMtapeX where X is the index of the tape device to use:
./lfv -f /dev/IBMtape0
For Linux systems where no IBM Tape Device Driver is installed, enter <target device>
as /dev/sgX where X is the index for the tape device to use:
./lfv -f /dev/sg0
On Mac OS X systems, enter <target device> as an <M>::X construct. <M> is the model
name for the tape device (example: ULT3580-TD5) and X is the index for the tape device
to use:
./lfv -f ULT3580-TD5:0
On Microsoft Windows systems, enter <target device> as an (H) (B) (T) (L) construct.
(H) is the (HBA number. (B) is the HBA bus number. (T) is the SCSI Target ID. (L) is the
logical unit number (LUN) of the tape device to use:
./lfv -f H2-B0-T1-L0
IBM maintains the latest levels of tape-related System Storage software, the tape device
driver, the LTFS software package, and documentation on the Internet. Use the Fix Central
download portal:
http://www.ibm.com/support/fixcentral
Resource: IBM maintains the latest levels of the ITDT and information about using the tool
and related documentation on the Fix Central website.
Listing records
The following itdt command (Example 1-35) lists the records and file marks in the data
partition of the currently mounted tape on tape drive 1.0.7.0 in Windows.
Command reference
The following command-line options are available.
Interactive mode: itdt [-force-generic-dd] [-D file] [-C file] [-N config][-LP path]
[-L file] [-LL level] [-R path] [-h|--help]
The following options are available. They are not needed for normal program usage:
-force-generic-dd Use Generic device driver.
-D descriptor_file.blz
Use alternate descriptor file (default: ubv.blz).
-C config_file.blz Use alternate config file (default: metrocfg.blz).
-N cli_config_name Use alternate CLI configuration (default: CLI_DEFAULT).
-LP logpath Use 'logpath' as logging path (default: output).
-L logfile Use 'logfile' for log messages (default: metro.log).
-LL Errors|Warnings|Information|Debug
Set log level (default: Error).
-R resultdir Use 'resultdir' as result file path (default: output).
-h|--help Display this help text.
-version Print the version number of ITDT.
Use this scripting mode: itdt [-f filename [-w mode] Subcommand [Subcommand ...]]
The IBM LTFS Copy Tool optimizes the performance of data transfers through multithreaded
operations, memory or disk buffering, and multifile reads from tape that are ordered by
location on the tape. These features are described in more detail.
Multithreaded operation
The IBM LTFS Copy Tool uses memory or disk buffering to transfer data, which enables the
data to be transferred during a multithreaded operation. While the program that is running on
a thread reads a file on the tape medium or disk to the memory or disk buffer, the program
that is running on another thread writes data from the memory or disk buffer to the medium
simultaneously. This mechanism improves the copy performance.
Reordering by location
The files on a tape medium allow sequential access only. If multiple files are copied without
reordering, LTFS sequentially seeks files on the medium. For example, if the first file exists
next to the second file, LTFS searches for the bottom of the second file and reads it, and then
seeks back to the beginning of the first file. This seek operation drastically degrades the
multifile copy performance of LTFS. By reordering by location, the LTFS Copy Tool reads the
second file, and then reads the first file. This approach eliminates any unnecessary seek
operations and improves the overall copy performance.
For more detailed information about this tool, see the Linear Tape File System Single Drive
Edition Information Center:
http://publib.boulder.ibm.com/infocenter/ltfs/cust/index.jsp
The LTFS EA Access Program can be used to access files and directories on LTFS and to
change or display the extended attributes. This program enables Windows users to read and
write extended attribute values that are stored in LTFS files and directories. Because the
program accesses files and directories on the mounted volume, the LTFS tape medium must
be mounted before you use the program to access attributes.
The primary modes of operation for the LTFS EA Access Program, LTFSGetEA, LTFSSetEA,
and LTFSRemoveEA, are described in detail in the “LTFS EA Access Program Command
Reference” topic in the LTFS SDE Information Center.
Important: The LTFS EA Access Program does not support file or directory paths that use
wildcard expressions. It also does not support recursive directory search under the
specified directory.
For more information about this tool, see the Linear Tape File System Single Drive Edition
Information Center:
http://publib.boulder.ibm.com/infocenter/ltfs/cust/index.jsp
Chapter 1. IBM Linear Tape File System Single Drive Edition 101
102 IBM Linear Tape File System Installation and Configuration
2
LTFS is the first file system that works with IBM System Storage tape technology to optimize
ease of use and portability for open-systems tape storage. It manages the automation and
provides operating system-level access to the contents of the library. LTFS LE is based on the
LTFS format specification, enabling tape library cartridges to be interchangeable with
cartridges that are written with the open source SDE version of LTFS. IBM LTFS LE supports
most IBM tape libraries:
TS2900 Tape Autoloader, TS3100 Tape Library, and TS3200 Tape Library
TS3310 Tape Library
TS3500 Tape Library
LTFS LE enables the reading, writing, searching, and indexing of user data on tape and
access to user metadata. Metadata is the descriptive information about user data that is
stored on a cartridge. Metadata enables searching and accessing of files through the
graphical user interface (GUI) of the operating system. From LTFS V2R1.2, LTFS LE supports
both Linux and Windows.
Did you know? IBM Linear Tape File System (LTFS) won a Pick Hit award at the National
Association of Broadcasters (NAB) conference.
Ordering: LTFS LE is a Software License Product. LTFS LE has a Program PID number of
5639-LT1.
LTFS is the first file system that works with LTO generation 5 tape technology to set a new
standard for ease of use and portability for open systems tape storage. With LTFS, accessing
data that is stored on an IBM tape cartridge becomes easy and intuitive. With LTFS and the
operating system’s graphical file manager (Figure 2-1), reading data on a tape cartridge is as
simple as dragging and dropping. In addition, it provides for caching tape indexes. It also
provides for searching, querying, and displaying tape content within an IBM tape library
without the requirement to mount tape cartridges.
Under LTFS, tape cartridge usage changes from being application-dependent to application
independent. The tape cartridge is now a self-describing, independent storage object similar
to a USB drive. Each LTFS cartridge contains the metadata to enable access to the user data
on that cartridge. Tape cartridges are portable and robust, and far less prone to damage than
a USB hard disk drive. They are also much smaller, lighter, and less expensive. Because
nothing is ever overwritten on the tape cartridges, the tapes contain not only the current
version of files, but also every previous version of every file that is written to the tape. And the
metadata holds all of the necessary information to restore to previous “versions” of the tape.
The following components are needed to operate the tape file system:
Software in the form of LTFS LE
Hardware, consisting of IBM LTO Ultrium 5 tape drive, IBM LTO Ultrium 6 tape drive, and
media or IBM TS1140 Tape Drive and media
On-tape data structures (created by LTFS)
Together, these components can handle a file system on LTO media as though it is a disk file
system for accessing tape files, including the tape directory tree structures. After an LTFS
tape is mounted and recognized by the LTFS software, its contents can be displayed quickly
(that is, at the start of the tape) without a special backup or archive application. Data
movement is application independent.
Because each LTFS formatted tape is self-describing, it holds all the needed information to
determine the data contents on tape, including the instructions for data arrays, file elements
and attributes, and the use of the metadata. An LTFS-formatted tape can be easily
transported to other physical locations for reading and writing data.
The LTFS format is an ideal option for storing, on a long-term basis, large files that need to be
shared with others, such as for the digital media and entertainment market. Most of these
users use Linux or Macintosh systems and can see all the files on tape. With LTFS, users can
recall any file from the tape without needing to read the entire tape.
The following sections provide a more detailed view of the design and implementation of the
new tape file system:
For index and data partition information, see 2.1.5, “Index and data partitions” on
page 109.
For Filesystem in User Space (FUSE), see 2.1.6, “Filesystem in Userspace (FUSE)” on
page 111.
For on-tape data structures that use an XML schema to record the contents of the tape,
see 2.1.7, “XML schema” on page 112 and 2.1.8, “Recording the LTFS XML schemas” on
page 120.
On-tape data structures: These structures are defined by the W3C Extensible Markup
Language (XML) 1.0 standard.
The LTO-5 media default that is set at manufacturing is a single partition of 80 wraps. The
host application or middleware can change the partition to one partition (partition 0, the
default partition) or two partitions, where the second partition is called partition 1. Partitioning
is done by using a reformat command that logically erases all data on a tape before it is
partitioned.
Each LTO-5 partition (if there are two) has a bidirectional serpentine and must have an even
number of wraps in size. This way, it begins and ends at Logical-Point 3 (LP3) (logical point to
indicate the start of the user data region; see Figure 2-2). If there are two partitions, a guard
band is between the two wraps, which is 2.5% of nominal LTO-5 cartridge capacity.
LTO-6 and TS1140 support the new partitioning scheme. By using the new scheme, LTFS can
provide more space for data partitioning. Currently, LTFS V2R1.2 does not support the new
scheme. The principle function of the media partitioning is to allow for faster data access by
splitting the cartridge into up to four media partitions. Tape media can have a minimum of one
and a maximum of four different partitions that are defined. Partitions on media all have the
same BOT and EOT as shown in Figure 2-3. The minimum partition size of the multiple
partitions is equivalent to two wraps.
Important: The new partitioning scheme is applied when a cartridge is formatted. So, the
user can read from and write to cartridges that are formatted by an older version of LTFS.
LTFS V2R1.2 can read from and write to existing cartridges with the old partitioning
scheme.
LTFSV2R1.2 does not provide the functionality to format with the “old” partitioning scheme.
So, LTFS V2R1.2 can format with only the new partitioning scheme.
Encryption is supported by using one key for the entire cartridge in transparent encryption.
Write Once Read Many (WORM): Because WORM media is not partitionable, it is not
supported in LTFS.
2.1.2 Interoperability
LTO Ultrium cartridges from earlier LTO generations (that is LTO-1 through LTO-4) are not
partitionable. Those formats are not supported for partitioning. Figure 2-4 shows the
interoperability matrix of media partitioning and LTO-5 cartridges.
If LTO Ultrium 4 (LTO-4) cartridges are used in an LTO-5 drive to write data on, the LTO-4
cartridge is treated like an unpartitioned LTO-5 cartridge. Even if an application can work with
partitions, it is not possible to partition the LTO-4 media that is mounted on an LTO Ultrium 5
drive.
The older version of the LTFS SDE program (1.0.1.xx or older for Linux and Mac OS X, and
1.1.0 for Microsoft Windows) supports only LTFS format version 1.0. The latest version of
LTFS SDE (1.2.0.xx or later) and LTFS LE supports LTFS format version 2.1.1. Table 2-1
shows a compatibility matrix for media versions 1.0 and 2.1.1.
Important: For LTFS LE, the mkltfs and ltfsck functions are provided by the
ltfsadmintool command. The ltfsck utility in LTFS SDE checks and recovers media. The
mkltfs utility in LTFS SDE formats media.
The ltfsck command in the older LTFS package cannot be used to check and recover a
medium that is formatted to version 2.1.1. A medium that is formatted to version 2.1.1
cannot be converted to a 1.0 version format. If you use the mkltfs command from a 1.0.x
LTFS version, you reformat the medium to a 1.0 format.
In summary, media that is written by LTFS SDE (LTFS 2.1.1 format) can be read by LTFS LE
and vice versa.
One partition (partition 0), which is called the index partition, is small and allocates two LTO-5
wraps with about 37.5 GB on native storage capacity. The remaining cartridge capacity is
used by partition 1, which is called the data partition. The data partition consists of 76 LTO-5
wraps with about 1425 GB of native storage capacity. Both partitions are separated by the two
guard wraps as shown in Figure 2-2 on page 106.
File markers
After LTFS formats a tape media, the index and data partitions contain a VOL1 label and an
LTFS label. The LTFS label is based on XML schema (see 2.1.7, “XML schema” on page 112)
and contains information about the LTFS partition on which the structure is stored.
VOL1 label: The VOL1 label is created according to ANSI Standard X 3.27. It contains
ASCII-encoded characters that are 80 bytes in length.
Figure 2-8 on page 110 shows the LTFS-formatted tape without any client data on it. The
label construct in the index and data partitions consists of the VOL1 and LTFS labels.
An LTFS volume is defined as a pair of LTFS partitions (one index partition and one data
partition) that contain a logical set of data files and directories. The pair of partitions in an
LTFS volume must have the same Universally Unique Identifier (UUID).
Figure 2-9 shows the content of a simple LTFS volume. This volume contains three files: File
A, File B, and File C.
File A consists of three extents. Files B and C have one extent. The file blocks are followed by
a file mark only when an XML index immediately follows the files. Figure 2-9 also indicates
that the LTFS volume is still mounted. After you unmount an LTFS volume, double file marks
are written at the end of the index and data partitions.
LTFS V2R1.2 supports an enhanced partitioning scheme, which allows the user to use less
space for indexes and more space for data partitions. By using the new scheme on TS1140
drives, LTFS V2R1.2 consumes only 300 GB for the index partition.
Update firmware: To use the new partitioning scheme, TS1140 firmware needs to be
updated to PGA3 or later. If older firmware is installed, a cartridge with the new partitioning
scheme cannot be mounted.
The system was initially implemented on Linux and Macintosh OS X. It is portable to any
other UNIX technology-type systems that support FUSE. Figure 2-10 shows a simplified
diagram of the Linux FUSE-based LTFS implementation.
When an LTFS volume is mounted, the directory information is read from the index partition
by using XML (see 2.1.7, “XML schema” on page 112) and placed in the in-memory directory.
See Figure 2-10. During I/O tape operations, the in-memory directory is updated to reflect the
new data on tape. At various points, the contents of the in-memory directory are written back
to the tape partitions.
FUSE also provides ease of maintenance to the kernel API and supports the use of
userspace libraries and tools without having access to kernel data. (System root access is not
required for the users.)
Within the Linux system, FUSE can be compiled and loaded similarly to any other daemons
(for example, /bin/my_fs_daemon/mnt/fuse). The FUSE kernel module (Figure 2-10) is
responsible for the routing requests that come from applications to the corresponding file
system daemon. In addition, FUSE communicates with the file system daemon by using a
special file descriptor that is obtained by opening the /dev/fuse directory.
Because tape is a sequential device, access times might differ depending on the location of
the data to be accessed. Using the speed of LTO-5 with 140-MBps native does not cause a
delay time that is longer than 50 seconds on average.
File sharing by the use of NFS is provided by a new version of FUSE (Version 2.8). LTFS
V2R1.2 for Linux relies on FUSE. The current version of FUSE has a limitation. See the
readme.NFS file in the FUSE package and use the -o noforget option to support NFS.
When tape media is formatted for use by LTFS, an empty root directory structure is written to
the index partition. For robustness and to provide compatibility with tape utilities that are not
multiple partition aware, the same structure is also written to the data partition. In both cases,
a single file mark is written before the schema. A double file mark is written after it, delimiting
the index schema and indicating the end of data in the partition. See Figure 2-8 on page 110.
When an LTFS volume is mounted to write data on, the last file mark in the index partition is
removed and is put back when the volume is unmounted. During mount time, if one file mark
is found at the end of the index partition, the volume is not correctly unmounted. Then, LTFS
uses the recovery procedures to find the latest recorded version of the XML schema to get
the volume to a consistent status.
The XML schema contains a back pointer to the index that describes the previous generation
(Gen-1) of the file system, which contains a back pointer to Gen-2, and so on. This pattern
continues until the earliest generation of the index is reached. Although initially designed as a
recovery mechanism, this feature makes LTFS a convenient versioned file system. Data files
are never overwritten or erased from the tape until the tape is reformatted.
The following examples specify the XML schema. Attributes with square brackets are
optional, and attributes that end in an ellipsis (...) are optionally repeatable. Attribute values in
braces indicate that one of a series of values must be chosen, with the default value
underlined.
LTFS label
The LTFS label is an XML data structure that describes information about the LTFS volume
and the LTFS partition on which the LTFS label is recorded. See Example 2-1.
Index
An index is an XML data structure that describes all data files, directory information, and
associated metadata for files that are recorded on the LTFS volume. See Example 2-2 and
Example 2-3.
<xs:simpleType name="blocksize">
<xs:restriction base="xs:integer">
<xs:minInclusive value="4096"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="version">
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]+\.[0-9]+\.[0-9]+"/>
<xs:enumeration value="2.0.0"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="datetime">
<xs:restriction base="xs:string">
<xs:pattern
value="[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]
<xs:simpleType name="uuid">
<xs:restriction base="xs:string">
<xs:pattern
value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-
[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
<xs:element name="directory">
<xs:complexType>
<xs:all>
<xs:element name="fileuid" type="xs:nonNegativeInteger"/>
<xs:element name="name" type="xs:string"/>
<xs:element name="creationtime" type="datetime"/>
<xs:element name="changetime" type="datetime"/>
<xs:element name="modifytime" type="datetime"/>
<xs:element name="accesstime" type="datetime"/>
<xs:element name="backuptime" type="datetime"/>
<xs:element name="file">
<xs:complexType>
<xs:all>
<xs:element name="fileuid" type="xs:nonNegativeInteger"/>
<xs:element name="name" type="xs:string"/>
<xs:element name="length" type="xs:nonNegativeInteger"/>
<xs:element name="creationtime" type="datetime"/>
<xs:element name="changetime" type="datetime"/>
<xs:element name="modifytime" type="datetime"/>
<xs:element name="accesstime" type="datetime"/>
<xs:element name="backuptime" type="datetime"/>
<xs:element name="readonly" type="xs:boolean"/>
<xs:element ref="extendedattributes" minOccurs="0"/>
<xs:element name="extentinfo" minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="extent">
<xs:complexType>
<xs:all>
<xs:element name="partition" type="partitionid"/>
<xs:element name="startblock"
type="xs:nonNegativeInteger"/>
<xs:element name="byteoffset"
type="xs:nonNegativeInteger"/>
<xs:element name="bytecount"
type="xs:positiveInteger"/>
<xs:element name="fileoffset"
type="xs:nonNegativeInteger"/>
</xs:all>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
<xs:element name="extendedattributes">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:complexType name="policy">
<xs:sequence>
<xs:element name="indexpartitioncriteria">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="size" type="xs:nonNegativeInteger"/>
<xs:element name="name" type="xs:string" minOccurs="0"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="tapeposition">
<xs:all>
<xs:element name="partition" type="partitionid"/>
<xs:element name="startblock" type="xs:nonNegativeInteger"/>
</xs:all>
</xs:complexType>
<xs:simpleType name="version">
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]+\.[0-9]+\.[0-9]+"/>
<xs:enumeration value="2.0.0"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="datetime">
<xs:restriction base="xs:string">
<xs:simpleType name="partitionid">
<xs:restriction base="xs:string">
<xs:pattern value="[a-z]"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="uuid">
<xs:restriction base="xs:string">
<xs:pattern
value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-
[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
Figure 2-12 New index with a back pointer to the previous index
3. LTFS switches the partitions and writes the cached file f3 to the index partition
(Figure 2-13). The file marks that are used to delimit the previous XML schema (Index #0
at the index partition) are overwritten by the f3 file.
Any writer of an LTFS volume can use reserved extended attribute names to store extended
attribute values only in conformance with the following tables.
Software metadata
Table 2-2 lists the names of the defined, reserved extended attributes for the software
metadata.
ltfs.softwareVendor Read only Files and directories This name is the software
vendor name of this LTFS
program. The LTFS
program returns IBM.
ltfs.softwareProduct Read only Files and directories This name is the product
name of the LTFS program.
The LTFS program returns
LTFS SDE.
ltfs.softwareVersion Read only Files and directories This name is the version
number of this LTFS
program.
ltfs.softwareFormatSpec Read only Files and directories This name is the format
specification version that is
supported by this LTFS
program.
Object metadata
Table 2-3 lists the names for the defined, reserved extended attributes of the object metadata.
ltfs.accessTime read/write Files and directories This value is the date N/A
and time of the last
access to the object.
ltfs.backupTime read/write Files and directories This value is the date N/A
and time of the last
archive or backup of
the object.
ltfs.changeTime read/write Files and directories This value is the date N/A
and time of the last
status change to the
object.
ltfs.createTime read/write Files and directories This value is the date ltfs.creationtime
and time that the
object was created.
ltfs.modifyTime read/write Files and directories This value is the date N/A
and time of the last
object modification.
Volume metadata
Table 2-4 lists the defined, reserved extended attributes for the volume metadata.
ltfs.indexCreator Read only Root directory This string is the creator N/A
only string for the index. This
string provides a
human-readable identifier
for the product that
generated the index.
ltfs.indexGeneration Read only Root directory This number is the last ltfs.index_generation
only index generation number
that is written to the tape.
ltfs.indexLocation Read only Root directory This value is the location of N/A
only the last index on the
medium in the form p:1,
where p is an alphabetic
character value that
indicates the internal LTFS
partition identifier, and 1 is
the logical block number
within the partition. For
example, the value a:1000
indicates that the last index
starts on partition “a” at
logical block 1000.
ltfs.indexTime Read only Root directory This value is the date and ltfs.index_time
only time when the last LTFS
index is written to the
medium.
ltfs.labelCreator Read only Root directory This value is the creator N/A
only string for the LTFS label.
This string provides a
human-readable identifier
for the product that
generated the LTFS label.
ltfs.partitionMap Read only Root directory This value is the only N/A
only medium partition layout for
the LTFS volume. The form
of the value is W:x,Y:z
where W and Y have the
value I, indicating an index
partition, or D, indicating a
data partition. The
alphabetic character values
x and y indicate the internal
LTFS partition identifier. For
example, the value I:a,D:b
indicates that LTFS partition
“a” is used as the index
partition, and LTFS partition
“b” is used as the data
partition.
ltfs.policyMaxFileSize Read only Root directory This value is the maximum ltfs.policy_maxfilesize
only file size for files that match
the data placement policy
for the volume.
ltfs.sync Write only Root directory Writing any value to this N/A
only extended attribute initiates
a file system sync on any
implementation that
supports this extended
attribute.
ltfs.volumeBlocksize Read only Root directory This block size is used on ltfs.volume_blocksize
only read/write operations as
specified at the time of
formatting.
ltfs.volumeFormatTime Read only Root directory This value is the date and ltfs.volume_format_time
only time when the volume was
formatted.
ltfs.volumeSerial Read only Root directory This value is the tape serial ltfs.tape_serial
only number as specified at the
time of formatting.
ltfs.volumeUUID Read only Files and This value is the Universally ltfs.volume_uuid
directories Unique Identifier that is
assigned to the tape
medium.
ltfs.mediaBeginningMediumPasses Read only Root directory only This value is the total number of
times the beginning of a medium
position is passed. If the storage
hardware cannot report this data,
the value is -1.
ltfs.mediaDatasetsRead Read only Root directory only This value is the total number of data
sets read from the medium over its
lifetime. If the storage hardware
cannot report this data, the value
is -1.
ltfs.mediaDataPartitionAvailableSpace Read only Root directory only This value is the total available
space in the data partition on the
medium. The value is an integer
count that is measured in units of
1048576 bytes.
ltfs.mediaDataPartitionTotalCapacity Read only Root directory only This value is the total capacity of the
data partition on the medium. The
value is an integer count that is
measured in units of 1048576 bytes.
ltfs.mediaDatasetsWritten Read only Root directory only This value is the total number of data
sets written to the medium over its
lifetime. If the storage hardware
cannot report this data, the value
is -1.
ltfs.mediaEfficiency Read only Root directory only This value is the overall measure of
the condition of the loaded medium.
The value 0x00 indicates that the
condition is unknown. The range of
known values is from 0x01 (best
condition) to 0xFF (worst condition).
If the storage hardware cannot
report this data, the value is -1.
ltfs.mediaIndexPartitionAvailableSpace Read only Root directory only This value is the total available
space in the index partition on the
medium. The value is an integer
count that is measured in units of
1048576 bytes.
ltfs.mediaIndexPartitionTotalCapacity Read only Root directory only This value is the total capacity of the
index partition on the medium. The
value is an integer count that is
measured in units of 1048576 bytes.
ltfs.mediaLoads Read only Root directory only This value is the number of times
that the medium is loaded in a drive.
For example, with tape media, this
value is the tread count. If the
storage hardware cannot report this
data, the value is -1.
ltfs.mediaMBRead Read only Root directory only This value is the total number of
megabytes of logical object data that
is read from the medium after
compression over its lifetime. The
value is rounded up to the next
whole megabyte. The value that is
reported includes bytes read as part
of reading file marks from the
medium. If the storage hardware
cannot report this data, the value
is -1.
ltfs.mediaMBWritten Read only Root directory only This value is the total number of
megabytes of logical object data that
is written to the medium after
compression over its lifetime. The
value is rounded up to the next
whole megabyte. The value that is
reported includes bytes written as
part of writing file marks to the
medium. If the storage hardware
cannot report this data, the value
is -1.
ltfs.mediaMiddleMediumPasses Read only Root directory only This value is the total number of
times that the physical middle
position of the user data region of a
medium is passed. If the storage
hardware cannot report this data,
the value is -1.
ltfs.mediaPermanentReadErrors Read only Root directory only This value is the total number of
unrecovered data read errors over
the lifetime of the medium. This
value is the total number of times
that a read-type command
terminated with a sense key of
MEDIUM ERROR, HARDWARE
ERROR, or equivalent over its
lifetime. If the storage hardware
cannot report this data, the value
is -1.
ltfs.mediaPermanentWriteErrors Read only Root directory only This value is the total number of
unrecovered data write errors over
the lifetime of the medium. This
value is the total number of times
that a write-type command
terminated with a sense key of
MEDIUM ERROR, HARDWARE
ERROR, or equivalent over the
lifetime of the medium. If the storage
hardware cannot report this data,
the value is -1.
ltfs.mediaPreviousPermanentReadErr Read only Root directory only This value is the total number of
ors unrecovered read errors that
occurred during the previous load of
the medium. This value is the total
number of times that a read-type
command terminated with a sense
key of MEDIUM ERROR,
HARDWARE ERROR, or equivalent
during the previous load session. If
the storage hardware cannot report
this data, the value is -1.
ltfs.mediaPreviousPermanentWriteErro Read only Root directory only This value is the total number of
rs unrecovered write errors that
occurred during the previous load of
the medium. This value is the total
number of times that a write-type
command terminated with a sense
key of MEDIUM ERROR,
HARDWARE ERROR, or equivalent
during the previous load session. If
the storage hardware cannot report
this data, the value is -1.
ltfs.mediaRecoveredReadErrors Read only Root directory only This value is the total number of
recovered read errors over the
lifetime of the medium. If the storage
hardware cannot report this data,
the value is -1.
ltfs.mediaRecoveredWriteErrors Read only Root directory only This value is the total number of
recovered data write correction
errors over the lifetime of the
medium. If the storage hardware
cannot report this data, the value is
-1.
ltfs.mediaStorageAlert read/write Root directory only This value is a 64-bit value that
contains alert flags for the storage
system. For data tape media, this
value is equal to the standard tape
alert flags. If the storage hardware
cannot report this data, the value is
the string “UNKNOWN.” By writing a
value of 1, the corresponding bit is
cleared. By writing a value of 0, the
current value is retained.
IBM System Storage Advanced data (JC) 4000/12000 GB (E07 69E (D3I3_69E) or later
TS1140 Tape Drived Format)
To learn more about fixes and updates for your system software, hardware, and operating
system, see the Fix Central website:
http://www.ibm.com/support/fixcentral
Supported operating systems (x86 Red Hat Enterprise Linux Server 5.5, 5.6, 5.7, 5.8, 6.1, and 6.2
and x86_64 only)
Novell SUSE Linux Enterprise Server 11 Service Pack (SP) 1 and SP2
TS2900 (1U), TS3100 (2U), TS3200 (4U), TS3310, and TS3500 tape libraries
with LTO-5 and later generation LTO drives:
Library firmware level: latest
Drive firmware level:
- LTO-5: C7R2 or later for full height; C7R3 or later for half height
- LTO-6: C7S4 or later for full height; C7S5 or later for half height
WORM media is not supported.
1 GB (0.93 GiB) of available RAM for each 1,000,000 files that are stored on a
tape (The on-disk metadata storage (dcache) utilizes the loop device on the
file system. When using dcache, the maximum number of files and directories
depends on the file system that is used and the dcache image size, which, in
turn, affects the amount of additional RAM that is required. The following file
and directory limits exist for each file system:
ext3 file system: 130,000 files (and directories) per gibibyte (GiB)
ext4 file system: 65,000 files (and directories) per gibibyte (GiB)
By default, LTFS reserves 5.37 GB (5 GiB) of disk space for the dcache image
for each mount point. If the file system is ext4, LTFS can manage up to
325,000 files (65,000 x 5) under the mount point.
Note: The ext3 file system is used on RHEL 5.5, 5.6, 5.7, and 5.8, and SUSE
11.1, by default. The ext4 file system is used on RHEL 6.1 and 6.2, by default.)
5.91 GB (5.5 GiB) of available disk space (if on-disk metadata storage is
enabled)
TS2900 (1U), TS3100 (2U), TS3200 (4U), TS3310, and TS3500 tape libraries with
LTO-5 and later generation LTO drives:
Library firmware level: latest
Drive firmware level:
- LTO-5: C7R2 or later for full height; C7R3 or later for half height
- LTO-6: C7S4 or later for full height; C7S5 or later for half height
WORM media is not supported.
1 GB (0.93 GiB) of available RAM for each 1,000,000 files that are stored on a tape
Important:
LTFS LE generates a volume for every cartridge in the library.
LTO media can be loaded only to LTO-5 and LTO-6 drives that are installed in the
library.
The TS2900 Tape Autoloader supports the Half-High tape drive.
LTFS LE supports only the random mode for TS2900 Tape Autoloader, TS3100 Tape
Library, and TS3200 Tape Library.
In a TS3500 Tape Library, you can have a mixture of LTO-5 and LTO-6 drives in one
logical library. The limiting factor in this case is that all tapes must be LTO-5 media. The
TS1140 and the LTO-5 and LTO-6 cannot be in the same logical library.
LTFS LE supports Control Path Failover (CPF).
Python: The ltfsadmintool script does not run on Python version 3.0 or later.
To learn more about fixes and updates for your system software, hardware, and operating
system, see the Fix Central website:
http://www.ibm.com/support/fixcentral
Symbolic links: It is possible to access symbolic links that are created in another platform
(Linux or OS X); however, it is not possible create a symbolic link with Windows.
Symbolic links
The following limitations exist when you use symbolic links on a Windows system:
The user cannot create a new symbolic link between another file system and LTFS.
The user cannot create a new symbolic link in LTFS.
The user cannot delete a symbolic link in LTFS.
The user cannot rename a symbolic link in LTFS.
Accessing the symbolic link is always forwarded to the target of the link.
The target of the link is shown as a file, even if it is a directory.
The target of the link is not shown.
4. Click Yes when the message “Do you want to allow the following program to make
changes to this computer?” displays.
5. Follow the program instructions until the installation is completed. See Figure 2-17.
4. Click Yes when the message “Do you want to allow the following program to make
changes to this computer?” displays.
5. Follow the installer instructions until the installation is completed. See Figure 2-19 and
Example 2-20 on page 161.
Emulex adapter: If the HBA that is attached to the tape library is an Emulex adapter,
set the HBA configuration parameter "ExtTransferSize"=2 for Windows 2008 R2 by
using the Emulex OneCommand Manager.
Installation procedure
Complete the following steps to install the tape device driver:
1. Download the current version of the device driver from the IBM Fix Central portal:
a. Open the following URL in your web browser:
http://www.ibm.com/support/fixcentral
b. For Product Group, select System Storage.
c. For System Storage, select Tape systems.
d. For Tape systems, select Tape drivers and software.
e. For Tape drivers and software, select Tape device drivers.
f. For Platform, to download the latest version of atape, select the correct platform.
g. Click Continue.
h. Select the version that you want to download.
i. Follow the instructions on the Fix Central download page to download the new version.
2. Download the PDF document, IBM Tape Device Drivers Installation and User’s Guide,
GC27-2130-10, from the IBM Support portal:
a. Open the following URL in your web browser:
http://www.ibm.com/support/us/en/
b. Enter the guide name in the Search support text box and then click the blue button.
c. Click IBM Tape Device Drivers Installation and User’s Guide.
d. Click Device_Driver_IUG. PDF to download the user’s guide.
e. Follow the procedures in the guide to install the tape device driver.
4. Follow the installer instructions until the installation is completed. See Figure 2-22 and
Figure 2-23 on page 139.
d. If you click Change, the Change Current Destination Folder window displays the
following options. Either choose a folder from the Look in menu (Figure 2-28) or set the
folder name from the Folder name text box.
Changes: If you want to change an installation parameter, click Back, and then
follow the same steps that got you to step g.
g. Click Install to display the “Installing IBM Linear Tape File System Library Edition”
window.
Progress: You can track the progress of the installation by viewing the status bar.
h. Click Yes when the User Account Control window displays the message “Do you want
to allow the following program to make changes to this computer?” When the
installation completes, the InstallShield Wizard Completed window displays
(Figure 2-30).
i. Click Finish and then Yes when the “Installing IBM Linear Tape File System Library
Edition Installer Information” window displays to restart the system to launch LTFS.
See Figure 2-31 and Figure 2-32.
Administrator: If you log on to the system as a user account, the User Account Control
window displays. You must type an administrator password to proceed to the next step
and then click Yes.
4. If the message “All LTFS tape libraries must be unmounted before uninstalling
LTFS program” displays, unmount all tape libraries from LTFS by using the ltfsunmount
command, and then try again. If this message does not display, proceed to step 5.
5. Click OK when either of the following messages displays:
– “The following applications should be closed before continuing the uninstall.”
– “The setup was unable to automatically close all required applications.”
Progress: Use the status bar to track the progress of the uninstall.
6. Restart the system to completely remove the LTFS program from your operating system.
Tip: The ltfsadmintool script does not run on Python version 3.0 or later.
For information about connectivity and supported configurations, see the IBM System
Storage Interoperation Center (SSIC) website:
http://www.ibm.com/systems/support/storage/config/ssic/
Emulex adapter: If the HBA that is attached to the tape library is an Emulex adapter, add
one of the following lines to the /etc/modprobe.conf file (for RHEL 5.5, 5.6, 5.7, or 5.8) or
to the /etc/modprobe.d/lpfc.conf file (for RHEL 6.1, 6.2, and SLES 11). Then, restart the
system for the changes to take effect.
For RHEL 6.1, 6.2, and SLES 11, add this line:
options lpfc lpfc_sg_seg_cnt=256
When the LTFS commands are used, error and trace information is recorded by using the
system log mechanism. This mechanism is disabled by default. To enable the LTFS system
log and locate additional information about LTFS logs, follow these steps:
1. Log on to the operating system as root.
2. Edit the system log configuration file on any available editor to enable the system log.
Apply one of the following edits, depending on your base system. See Example 2-8.
For RHEL 5.5, 5.6, 5.7, or 5.8 add the following line to /etc/syslog.conf
user.* /var/log/userlog
For RHEL 6.1, 6.2, or SLES 11 add the following line to /etc/rsyslog.conf
:msg, contains, "LTFS" /var/log/ltfs.log
3. Enable the setting by restarting syslog (for RHEL 5.5, 5.6, 5.7, or 5.8) or ryslog (for RHEL
6.1, 6.2, or SLES 11). Issue the following command:
/etc/init.d/syslog restart
4. Open the /etc/logrotate.d/syslog file on any available editor (see Example 2-9). Add or
edit the following lines.
Table 2-9 describes the logging command options, types of results, and reasons to use the
command options.
No option designated Any Error, warning, and LTFS is designed to use this
information messages are default setting to isolate any
logged and reported. This problem that occurs and to
option is the default setting. identify the appropriate action.
-o quiet ltfs Error and warning messages The quiet option can be used
are logged and reported. to improve performance by
-q or --quiet ltfsadmintool -f -- reducing the level and number
of messages logged and
ltfsadmintool -c -- reported.
-o trace ltfs Error, warning, information, The trace option can be used
and trace messages are if intermittent errors occur, or
-t or --trace ltfsadmintool -f -- logged and reported. the default log information is
insufficient to reproduce the
-a or --trace ltfsadmintool -c --
problem in the IBM lab. The
trace option is set under these
special conditions to gather
additional information to help
re-create and solve the
problem.
Logging command options: The ltfsadmintool does not support logging command
options, but when the -f option or -c option is specified, the logging command options for
mkltfs and ltfsck functions can be specified after the -- tag. See “Optional mkltfs
parameters” on page 191 and “Optional ltfsck parameters” on page 194.
For more information about how to set the log trace level, see the LTFS LE information center
and search for “setting log trace level”:
http://publib.boulder.ibm.com/infocenter/ltfsle/cust/index.jsp
Latest information: Information in the readme and install files that are provided with the
LTFS LE distribution package supersedes information that is presented and the information
in the information center.
Ensure that the following steps are completed before you begin to create a binary rpm
package:
1. Log on to the operating system as root.
2. Confirm the execution permission of ltfs-2.1.1-[revision].bin (Example 2-10) by
issuing the following command:
# ls -l ltfs-2.1.1-[revision].bin
3. Set the execution permission, if it is not already set, by issuing the following command:
# chmod +x ltfs-2.1.1-[revision].bin
After you verify the execution permission, complete the following steps to extract the binary
rpm files:
1. Run the binary file on the system by following the steps that are shown in step 2 of the
preceding list. You can launch it on a terminal by issuing the following command in the
directory in which the file resides:
# ./ltfs-2.1.1-[revision].bin
For example, if you want to install LTFS rpm files for revision 201109201, by using a Red Hat
Linux distribution on a 64-bit architecture, the following files in the rpm folder are required:
ltfs-2.1.1-201109021-RHEL61.i386.rpm
ltfs-license-2.1.0-201109021-RHEL61.i386.rpm
ltfs-library-2.1.1-2011009201-RHEL561.i386.rpm
ltfs-admin-utils-2.1.1-201109201.noarch.rpm
ltfsadmintool utility: LTFS LE does not support remote access by using the
ltfsadmintool utility. Port 2112 must be blocked by a firewall program. If this port is set as
a trusted port by using a firewall program, remove port 2112 as the trusted port before you
install LTFS.
Installing the binary rpm files: Install the binary rpm files by following the procedure in
“Select the rpm files that correspond to your platform.” on page 149.
3. Run these commands in the following sequence to install the rpm packages:
# rpm -ihv ./ltfs-license-2.1.0-[platform].[architecture].rpm
# rpm -ihv ./ltfs-2.1.2-[revision]-[platform].[architecture].rpm
# rpm -ihv ./ltfs-library-2.1.2-[revision]-[platform].[architecture].rpm
# rpm -ihv./ltfs-admin-utils-2.1.2-[revision].noarch.rpm
Required: It is required to install the ltfs-license rpm file before you install the other
packages. It is required to install the ltfs rpm file before you install the ltfs-library file.
The commands are the same, whether you install for the first time or upgrade the
rpm file. For example, if you install the ltfs-library rpm, revision 201111110, by using
a Red Hat Linux distribution 6.1 on a 64-bit architecture, you issue the following
command:
# rpm -ihv ./ltfs-library-2.1.2-201111110-RHEL61.x86_64.rpm
4. Optional: Run the following commands to verify the current version of LTFS LE:
# rpm -q ltfs-license
# rpm -q ltfs
# rpm -q ltfs-library
# rpm -q ltfs-admin-utils
5. Run these commands in the following sequence to upgrade the binary rpm package:
# rpm -Uhv ./ltfs-2.1.2-[revision]-[platform].[architecture].rpm
# rpm -Uhv ./ltfs-library-2.1.2-[revision]-[platform].[architecture].rpm
# rpm -Uhv ./ltfs-admin-utils-2.1.2-[revision].noarch.rpm
6. Optional: Run the following commands to verify the current version of LTFS LE:
# rpm -q ltfs-license
# rpm -q ltfs
# rpm -q ltfs-library
# rpm -q ltfs-admin-utils
Trials: If you uninstall to upgrade to a higher version, keep the license module
installed. You cannot install an upgrade package without the license module. If you
have a license module for a trial version and the license expires, LTFS works in
read-only mode. To use all LTFS functions, uninstall the trial license module and install the
license module for the product version.
Optional: The extracted rpm files for those operating systems other than your system can
be deleted. Retain the rpm files that belong to LTFS LE for your operating system in case
you need to reinstall.
The following commands (Table 2-10) are used for common and basic tasks, such as
mounting and unmounting a library, displaying available libraries, and managing LTFS.
ltfs.exe This command starts LTFS to mount a tape library. A drive letter must be
specified.
ltfsadmintool This command is used to manage LTFS. It is used for operations, such as
formatting a medium, checking a medium, and importing or exporting a
medium. Python must be installed to use this tool.
Drive letter: The ltfs.exe command on a Windows system requires a drive letter.
There is no rule for the order of the options that are used with the ltfs.exe command.
However, the drive letter must be after any options. The last argument for the ltfs.exe
command must be the drive letter.
Important: To enable any of these options, specify them with the mount command.
4. Double-click the LTFS icon to display the directories that correspond with the tape
cartridges (Figure 2-34).
5. Right-click the LTFS icon to display the properties panel and view configuration
information, such as the LTFS version, tape library ID, tape library serial number, and the
tape library firmware version. The Properties panel (Figure 2-35 on page 156) also
displays recent error or warning messages.
Unmounting LTFS
Before you proceed with this task, close all the files and directories on LTFS. If a user tries to
shut down Windows without unmounting LTFS, a warning message displays to notify the user
that LTFS is still running. The ltfsunmount.exe command requires a drive letter that is used
by the ltfs.exe command.
Issue the ltfsunmount.exe command with the drive letter to unmount LTFS as shown in the
following example:
ltfsunmount.exe DriveLetter
Important: Before the library is mounted, a mount point, such as /mnt/ltfs, must be
created. The user must be given write access permission. If you want to mount more than
one library device, unique mount points must be created for each device. For example, you
can create mount point /mnt/ltfs0 for library device /dev/IBMchanger0 and then create
mount point /mnt/ltfs1 for library device /dev/IBMchanger1.
If multiple tape libraries are connected to the system, a library device name, such as
/dev/IBMchanger0, can be changed after you disconnect the cable. To avoid this situation,
see the information about persistent naming support in the IBM Tape Device Driver
Installation and User’s Guide, GC27-2130.
To mount a tape library as a normal (nonroot) user, the following steps are required to be
performed by a root user:
1. Open a terminal and become a superuser.
2. Create a mount point directory, such as /mnt/ltfs, and set the write permission to the
directory.
Important: Unique mount points must be created for each library device.
3. Create a work directory, such as /tmp/ltfs (the default work directory) and set the write
permission to the directory.
4. Set the write permission to a library device, such as /dev/IBMchanger0. This permission is
reset to default on boot, so it is necessary to change permission to this device on every
boot.
In Example 2-14, instead of setting permission to the library device on every boot as
mentioned in step 4, set the permission to the tape library devices and the tape drives
permanently to 666. Add the following lines in the /etc/udev/rules.d/98-lin_tape.rules
file.
6. Share the tape library. If you want to share the tape library with another user, add the
user_allow_other option in the /etc/fuse.conf file.
7. Mount the tape library (Example 2-16). If you want to mount the tape library as a user
other than a superuser and allow another user to access the file system, add the -o
allow_other option:
ltfs /mnt/ltfs -o changer_devname=/dev/IBMchanger0 -o allow_other
Example 2-16 LTFS LE mount command with -o option to allow another user
ltfs -o changer_devname=/dev/IBMchanger0 /mnt/ltfs
LTFS14000I LTFS starting, LTFS version 2.1.2.0 (2200), log level 2
LTFS14058I LTFS Format Specification version 2.1.0
LTFS14104I Launched by "ltfs -o changer_devname=/dev/IBMchanger0 /mnt/ltfs"
LTFS14105I This binary is built for Linux (x86_64)
LTFS14106I GCC version is 4.3.4 [gcc-4_3-branch revision 152973]
LTFS17087I Kernel version: Linux version 3.0.13-0.27-default (geeko@buildhost)
(gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) ) #1 SMP Wed
Feb 15 13:33:49 UTC 2012 (d73692b) x86_64
LTFS17089I Distribution:
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:co
re-3.2-x86_64:core-4.0-x86_64"
LTFS17089I Distribution: SUSE Linux Enterprise Server 11 (x86_64)
LTFS14063I Sync type is "time", Sync time is 300 sec
LTFS17085I Plugin: Loading "ibmtape" driver
LTFS17085I Plugin: Loading "unified" iosched
LTFS17085I Plugin: Loading "ibmtape" changer
LTFS17085I Plugin: Loading "ondemand" dcache
LTFS11593I LTFS starts with a product license version (2011110430)
LTFS12165I lin_tape version is 1.74.0
LTFS12118I Changer identification is '3573-TL '
LTFS12162I Vendor ID is IBM
LTFS12159I Firmware revision is Bd50
LTFS12160I Changer serial is 00L4U78C6339_LL1
LTFS12196E IOCTL: INQUIRY PAGE -1056947426 failed -20501 (err 22)
00L4U78C6339_LL1
LTFS12165I lin_tape version is 1.74.0
LTFS12158I Opening a device through ibmtape driver (/dev/IBMtape0)
LTFS12118I Drive identification is 'ULT3580-HH6 '
LTFS12162I Vendor ID is IBM
LTFS12159I Firmware revision is C9C1
LTFS12160I Drive serial is 1068000264
LTFS17160I Maximum device block size is 1048576
LTFS12165I lin_tape version is 1.74.0
LTFS12158I Opening a device through ibmtape driver (/dev/IBMtape1)
LTFS12118I Drive identification is 'ULT3580-HH6 '
8. When the tape library is mounted, cartridges in the library can be accessed as
subdirectories under the mount point /mnt/ltfs (Example 2-17).
In this example, three tape volumes are under the mount points D00200L5 and D00346L5.
The following examples show the mounted file systems, their contents, and how to use them
to move, copy, delete, and touch files by using CLI commands. We defined two mount points
for LTFS LE: /mnt/double and /mnt/lto5. Mount point /mnt/double relates to
/dev/IBMchanger0. Mount point /mnt/lto5 relates to /dev/IBMchanger1.
2. Example 2-20 shows the contents of the LTFS mount points after the /dev/IBMchanger1
library is mounted. The content of the /mnt/double is zero (0). The /mnt/lto5 mount point
contains three cartridges: 1FA554L5, 1FA563L5, and 1FA851L5.
3. Use the following command to check and load cartridge 1FA554L5. The cartridge is
loaded to any available drive by the library accessor. Example 2-21 shows the cartridge
1FA554L5 is loaded to /dev/IBMtape2.
4. After the 1FA554L5 cartridge is loaded, you can view the contents of the cartridge in the
/mnt/lto5/1FA554L5 folder by using the following command:
ls -l /mnt/lto5/1FA554L5
Example 2-22 shows the result.
5. Copy the file that you want from a directory to the /mnt/lto5/1FA554L5 folder by using the
following command:
cp Mauro_Tests /mnt/lto5/1FA554L5
Example 2-23 shows the result.
6. After you copy the file from the root directory Mauro_LTFS_LE_Tests to the
/mnt/lto5/1FA554L5 folder, you can view its contents by using the following command:
ls -l /mnt/lto5/1FA554L5
Example 2-24 shows the result.
8. To touch the cartridge and create more files, use the following command:
touch Mauro_Test1 Mauro_Test2 Mauro_Test3
Example 2-26 shows the result.
The touch command: The touch command is the easiest way to create new, empty
files. You can also use it to change the time stamps (that is, the dates and times of the
most recent access and modification) on existing files and directories.
9. Several touch command options are designed to allow users to change the time stamps
for files. For example, the -a option changes only the access time. The -m option changes
only the modification time. By using both of these options together, you can change both
the access time and the modification time to the current time. Use the following command
to change the access and modification time for the Mauro_Tests file.
touch -am Mauro_Tests
Example 2-27 shows the result.
Example 2-27 Change access and modification times for file Mauro_Tests
[root@double 1FA554L5]# touch -am Mauro_Tests
----------- See access and modification time for file Mauro_Tests -------------
[root@double 1FA554L5]# ls -l
10.To delete a file from the cartridge, use the following command:
rm Mauro_Test3
Example 2-28 shows the result.
Configuring NFS and testing remote access to LTFS LE are explained. Basic knowledge of
UNIX is assumed. Additional NFS security measures that are needed to be set up in a
production environment are not described. Follow these steps:
1. On the server that runs LTFS LE, edit the /etc/exports file. Add an entry to give everyone
read and write access to the LTFS file system (use a random fsid). See Example 2-29.
Similarly, by installing and configuring Samba on the LTFS LE server, you can enable remote
access to the LTFS file system from Windows servers. We tested enabling remote access to
the LTFS file system by using Windows 7 Professional, but it also works with Windows 2008.
Figure 2-36 shows a view of the LTFS LE file system running on a Linux Red Hat server using
Windows Explorer on Windows 7 Professional.
After the cartridge is loaded, you can view its contents. You can drag and drop any type of file
(backup files, text files, video files, and audio files) into the tape cartridge.
To unmount the library, use the CLI commands from a terminal window. There is no option
that is available from the Linux GUI that permits you to unmount the library.
Unmounting a library
Unmounting a library on LTFS LE is described.
All files that are in use on cartridges in the tape library must be closed before a library can be
unmounted. The library can be forcibly unmounted by using the force option (-f).
Caution: Using the force option (-f) can result in data loss.
Use one of the following commands to unmount a library from a mount point:
umount /mnt/ltfs
fusermount -u /mnt/ltfs
The unmount command (umount) flushes all buffered data to the cartridges in the tape library
before it unloads the cartridge. After the flushing operation is complete, LTFS updates
inventory information and unmounts the library from the mount point.
As shown in the following example, the success of the removal operation can be confirmed by
issuing the ltfsadmintool command with the -i or --tape-inventory option:
ltfsadmintool -i
Failed to connect to the server.
Or, you can issue the ps command to check whether the process is terminated:
ps aux | grep ltfs
If a user other than the administrator attempts to access LTFS, the unmount command
(umount) and the fusermount -u command cannot be issued to unmount the tape library from
the file system. See Example 2-32.
You can identify the current user of LTFS by issuing the /sbin/fuser command; see
Example 2-33.
Important: The (address:port) part of the command points to the library server. If this
command is initiated on the library server by using the default setting, localhost:2112 must
be specified.
When LTFS LE mounts the library, all tape drives are inventoried. After the library is mounted,
the user must issue the ltfsadmintool command. This command allows the user to manage
the library and correct a problem if one occurs. For more information, see 2.3.6, “Managing a
library by using the ltfsadmintool command” on page 175.
Complete the following steps to remove a tape drive from the library and to add a tape drive:
1. Unmount the tape library on LTFS. For more information, see “Managing a library by using
the ltfsadmintool command” on page 175.
2. Physically remove the tape drive from the tape library. For information about how to
remove the drive, see the Setup, Operator, and Service Guide for your tape library at this
website:
http://www.ibm.com/support/fixcentral
3. Observe the preferred practices by issuing the following commands to initialize the
software stack of the device drivers. LTFS LE uses lpfc as an HBA driver:
– On Linux systems, issue the following commands to initialize the software stack of the
device drivers:
i. lin_taped stop (Stop the tape device driver daemon)
ii. rmmod lin_tape (Remove the tape device driver)
iii. rmmod lpfc (Remove the HBA driver)
iv. modprobe lpfc (Reload the HBA driver)
v. modprobe lin_tape (Load the tape device driver)
vi. lin_taped start (Load the tape device driver daemon)
– On Windows systems, perform the following steps:
i. Uninstall the Windows device driver.
ii. Reboot the Windows server.
iii. Reinstall the Windows device driver.
4. Mount the tape library on LTFS. For more information, see “Mounting a library on a Linux
system” on page 158.
When LTFS LE mounts the library, all tape drives are inventoried to it. After the library is
mounted, the user must issue the ltfsadmintool command. With this command, the user can
manage the library and correct a problem if one occurs. For more information, see 2.3.6,
“Managing a library by using the ltfsadmintool command” on page 175.
Complete the following steps to remove a tape drive from the library and to add a tape drive to
the library:
1. On Linux systems, remove the tape drive from the LTFS inventory by specifying the -r or
--remove option. A medium in the tape drive is automatically moved to the home slot (if a
home slot exists) as shown in the following example:
$ ltfsadmintool -d (DRIVE SERIAL NUMBER) -r
Resource: You can download the Setup and Operator guides from the following
website:
http://www.ibm.com/support/fixcentral
After you repair a tape drive, or when you replace or install a new tape drive, add the tape
drive to the library.
On Linux systems, add the tape drive to the LTFS inventory by specifying the -a or --add
option as shown in the following example:
$ ltfsadmintool -d (DRIVE SERIAL NUMBER) -a
On Windows systems, physically add the tape drive to the tape library and then perform the
following steps:
1. Uninstall the Windows device driver.
2. Reboot the Windows server.
3. Reinstall the Windows device driver.
Before you turn on or off tape drive power, you must first prepare the library. Determine which
of the following scenarios applies to your environment. Check the interfaces between the
server personal computer, tape library, and the target tape drive. Use Table 2-11 to determine
which procedure you need to perform:
Scenario one: The server personal computer connects to the target tape drive, and the
target tape drive connects to the tape library. In this case, the target tape drive is used as
a control path. No other tape drive is used as a control path. If another control path is
established, the control path failover feature is disabled.
Scenario two: The server personal computer connects to the target tape drive, and the
target tape drive connects to the tape library. In addition, the server personal computer
connects to another tape drive that also connects to the tape library. The target tape drive
and the other tape drive establish multiple control paths and the control path failover
feature is enabled.
Scenario three: The target tape drive connects only to the tape library and does not
establish a control path.
HBA: In addition to these interface and control path scenarios, the type of HBA affects
how you perform the tape drive power-on or power-off procedure. For details, see
Table 2-11 on page 173.
Procedure
Complete the appropriate steps based on the options that are presented in Table 2-11 on
page 173 to successfully remove or restore power from or to a tape drive:
1. For option A, complete the following prerequisite and post-requisite steps:
a. Before you turn off the tape drive, you must first unmount the tape library from the
mount point.
b. After you turn on the tape drive, you must mount the tape library to the mount point.
3. For option B-2, complete the following prerequisite and post-requisite steps. For this
option, the control path automatically switches to another control path when the target
drive control path is cut off.
a. Before you turn off the tape drive, you must remove the target tape drive from the
library inventory by issuing the ltfsadmintool -r command with the -d or --drive
option.
b. After you turn on the tape drive, you must add the tape drive to the library inventory by
using the ltfsadmintool -a command with the -d or --drive option.
Important: Do not turn off both tape drives that establish the primary and alternate
control paths simultaneously or the control path to the tape library is lost.
An unformatted medium cannot be added to the LTFS file system. You need to format the
medium before you add it by specifying the -f option with the ltfsadmintool command. See
2.4.2, “Formatting a medium by using the ltfsadmintool command” on page 191.
A new cartridge must be added to the LTFS file system to become usable. After it is added,
the cartridge volume serial number (VOLSER) is recognized by the operating system as a
subdirectory. The ltfsadmintool command with the -a or --add option adds a medium to the
LTFS file system. In the following example, we show you the ltfsadmintool command that is
used to add a medium (VOLSER 1FA563L5) to the local library server:
ltfsadmintool -t 1FA563L5 -a
To import a new cartridge, the user inserts the cartridge into the I/O station and close it. The
cartridge is added to the LTFS file system. The cartridge is then moved into the library by
specifying the -a or --add option, as shown in the following example:
ltfsadmintool -t 1FA563L5 -a
Option: As this example shows, the use of the additional -m option is not required. If the
target cartridge is in the I/O station, LTFS implicitly assigns the home slot in the storage
slot and moves the medium to it.
To export a cartridge from the library, the user first move the cartridge from the storage slot to
the I/O station. The user then opens the I/O station and removes the cartridge from the
station. The cartridge can be removed from the LTFS file system and then exported from the
library by specifying the -r or --remove option along with the -m or –move-to option. The
following example shows a command that uses the -m option to export a cartridge:
ltfsadmintool -t 1FA563L5 -r -m ieslot
The ltfsadmintool command is used on Linux and Windows systems to perform the
following operations:
Listing the cartridge location and status
Listing tape drives and drive status
Adding a cartridge to the library
Removing a cartridge from the library
Formatting a cartridge in the library
Checking and recovering or rolling back a cartridge in the library
LTFS LE supports access only from localhost by using the ltfsadmintool command. Port
2112 by default, or a port number that is specified by using the ltfs command with the -o
admin_port option, must be blocked by a firewall program. If this port is set as a trusted
port by using a firewall program, remove it as a trusted port before you use LTFS. To
access the ltfsadmintool command on the server from a remote client personal
computer, log on to the server personal computer by using Secure Shell (SSH).
The first cartridge with bar code label YAM060L5 is in slot 17, which is in the import/export
slot (I/O station). The next two cartridges, YAM061L5 and 068AGWL5, are in slots 256 and
257, which are in the data transfer element (tape drive). The remaining two cartridges,
E2T101L2 and YL0001L5, are in slots 4096 and 4097, which are in the medium storage
element (storage slot).
The status of the first cartridge is Unavailable. The status of the next two cartridges is Valid
LTFS, and the data in the folder is accessible. The status of the next cartridge is
Non-supported, and the cartridge is an older generation or a WORM cartridge. The status of
the last cartridge is Unknown.
Linux
For Linux, use this command:
$ ltfsadmintool -i
Windows
For Windows, use this command:
# python ltfsadmintool -i
Valid LTFS YES The cartridge is valid. The Adding the cartridge by
index file is extracted to using the ltfsadmintool
memory so that some file command with the -a
system requests, such as option is not allowed for
listing directory contents, this cartridge because it
can be processed without is already added to the
mounting a tape medium to file system.
a drive. Moving the cartridge to
the I/O station by using
the ltfsadmintool
command with the -m
ieslot option is not
allowed. The cartridge
must be removed from
the file system by using
the ltfsadmintool
command with the -r
option before you move it
to the I/O station.
Warning Yes A medium error is detected Adding the cartridge by A medium error
while the medium is being using the ltfsadmintool might have occurred.
read. The operations that command using the -a Check the system
can be performed by using option is not allowed for logs or terminal
this cartridge, however, are this cartridge because it console outputs. The
the same as for a Valid is already added to the cartridge status
cartridge. This status is file system. returns to Valid by
reported only when the Moving the cartridge to physically removing
cartridge is Valid. If the the I/O station by using the medium from the
cartridge is any state other the ltfsadmintool library, then adding it
than Valid, the status is command with the -m to the library again.
reported even though the ieslot option is not
cartridge reported a allowed. The cartridge
medium error. must be removed from
the file system by using
the ltfsadmintool
command using the -r
option before you can
move it to the I/O station.
Critical Read- The index on memory is No operation that uses the Back up the data on
only dirty. Data might not be able ltfsadmintool command is the cartridge to
to be written to the tape allowed, except removing the another tape
medium due to the medium cartridge from the file system medium or hard disk
status. The volume is by using the ltfsadmintool drive.
dropped to read-only and command with the -r option. After the backup is
the drive is locked so that complete, remove
the cartridge cannot be the cartridge from
removed. The drive the file system with
scheduler excludes the the -r option.
drive from its scheduling to If the cartridge is not
avoid an unexpected removed, file system
cartridge removal with an performance is
index write failure. The user degraded because
can perform any backup the tape drive with
operation in this state. After the cartridge is
the backup is completed, locked.
the user can remove the
cartridge from the drive by
unlocking the drive by using
the -r option. The cartridge
status then changes to an
“Error” state.
Invalid LTFS No The cartridge is inconsistent Removing the cartridge by Check the cartridge.
with the LTFS format and using the ltfsadmintool For more
must be checked by using command with the -r option information, see
the -c option. is not allowed because the 2.4.3, “Checking or
cartridge is not added to the recovering a medium
file system. by using the
ltfsadmintool
command” on
page 192. If an error
message returns,
see the website:
http://pic.dhe.ibm
.com/infocenter/lt
fsle/cust/topic/co
m.ibm.storage.holl
ywood.doc/ltfs_man
aging_troubleshoot
ing_library_editio
n.html.
Unformatted No The cartridge is not Removing the cartridge by Format the cartridge
formatted and must be using the ltfsadmintool before you use it.
formatted by using the -f command with the -r option See 2.4.2,
option. is not allowed because the “Formatting a
cartridge is not added to the medium by using the
file system. ltfsadmintool
command” on
page 191.
Inaccessible No The cartridge is not allowed No operation that uses the The cartridge might
to move in the library, or ltfsadmintool command is be stuck in the library
might be stuck in the drive. allowed. or in one of the tape
If the cartridge is stuck in drives. The tape
the drive, the drive library or a tape drive
scheduler excludes this must be repaired.
drive from its scheduling.
Error No The cartridge status is No operation that uses the Check the system
“Critical” and the cartridge ltfsadmintool command is logs or terminal
is removed from the library. allowed, except to move the console outputs to
LTFS does not allow the cartridge to another slot by locate the error
cartridge to be added to the using the -m option. message. The
file system again. cartridge status
returns to Valid by
physically removing
the medium from the
library, then adding it
to the library again.
Non-supported No The cartridge is an older No operation that uses the LTFS supports the
generation or a WORM ltfsadmintool command is following tape
cartridge. allowed, except to move the cartridges:
cartridge to another slot by LTO-6
using the -m option. LTO-5
3592 Advanced
data (JC)
3592 Extended
data (JB)
3592 Economy
data (JK)
Cleaning and
WORM cartridges
are not supported.
Check to determine
if the bar code label
of the cartridge is
properly set.
Duplicated No Two cartridges exist with No operation that uses the Export one of the
the same bar code. ltfsadmintool command is cartridges with the
allowed. same bar code label
from the library.
Linux
For Linux, use this command:
$ ltfsadmintool -I
Windows
For Windows, use this command:
# python ltfsadmintool -I
Examples:
The drive serial numbers in these examples are 1168001144, 1068000264, and
1068000256.
Beginning with code level 2.1.2, the drive type is also displayed.
[ULTRIUM-TD6]
[ULT3580-HH6]
[ULTRIUM-TD5]
[ULT3580-HH5]
Unavailable The drive is removed from the library inventory by The status changes to Available by adding
using the ltfsadmintool -r command. the drive to the library inventory by using
the ltfsadmintool -a command.
Error The tape drive reports a hardware error. Check the drive error messages on the
library operator panel or tape library
Specialist web interface. For instructions
about how to use the operator panel or web
interface, download the applicable guide. To
do so, follow the procedure in the
“Downloading operator guides for tape
libraries and drives” at this website:
http://pic.dhe.ibm.com/infocenter/ltfs
le/cust/topic/com.ibm.storage.hollywoo
d.doc/ltfs_downloading_operator_guides
.html. Also, for troubleshooting information,
see the same guide and the tape drive
operator guide.
Locked The cartridge is in a critical condition. The tape drive Back up the data on another medium. Then,
for the cartridge is preserved for maintenance. remove the cartridge from the library
inventory by using the ltfsadmintool -r
command with the -t or --tape-id option to
change the status to Available.
Not installed If a tape drive is physically removed from the library, Check the tape library error messages on
the tape drive disappears from the library inventory. the library operator panel or tape library
But if the library reports an error condition when a Specialist web interface. For instructions
drive is removed, the drive status changes to a about how to use the operator panel or web
“Not installed” status. interface, download the applicable guide. To
do so, follow the procedure in the
“Downloading operator guides for tape
libraries and drives” topic at
http://pic.dhe.ibm.com/infocenter/ltfs
le/cust/topic/com.ibm.storage.hollywoo
d.doc/ltfs_downloading_operator_guides
.html. Also, for troubleshooting, see the
same guide.
Important: The Tape Library Specialist web interface is not available for the TS2900 Tape
Autoloader or the TS3100, TS3200, and TS3310 tape libraries.
The following command shows a cartridge that is added by using this combination of options:
For Linux, use this command:
$ ltfsadmintool -t D00661L5 -a
For Windows, use this command:
# python ltfsadmintool -t D00661L5 -a
The following command shows all cartridges that are added from the I/O station:
For Linux, use this command:
$ ltfsadmintool -t @ieslot -a
For Windows, use this command:
# python ltfsadmintool -t @ieslot -a
After a cartridge is added, the volume serial number (VOLSER) is recognized by the tape
library as a subdirectory of the file system.
Removing a cartridge
A combination of the -r option and -t option is used to remove a cartridge from the library.
The following example shows a cartridge that is removed by using this combination of
options:
For Linux, use this command:
$ ltfsadmintool -t D00661L5 -r
The following example shows a cartridge that is removed to the I/O station:
For Linux, use this command:
$ ltfsadmintool -t D00661L5 -r -m ieslot
For Windows, use this command:
# python ltfsadmintool -t D00661L5 -r -m ieslot
If the cartridge is successfully removed, the subdirectory that corresponds to the medium
VOLSER disappears.
In the following example, the mkltfs parameter --rules=size=10M is added after the -- tag to
specify the file placement policy that copies the matching files to the index partition. The
ltfsadmintool passes the -rules=size=10M parameter to the -f option.
The tape volume serial number (VOLSER) is set as a parameter of the -t option as shown:
$ ltfsadmintool -t AA0031 -f
In the second example, the -- tag after the -f option initiates setting a parameter for mkltfs.
The -n ABC option then can be passed to mkltfs:
$ ltfsadmintool -t AA0031 -f -- -n ABC
When the mkltfs command is issued to format the medium, the medium folder for the
cartridge is removed from the LTFS file system. When the format operation is complete, the
cartridge is attached to the file system and a subdirectory displays with the VOLSER as the
directory name. The name that is read from the bar code that is attached to the back of the
tape cartridge is used to set the VOLSER name in the VOL1 label.
Multiple cartridges can be formatted by specifying VOLSERs after the -t option. The
following example shows three cartridges that are formatted sequentially or simultaneously:
$ ltfsadmintool -t AA0031,AA0032,AA0033 -f
If a number of drives are available, LTFS randomly uses one of the drives to format a
medium. LTFS can use a single drive to sequentially format multiple cartridges or
multiple drives to simultaneously format multiple cartridges. LTFS LE formats only one tape at
a time by using one drive at a time per the ltfsadmintool command. However, you can use
multiple drives to format multiple cartridges at one time by issuing more than one
ltfsadmintool command.
If none of these conditions are found, LTFS assumes that the medium is already formatted so
it is not formatted by default. You can specify either the -f or --force option as an optional
mkltfs parameter. The -f or --force option commands LTFS to format a medium forcibly
regardless of the medium status.
For more information, see 2.4.2, “Formatting a medium by using the ltfsadmintool command”
on page 191.
Logical block protection: To format a cartridge by using logical block protection (LBP),
the -o scsi_lbprotect=on option must be specified with the ltfsadmintool command.
In the following set of examples, the -- tag option after the -c option initiates setting a
parameter for the ltfsck command. This option is passed to the ltfsck command, for
example:
$ ltfsadmintool -t AA0031,AA0032,AA0033 -c
No option is required to use the ltfsck command for normal check and recovery operations.
In the second example, the -- tag that is followed by the -f option initiates a full system
recovery:
$ ltfsadmintool -t AA0031 -c
or
$ ltfsadmintool -t AA0031 -c -- -f
Multiple cartridges can be checked or recovered by specifying VOLSERs that follow the -t
option. The following example shows three cartridges that are checked or recovered
sequentially or simultaneously:
$ ltfsadmintool -t AA0031,AA0032,AA0033 -c
If a number of drives are available, LTFS randomly uses one drive to check or recover a
medium. LTFS can use a single drive to sequentially check or recover multiple cartridges,
or multiple drives to simultaneously check or recover multiple cartridges.
Target: If this option is specified without the -a or -r option, only the homeslot target is
available.
If ieslot is specified as the target without the -a or the -r option, this option is ignored.
-o scsi_lbprotect=on
Enable LBP for all tape drives in the tape library.
-o scsi_lbprotect=off
Disable LBP for all tape drives in the tape library (default).
-p, --password=<password>
Authentication password.
-P -get-data-placement
Get the data placement policy of the tape or tapes that are identified by
--tape-id.
-q, --quiet Operate in quiet mode.
-r, --remove Remove the tapes or drives that are identified by --tape-id or
–drive-id from the LTFS inventory. The –drive-id option works only
on the TS3500 Tape Library.
To remove a tape drive from other libraries, unmount the library from
LTFS. See “TS2900 Tape Autoloader and TS3100, TS3200, and
TS3310 tape libraries” on page 172.
-s, --server <hostname:port>
Server to connect to (mandatory option).
Warning: The ltfsadmintool might not work properly while the tape library or tape
drive firmware is updating.
To enable LBP, the -o scsi_lbprotect=on option must be specified with the ltfs or ltfs.exe
command. The -o scsi_lbprotect=off option is used to disable LBP. Optional mkltfs
parameters and optional ltfsck parameters can be specified.
You can also enable LBP when you format a medium and when you check operations with the
ltfsadmintool command.
LBP: If LTFS started with LBP enabled by using the -o scsi_lbprotect=on option with the
ltfs or ltfs.exe command, you must add the -o scsi_lbprotect=on option to format or
check a medium. Unless the -o scsi_lbprotect=on option is specified for format or check
operations, the operations are performed with LBP disabled.
The default setting for LBP is disabled. Because LBP can affect read and write
performance, use the default setting. When LBP is needed, enable the feature for each
specific action, such as to start LTFS, check a medium, or format a medium. Then, disable
the feature again.
By default, standard symbolic links are enabled when LTFS starts. The command-line option
is the -o symlink_type=posix option and is specified with the ltfs or ltfs.exe command. To
enable live links, the -o symlink_type=live option is specified.
Certain limitations exist when you use symbolic links on a Windows system. LTFS fails to
mount if it detects both <symlink> and <extents> elements in the <file> element as
“inconsistent medium.” LTFS also fails to mount if a cartridge with symbolic link information is
written on an older LTFS version that does not support symbolic links. If this situation occurs,
it is necessary to recover the cartridge with the ltfsck command.
Beginning with version 2.1.2, LTFS supports data-safe mode. Data-safe mode is a feature that
protects user data by preventing data overwrite situations. When this feature is enabled, the
tape drive issues an error after it receives a command to overwrite any data on the currently
mounted volume. Data-safe mode is a drive-specific behavior and can be enabled each time
that a tape is mounted. It can be disabled only when a tape is not mounted.
Important: For LTFS LE, the mkltfs and ltfsck functions are provided by the
ltfsadmintool utility. The ltfsck utility in LTFS SDE checks and recovers media. The
mkltfs utility in LTFS SDE formats media. The ltfsck parameters are passed to the -c
option of the ltfsadmintool command. The mkltfs parameters are passed to the -f option
of the ltfsadmintool command.
Unique mount points: Unique mount points must be created for each library device. For
more information, see “Mounting a library on a Linux system” on page 158.
FUSE options
You can use the following FUSE options:
-o gid=N Set file group.
-o release_device Clear device reservation (specify with -o devname or -o
changer_devname).
-o uid=N Set file owner.
--o umask=M Set file permissions (octal).
Important: For LTFS LE, the mkltfs and ltfsck functions are provided by the
ltfsadmintool utility. The ltfsck utility in LTFS SDE checks and recovers media. The
mkltfs utility in LTFS SDE formats media. The ltfsck parameters are passed to the -c
option of the ltfsadmintool command. The mkltfs parameters are passed to the -f option
of the ltfsadmintool command.
Specifying the -f option with the ltfsadmintool command formats a cartridge for your use.
The tape volume serial number (VOLSER) is set as a parameter of the -t option as shown in
the following set of examples. Optional mkltfs parameters can be passed along by using the
-f option. In the second example, the -- tag after the -f option initiates setting an mkltfs
parameter:
ltfsadmintool -t 1FA563L5 -f
When the ltfsadmintool command is issued to format the medium, the medium folder for the
cartridge is removed from the LTFS. When the format operation is complete, the cartridge is
attached to the file system and a subdirectory displays with the VOLSER as the directory
name. The name that is read from the bar code that is attached to the back of the tape
cartridge is used to set the VOLSER name in the VOL1 label.
Multiple cartridges can be formatted by specifying VOLSERs after the -t option. The following
example shows three cartridges that are formatted sequentially or simultaneously:
ltfsadmintool -t 1FA554L5,1FA563L5,1FA851L5 -f
Multiple cartridges: If a number of drives are available, LTFS randomly uses one drive to
format a medium. LTFS can use a single drive to sequentially format multiple cartridges or
multiple drives to simultaneously format multiple cartridges.
The following mkltfs parameters are also available for the ltfsadmintool command with the
-f option:
-d, --device=<name> Tape device (required)
-f, --force Force to format medium
-s, --tape-serial=<id>
Tape serial number (six alphanumeric ASCII characters)
-n, --volume-name=<name>
Tape volume name (empty by default)
-r, --rules=<rules> Rules for choosing files to write to the index partition. The syntax of the
rule argument follows:
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 specified
size and matches at least one of the name patterns (if specified). The
size argument accepts K, M, and G suffixes. Name patterns might
contain the special characters '?' (match any single character) and '*'
(match zero or more characters).
--no-override Disallow mount-time data placement policy changes
-w, --wipe Restore the LTFS medium to an unpartitioned medium (format to an
existing scratch medium)
-q, --quiet Suppress progress information and general messages
-t, --trace Enable function call tracing
-h, --help Help
-p, --advanced-help Full help, including advanced options
Only the -c option is required for normal check and recovery operations, as shown in this
example:
ltfsadmintool -t 1FA563L5 -c
In the following example, the -- tag followed by the -f option initiates a full system recovery:
ltfsadmintool -t 1FA563L5 -c -- -f
Multiple cartridges: If a number of drives are available, LTFS randomly uses one drive to
check or recover a medium. LTFS can use a single drive to sequentially check or recover
multiple cartridges, or multiple drives to simultaneously check or recover multiple
cartridges.
LTFS LE: For LTFS LE, the mkltfs and ltfsck functions are provided by the
ltfsadmintool utility. The ltfsck utility in LTFS SDE checks and recovers media. The
mkltfs utility in LTFS SDE formats media. The ltfsck parameters are passed to the -c
option of the ltfsadmintool command. The mkltfs parameters are passed to the -f option
of the ltfsadmintool command.
If a consistency problem is discovered and can be recovered without the loss of data, the
recovery is performed automatically. If the recovery cannot be made without the loss of data,
an automatic recovery is not performed. In these cases, the ltfsadmintool command with
the -c option or the ltfsadmintool command with the -c option and the -f (ltfsck
parameter) option locates the latest index and recovers a medium in an inconsistent state.
After the medium is recovered to a consistent state, you can use the -l ltfsck parameter to
view a list of available rollback points. The ltfsadmintool command can then be initiated to
recover the media to its last valid state. If the ltfsadmintool command with the -c option
detects extra data after the final index in a partition, it deletes the data automatically. When
the full recover option is specified, the ltfsadmintool command saves the data that might be
lost and corrects block information in the _LTFS _lostandfound directory.
When the ltfsadmintool command with the -c option is run, it automatically removes invalid
data from the end of the tape and recovers the tape to the last valid state. You can initiate
more ltfsadmintool command options to save the invalid data or to list or recover
consistency at a specific rollback point or date. Enter the ltfsadmintool command with the
-c option from the command line to verify the consistency of the LTFS formatted media.
Optional ltfsck parameters can be passed to the drive in the library by using the
ltfsadmintool command with the -c option. Optional ltfsck parameters can be specified in
the following manner:
ltfsadmintool -t (VOLSER) -c -- [optional ltfsck parameters]
The ltfsadmintool command: The (address:port) part of the command points to the
library server. If this command is initiated on the library server with the default setting,
localhost:2112 must be specified. The (VOLSER) part of the command specifies the
medium to format.
Time to roll back option: The -t option, which specifies the time to roll back, is
supported only for the LTFS SDE.
-m, --full-index-info
Displays full index information (effective only for the -l option).
-n or --no-rollback Does not roll back. Only verifies the point that is specified by the -g
option. This setting is the default setting.
-q or --quiet Suppresses progress information and general messages.
-r or --rollback Rolls back to the point that is specified by the -g option.
For a Linux user other than the user who mounted the tape library to access the mounted file
system, add the following line to the /etc/fuse.conf file before you issue the ltfs command:
user_allow_other
To mount the library as a user other than a superuser, in addition to the previous setting, add
the -o allow_other option to the ltfs command as shown:
$ ltfs -o changer_devname=/dev/IBMchanger0 -o allow_other /mnt/ltfs
On-disk metadata storage feature: The on-disk metadata storage feature is disabled by
default. When this feature is enabled, the ability to mount tape libraries is restricted to the
root user. To understand the on-disk metadata storage mechanism and to learn how to
share a library that is mounted by the root user among multiple users, see Metadata
storage at this website:
http://pic.dhe.ibm.com/infocenter/ltfsle/cust/topic/com.ibm.storage.hollywood.d
oc/ltfs_disk_cache.html
Also, because the LTFS tape drive is a sequential access device, when a file on the medium
is modified, the modified blocks of a file are appended to the bottom of the tape. To read the
modified file, LTFS must read from different parts of the tape, which can slow down the
access to the data.
To optimize performance, the following practices are suggested when you use LTFS:
Certain application programs, such as editors, repeatedly overwrite a file. This process
divides a file into a number of small blocks. When a file on the medium is opened by using
an application program that modifies a file, copy the file to the hard disk. Modify the file on
the hard disk before you copy it back to the LTFS volume.
Set a data placement policy when you use files with a specific suffix.
It can take some time to copy files to a different folder on the same medium because LTFS
locates the source file and destination position for every block. To improve performance,
copy the file to the hard disk and then back to the medium.
If a file under the mount point subdirectory is moved to another subdirectory of the mount
point, LTFS is using two tape drives. Until the move operation is complete, both drives are
locked, and LTFS cannot perform another operation. This locked state causes library
performance to drop. If the tape library has only two drives, LTFS does not work until the
operation is completed. To avoid this situation, move the file to the hard disk, and then to
the destination directory on another volume. If a tape library has only one drive, LTFS
rejects the request to move the file to another subdirectory. Although a copy operation is
still possible in this scenario, it is slow.
If two files are simultaneously written to the mount point subdirectory, a block of each file is
sequentially written to the medium. For example, if file A and file B are written, block 1 of
file A (A1) is written, block 1 of file B (B1) is written, then A2, B2, A3, B3, and so on are
written. When file A is read, LTFS goes to the A1 position and reads a block, then to the
A2 position and reads a block, and so on. This sequential reading protocol can take some
time to complete. Read performance can be improved by writing data separately. If, for
example, higher performance is required for the read operation, (if possible) write file A
first, then file B.
A session timeout can occur when an LTFS volume is accessed from a client though network
sharing. If this session timeout occurs, users might see a network error. If this kind of network
error occurs frequently, change the session timeout value. The default timeout value is 45
seconds.
Attention: These instructions relate to editing the registry. If you make any error while you
edit the registry, you can potentially cause Windows to fail or be unable to boot. Then, you
are required to reinstall Windows. Edit the registry at your own risk. Always back up the
registry according to the Microsoft website instructions before you change anything.
Procedure
Follow this procedure:
1. From the Start menu, select Run.
2. Type regedit in the Open field and click OK.
3. Expand and locate the registry subtree:
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \
LanmanWorkstation \ Parameters
4. Add a REG_DWORD key with the name of SessTimeout.
5. Set the timeout value. Initially set the timeout value at 600 and then change the value
according to the situation of your machine.
6. Reboot the client.
The rules option for the formatting operation sets the following policies:
File size: smaller than xxx bytes
File name: *.jpg, *.txt, and so on
At the next mount, the position of the tape head is near the files in the index partition so that
they are quickly readable if those files are accessed immediately. After the files in the data
partition are accessed, the access performance is equal to the performance of the other files
in the data partition. If specific file suffixes are frequently accessed after the cartridge is
mounted, set the data placement policy to include them to improve file access performance.
Index partition size: The size of index partition is much smaller than the data partition. If a
large file size is specified for the data placement policy, the index partition might overflow.
LTFS supports valid characters in W3C Extensible Markup Language (XML) 1.0 standard,
except for the forward slash (/) and colon (:), for extended attribute names. A file can have
multiple extended attributes. The maximum size of an extended attribute is 4 KB. When the
value of an extended attribute includes binary data, LTFS encodes the data in base64.
On Linux and Windows, all extended attribute names that start with the prefix "ltfs" with any
capitalization are reserved for virtual extended attributes. See “Virtual extended attributes” on
page 201.
Linux
Linux supports restrictive naming for extended attributes. Each extended attribute begins with
one of the following names and ends with a period (.):
system.
security.
trusted.
user.
User.* extended attributes: For security purposes, only user.* extended attributes can
be modified.
Windows
Windows supports restrictive naming for extended attributes. Windows allows only 8-bit ASCII
characters that do not contain any of the following characters:
ASCII values 0x0000 – 0x001F
\/:*?"<>|,+=[];
Special characters: If any of these characters are used on Linux, and the medium is
moved from that system to Windows, the attributes do not display.
LTFS does not include virtual extended attributes in the list of responses for listxattr system
calls. Therefore, virtual extended attributes are hidden from a query request. A user must first
specify an attribute name to be able to access it. Some standard commands do not work for
virtual extended attributes. On Linux, for example, the getfattr command works only for
extended attributes. The following example shows how a user can access virtual extended
attributes:
# attr -g ltfs.indexCreator /mnt/ltfsmz4/248AABL5-MOVIES_LTFS
Attribute "ltfs.indexCreator" had a 54 byte value for
/mnt/ltfsmz4/248AABL5-MOVIES_LTFS:
IBM LTFS 2.1.0 (201105090) - Linux - ltfs.tape.library
or
# adduser <username>
The adduser command: The adduser command adds a user to the system according
to the command-line options and the configuration information in the
/etc/adduser.conf file. They are friendlier front ends to the low-level tools, such as
useradd.
[LTFS]
comment = Public Stuff
path = /mnt/ltfs/redbooks
public = yes
writable = yes
printable = no
write list = +staff
valid users = mschaefr
3. Log on with the specified user name and password (Figure 2-44).
LTFS SM provides the following benefits to the enterprise when managing an LTFS archive:
Flexibility SM increases infrastructure flexibility with the enterprise-wide
management of archived files with special support for media
essences.
Cost SM optimizes storage and costs by using a shared, highly
scalable, open-standards-based storage pool.
Control SM improves transparency and control over processes and
transactions by using workflow and business rules at the essence
level.
Integration SM eliminates “islands” of content and provides flexible and open
interfaces to enterprise applications.
Scalability The system can grow from one server to many servers as demands
increase.
LTFS SM provides a web service application programming interface (API) that uses SOAP to
launch archive, restore, and other management operations and to monitor their progress. The
API also offers the ability to search for files based on their metadata. Use the LTFS SM web
client to manually launch operations and query the content of the archive in addition to
general system administration. LTFS SM can also be configured to monitor folders on a file
system, detect new files, and archive them automatically.
3.1.1 Background
LTFS SM is based on the archive manager edition of the Archive and Essence Manager
(AREMA) application, which has been available for more than 15 years. IBM AREMA is a
multiple format file management application that is focused on processing and archiving
media files in the broadcasting area. For example, 90% of all public German TV companies
are currently using AREMA for the management of their digital video files.
LTFS SM can control multiple IBM Linear Tape File System Library Edition (LE) instances that
work cooperatively. LTFS SM can provide scale-out capability by using the LTFS SM
distributed design features. Not only can it manage tapes within a tape library but it can also
manage offsite tapes that are removed from the tape library.
A media file is referred to as an “essence” and essence is used as a synonym here for any
type of file in LTFS SM.
Unlike IBM Linear Tape File System Single Drive Edition (SDE) and LE, LTFS SM is not open
source software. There is a charge for the software. The charge depends on the model of the
tape library and the number of tape drives that are contained in it.
3.1.2 Overview
The processing of the archive and restore operations is managed by the LTFS SM job engine.
The engine asynchronously initiates the activities in the specified order and reports the result
to the initiating system. The job status can be retrieved at any time by using the job
identification (ID) that is generated by LTFS SM.
In addition to the job management and the archive index, LTFS SM maintains a disk cache for
files that are recently archived or restored. A threshold-controlled process checks the
directory size inside the LTFS SM online cache and, if necessary, starts a delete process. The
quota daemon runs in the background and checks (every 10 minutes by default) on the
current state of the cache occupancy for defined quota areas. The quota daemon also can
email users when thresholds are reached (Figure 3-1 on page 207).
LTFS SM: LTFS SM does not work with stub files that remain on a disk system and where
the “touching” of the files triggers a restoration from tape. LTFS SM differs in this way from
some hierarchical storage management (HSM) systems.
Disk cache
The disk cache is the online storage for the system. LTFS SM manages the space in the
cache. Files can be moved from the tape archive back to the disk cache. The cache can be
divided into several physical and logical areas. In a standard configuration, the disk cache is
managed with a first in, first out (FIFO) rule. However, the cache management rules can be
extended.
Sample templates: Sample templates for this feature, as well as other features and
functions, are available on the Fix Central website.
Tape archive
All essences can be archived for long-term storage on tape. Tapes can be held in a tape
library or they can be stored outside of a library. LTFS SM uses LTFS for control of the tape
drive and the automated tape library.
Agents
The standards of distributed, scalable, and reliable systems require separate processes that
work on defined objectives. An agent performs a specific step of an LTFS SM job. For
example, an agent transcodes a file to another file format or stores media files on the tape
library. Each agent performs its specific task autonomously.
The LTFS SM agents consist of two parts: a general part that manages communication with
the LTFS SM server and a specific part for the actual function. The specific part of an agent is
either implemented by products that are available on the market or by code that is developed
by IBM.
Job engine
The LTFS SM job engine makes it possible to annotate jobs with priority levels to provide
preferential treatment to certain jobs. These priorities can be changed while the job is running
by using the LTFS SM graphical user interface (GUI) or API.
In addition, the job engine makes it possible to define a deferred start time for a job. Or, the
job engine can define a time window during which the job must be performed. If the job
cannot be completed in the time window that is set for a specific day (for example, if the
queue is too long), the job is initiated during the same time window the next day. The current
default night window for delayed operations is from 0200 to 0600 daily.
Every job consists of several job steps. The task that is defined in one job step is performed
by the agent that is referenced in that step. Job steps can be defined to run sequentially or in
parallel. Single job steps can be dependent on the successful completion of one, or multiple,
predecessor job steps.
Every agent can be tagged with one or more keywords. The job description can refer to these
keywords so that only the correctly tagged agents can perform the specific job step. This
approach allows for granular resource assignment and priority management.
The user administration and inventory management of the media objects that are assigned to
the archive server are implemented in the database. For media objects, additional information
can be managed to restrict permissions to groups and to group objects. In this context, LTFS
SM is a multiple tenant application. The structure and the data model of the database are
internals of the SM. Access to the internal database is only permitted for the LTFS SM agents.
LTFS SM offers interfaces, such as the ESCI, which make the information available to the
external world.
The LTFS SM job engine also includes functions such as job parser, access rights
management, central error handling, job monitoring, and cache management.
3.1.3 Functions
LTFS SM is a software application that maintains an index of all files in an LTFS archive and
provides an easy-to-use interface to manage archive files. The application provides the
following sets of functions.
LTFS-specific functions
LTFS SM offers these LTFS-specific functions:
Support for LTFS LE version 2.1.1 and later.
Support for multiple LTFS nodes that are attached to a single library.
Ability to group files into storage pools (Predefined rules can copy one file into multiple
pools, LTFS instances, or both.)
Selection of a suitable tape for archiving based on the following rules:
– The tape with the lowest fill level
– The first tape in the database
– The tape with the highest fill level and enough space for the file.
Ability to search the database to locate which tape contains a specific file to restore. If
multiple copies of the same file are located, LTFS SM selects the appropriate tape based
on the availability of drives in the managed tape libraries and LTFS instances.
Optimization of the restore queue by actively managing tape and drive usage. For
example, LTFS SM does not queue up an agent to wait for a tape that is already in use by
another process.
Support for partial file restore from tape and partial file copy from disk in media
environments.
Support for a timecode-aware cache. This support enables caching of partial restore
segments. So, new requests for a segment can use a previous segment that is still in the
cache as the source, rather than the full file on tape.
These rules are properties of the storage pool. The rules are applied at the time that the file is
written. If the rule is later modified, the change is not applied to assets that are already in the
pool.
Upon restore, LTFS SM selects one copy of the file where the tape and drive resources are
available. If the file is to be restored from a particular pool or tape, the pool or tape names can
be specified in the job step parameters.
In addition, the resource management component supports offsite tapes, that is, tapes that
are outside of the tape library. The preferred method for exporting tapes is by using the Admin
Export LTFS Media job from the Essence Viewer client. However, tapes can also be exported
by using a command-line command. Multiple tapes, as well as entire pools, can be exported.
Exported tapes are not used for restore if there are copies of the file on a tape on-site, that is,
inside the library. If there is not a tape on-site, the specific tape is requested and the job step
is moved into a “wait for resource” state. After the operator inserts the tape, the job resumes
automatically.
Tapes that are created outside of LTFS SM can be imported into the library. LTFS SM then
reads the LTFS index and adds the tape, and all files on it, to its database. In addition, the
technical metadata of media files is written to the LTFS SM database as long as the files from
the tape are read by LTFS SM. The LTFS format check function can be used to check the
format and integrity of an LTFS tape upon import of the tape.
Tapes can be formatted by using a command-line command and by launching a job template
from the LTFS SM Essence Viewer client. The formatting of a tape is a regular job in LTFS SM
and is an explicit command.
The LTFS SM Essence Viewer client displays the list of files that are stored on tape, their SM
instance, library, pool, and tape for every file in the archive. The content of the tape archive
can be browsed by using the Essence Viewer Client.
Multiple tenancy
The contents of the tape are managed at the LTFS SM level. This way, each LTFS LE
installation is unaware of any changes that are made on other LTFS LE installations. The
index is updated when the media is mounted and the index is read from tape.
Configuration examples
The following figures show possible LTFS SM configurations that you can set up:
Figure 3-3 on page 213
Figure 3-4 on page 213
Figure 3-5 on page 214
Java 7: All hardware must support IBM Java 7 or higher. LTFS SM does not support any
Java version earlier than IBM Java 7. Write Once Read Many (WORM) media is not
supported.
Supported operating systems Red Hat Enterprise Linux Server 5.6, 5.7, and 6.1
(x86 and x86_64 only)
Novell SUSE Linux Enterprise Server 11 Service Pack 1
Server personal computer x86 or x86_64 processor with a minimum of two dual-core processors
Fibre Channel (FC) host bus adapter (HBA) that is supported by IBM
TS1140 tape drives, IBM Linear Tape-Option Ultrium 5 (LTO-5) tape
drives, and IBM LTO-6 tape drives.
LTFS SM requires a Linux operating system. Both 32-bit and 64-bit operating systems are
supported. For more information about supported operating systems and hardware, see the
system requirements in the information center.
When LTFS SM is installed on a 64-bit operating system, the following 32-bit packages are
required, in addition to the software listed previously:
glibc (for ld-linux.so.2, libdl.so2, libpthread.so.0, libc.so.6, and libm.so.6)
libgcc (for libgcc_s.so.1)
compat-libstdc++-33 (for libstc++.so.5)
The LTFS SM application is written in Java and therefore requires that JRE is installed on the
system. IBM JRE 7 is included in the installation package.
LTFS SM maintains a database by using the IBM DB2 Express-C database software. This
software is included in the LTFS SM installation package. When the DB2 user licensing is
used, LTFS SM requires one user (all components log in to the database as the same user).
Every additional human user or system (interface) user that is defined in LTFS SM requires
the user to be manually set up in the DB2 database. The installation supports enough users
for a standard LTFS SM system and administrative users.
Upgrade: You can purchase a license from the IBM software division to upgrade to other
DB2 editions that provide more features.
The OpenCube license is not shipped with the LTFS SM build. It is required if you plan to use
Material Exchange Format (MXF) files. It must be downloaded separately after installation,
but before you run any jobs.
3.2 Installation
The following distribution packages are available for the LTFS SM. The components for a
successful installation are described.
Important: The LTFS SM installation process is more complex than the installation of
LTFS LE and might require detailed planning if multiple servers are involved.
A 32-bit Java RPM package needs to be installed when you run the LTFS SM on a 64-bit
system.
The LTFS SM software package includes the following files and applications:
LTFS SM program files
IBM JRE 7
IBM DB2 Express-C
LTFS SM is delivered as an installable script. The script must be started as root. For the
system user of the application, the user name dmae is used. The directory tree at
/home/dmae/manager/ is POSIX-compliant.
After the installation script starts, a series of questions is presented to install and configure
JRE, the DB2 database, and LTFS SM. The following input is required during the installation
process:
Number of libraries that are attached to LTFS SM
Number of drives that are attached to LTFS LE
Number of cartridges that are in the library
Type of drives and media (options are LTO-5 and TS1140)
LTO-6: In case the library has LTO-6 drives installed, use option LTO-5.
Number of storage pools and names and the usage type for each pool
Cartridge to storage pool assignment plan for the initial cartridges in the installation
3.2.1 Procedure
Perform the following steps to install and configure LTFS SM. In a master node configuration,
perform these steps on all nodes.
The default response for Yes/No questions during the installation is displayed in capital letters.
For example, [Y,n] indicates you can either respond with a Y or an N. If no response is
entered, a Y is assumed.
In this installation, we create two pools. We use two tape drives and three tape cartridges in a
TS3500 tape library. The TS3500 tape library is zoned to the server and available for use by
LTFS LE and LTFS SM. However, these initial configuration settings can be modified after
installation.
The IBM LTFS SM system user is dmae. During the installation, you set this user password.
Root: You must use the root user to extract the tarball file.
# cd /LTFS_SM/IBM_LTFS_StorageManager_v1.1.0_install
# ls
# bin core db2 doc etc java lib mxftk setup
This program will guide you through the process of installing software IBM LTFS
Storage Manager on this and attached systems. Please answer the questions below
to proceed with the installation.
Before installing, please read the following notes on required prerequisites for
IBM LTFS Storage Manager and make sure they are met on the target systems.
IBM LTFS Storage Manager is supported for following platforms (i386 and x86_64
only):
RedHat Enterprise Linux Server 5.6, 5.7, 6.0, 6.1
SuSE Enterprise Linux Server 11.1
On 64-bit systems, basic system 32-bit libraries (such as libc and libm) must be
already installed.
IBM LTFS Storage Manager requires following IBM software:
IBM(R) SDK, Java(TM) Technology Edition, Version 7 for Linux 32-bit
IBM(R) DB2 Express-C 9.7.0.5
This IBM software is included in IBM LTFS Storage Manager installation package.
If you already have the DB2 software on your system, you will have a possibility
to skip the installation of this software. Please consider that the Java SDK
mentioned above is the only supported Java version for this product.
Make sure the host name of the machine can locally be resolved by the DNS means
and/or is included in the local hosts file (typically /etc/hosts).
Compatibility packages for libraries related to GCC 3.3 (in particular, 32-bit
libstdc++.so.5) must be installed on the system.
8. Type Y and press Enter to continue to the next window as shown in Example 3-2.
Press Enter to continue viewing the license agreement, or, Enter "1" to accept
the agreement, "2" to decline it or "99" to go back to the previous screen, "3"
Print, "4" Read non-IBM terms.
10.Type 1 and press Enter to continue to the next window as shown in Example 3-4.
Example 3-4 IBM LTFS Storage Manager system user group name
Checking run-time prerequisites...
Starting gathering parameters for the installation.
No changes will be made on your system until all parameters are collected.
You will be prompted before actual changes will start.
Important: On multiple node environments, this UID must be the same across all
installations.
Example 3-7 Password for IBM LTFS Storage Manager system user (dmae)
Password for IBM LTFS Storage Manager system user (dmae)
Select a password for the IBM LTFS Storage Manager system user.
Please enter your password again for verification!
Password verification for IBM LTFS Storage Manager system user
Re-enter the password for the system user for verification reasons.
14.Enter a password for the dmae user and then press Enter to continue to the next window as
shown in Example 3-8.
IBM LTFS Storage Manager needs to connect to a database. Do you want to connect
to an existing database rather than create a new one yourself?
Default: no
Press <Return> to keep or enter new value:
15.Press Enter to continue to the next window as shown in Example 3-9 on page 220.
Multiple nodes: In a configuration with multiple nodes, select the default of No for node
A and press Enter to continue to the next step. For node B and any other nodes, select
Yes to connect to the existing database in node A. When you are prompted for the
network name or IP address of the database server machine, enter the name of node A
or the node A IP address.
IBM LTFS Storage Manager needs to connect to a DB2 database in order to run.
You may decide to install the database software now.
Default: yes
Press <Return> to keep or enter new value:
This must be done to enable the creation of the database for IBM LTFS Storage
Manager.
The instance owner will be the IBM LTFS Storage Manager system user.
You may answer "no" if you have already created the database server instance
for this user.
Default: yes
Press <Return> to keep or enter new value:
20.Press Enter to continue to the next window as shown in Example 3-14 on page 221.
Port: This port number must not be in use by any other program.
21.The step that is shown in Example 3-14 creates system users (required for the DB2
server) on this host. Type No if you created the DB2 fenced user and the DB2
administration server user on this host. Press Enter to continue to the next window as
shown in Example 3-15.
Multiple node configuration: In a multiple node configuration, select Yes for node A
and No for node B and any other nodes.
32.Type the email address for the LTFS administrator and press Enter to continue to the next
window as shown in Example 3-26 on page 223.
Mount point: This directory is considered a mount point only. Mount an appropriate file
system that meets the requirements of the application cache.
Configure the system firewall for the IBM LTFS Storage Manager server?
In order to communicate with the server you need to open some ports in its
firewall. The installer can perform the actions necessary for this step but be
aware that it relies on the system firewall to be provided by iptables.
Do you want the installer to configure the firewall?
Default: yes
Press <Return> to keep or enter new value:
37.Press Enter to continue to the next window as shown in Example 3-31 on page 224.
38.Press Enter to accept the default in response to each of the twelve questions to continue
to the next window as shown in Example 3-32.
41.Type Y and press Enter to continue to the next window as shown in Example 3-35.
42.Type Y and press Enter to continue to the next window as shown in Example 3-36.
43.Type ltfs and press Enter to continue to the next window as shown in Example 3-37.
LTFS LE mount point: If the LTFS LE mount point is /mnt/ltfs (the mount point that
you specified during the LTFS LE installation), the library name is ltfs and the tape
library mount point is /mnt.
LTO-5: You can choose to enter either LTO5 or TS1140. Even if you have LTO-6 drives
that are installed in the library, you must enter the value lto5.
44.This example uses LTO-5 tape drives, so type LTO5. Press Enter to continue to the next
window as shown in Example 3-38.
45.This example uses three tapes, so type 3. Press Enter to continue to the next window as
shown in Example 3-39.
46.Type /mnt and press Enter to continue to the next window as shown in Example 3-40. If
the LTFS LE mount point is /mnt/ltfs (the mount point that we specified during the LTFS
LE installation), the library name is ltfs and the tape library mount point is /mnt.
47.Type Y and press Enter to continue to the next window as shown in Example 3-41.
48.In this example, we have LTO-5 tape drives, so type LTO5. Press Enter to continue to the
next window as shown in Example 3-42.
49.In this example, we have two tape drives, so type Y. Press Enter to continue to the next
window as shown in Example 3-43.
50.In this example, we have LTO-5 tape drives, so type LTO5. Press Enter to continue to the
next window as shown in Example 3-44.
51.In this example, we have only two tape drives, so type N. Press Enter to continue to the
next window as shown in Example 3-45 on page 227.
52.In this example, we have only one node, so press Enter to continue to the next window as
shown in Example 3-46.
Multiple node configuration: For a multiple node configuration, enter the IP address
for node B.
53.In this example, we have two pools, so type 2. Press Enter to continue to the next window
as shown in Example 3-47.
54.In this example, we use a non-default name for the pool. Type poola. Press Enter to
continue to the next window as shown in Example 3-48.
Default pool name: The default pool name is POOL_A. This pool name is specified in the
global_settings.xsl file that is in the /home/dmae/manager/etc/templates-ev
directory. Use the default pool name during configuration. Or, if a different name is
preferred, the default pool name must be changed in the global_settings.xsl file.
Ensure that the default pool is a valid and existing pool.
60.In this example, we have LTO-5 tape drives, so type LTO5. Press Enter to continue to the
next window as shown in Example 3-54.
61.In this example, we use a non-default name for the pool. Type poolb. Press Enter to
continue to the next window as shown in Example 3-55.
67.In this example, we have LTO-5 tape drives, so type LTO5. Press Enter to continue to the
next window as shown in Example 3-61.
68.The final message confirms the successful completion of the installation of LTFS SM.
7. Log on to the web GUI (for more details, see 3.5, “WebClients” on page 268) as dmae.
8. Click Essence Viewer.
9. Click the Tapes tab. Confirm that you can see the library manager, library, and pools that
were set up during the installation.
10.Click the Templates tab and click OK to the right of Admin Bulk Import LTFS Media.
12.Click Send to run the job. The length of time that is required to run the job depends on the
number of tapes to be imported and the number of files on each tape.
13.You are presented with a new dialog box (Figure 3-7) that shows the progress of the job
and the job steps.
Tip: You must be logged in as dmae to run these commands. The password, which is
indicated by asterisks (*****) in Example 3-63, is the dmae password that you set during the
installation.
Important: You must ensure that all dmae users are logged out of both the web GUI and
any terminal sessions before you continue. Otherwise, the uninstallation fails. The Linux
command w might be useful to confirm that dmae is not logged in.
4. Log on as root.
5. If necessary, change permissions on the uninstall script:
# chmod +x uninstall.sh
6. Run uninstall.sh, which is in the /bin directory of the expanded installation package.
For example, if you installed LTFS SM from
/tmp/IBM_LTFS_StorageManager_v1.1.0_install, run the following command as shown in
Example 3-71.
7. If the uninstallation fails, rectify any reported issue, for example, the dmae user still exists,
and rerun the uninstall.sh script.
Archiving is the process of copying files from disk to LTFS tape. As with other job templates,
both a basic archive and an advanced archive are available. An advanced archive includes
setting pools for archive, setting the tape name, and setting deferred start times for the jobs.
<template>/home/dmae/manager/etc/templates-watchdog/
Basic_WD_Import.xsl</template>
The following commands can be used to start or stop the watchdog and to check the
watchdog status:
To start the watchdog, enter the following command:
# dmae_watchdog start
To stop the watchdog, enter the following command:
# dmae_watchdog stop
To check the watchdog status, enter the following command:
# dmae_watchdog status
3. You can monitor the job process via the Job Monitor Client (Figure 3-10).
4. If you click the job, you can see detailed information about the state of the job. See
Figure 3-11, Figure 3-12, Figure 3-13 on page 244, and Figure 3-14 on page 244.
The LTFS SM job templates are in the /home/dmae/manager/etc/templates-ev folder. For the
list of predefined templates in LTFS SM, see Example 3-72.
Introduction
The job templates are written by using Extensible Stylesheet Language Transformation
(XSLT). XSL is a language for creating style sheets. An XSL style sheet is a text file that
describes how to display an XML document of a certain type. In contrast, XSLT is a
transformation language for XSL. It was originally designed to perform complex style changes
to XML documents, such as the creation of a table of contents or an index. However, it is now
more commonly used as a general-purpose XML processing language. XSLT can be used for
other purposes, such generating HTML web pages from XML data or, in this case, running
jobs in LTFS SM. For more information, see http://www.w3.org.
The following default values are defined in the global_settings.xsl file that is shown in
Example 3-73:
Organization Unit
Cartridge Pool
Start of Batch Job Time
End of Batch Job Time
Priorities of LOW, MEDIUM, HIGH, and CRITICAL
TRANSLATE_SRC and TRANSLATE_DST are used in templates to change special
characters, such as the asterisk (*), question mark (?), semicolon (;), and quotation mark
('), in the job title to the underscore (_). Two functions are used in templates to get default
values.
The basic job template structure is shown in Figure 3-16 on page 248 and consists of a
comment section and the xsl:stylesheet section:
<mapping> (in comment)
- Web Interface Configuration
- <template>
- Information of this template
- <param>
- Set GUI for parameter inputs
- <group>, <input>
- labels and fields on GUI
<xsl:stylesheet>
- <xsl:import>, <xsl:output>
- leave them as is
- <xsl:template>
- Job Definition part
- Set parameters from Input to variables used in this template
- <job>
- Configure steps
- <step>
Because there is no syntax checker or debugger for XSL that is included with LTFS SM, make
only one modification to the template at a time. Confirm that the template is still valid by
viewing it in the Essence Viewer after each modification.
3. Open the Essence Viewer to confirm that you can read the new template (Figure 3-18).
8. Open the Essence Viewer to confirm that you can read the modified template
(Figure 3-22).
10.Open the Essence Viewer to confirm that you can read the modified template. Compare
the new descriptions in Figure 3-24 to the earlier descriptions in Figure 3-22 on page 250.
11.Enter the following <xsl:param...> section to get parameters from the GUI user inputs
(Figure 3-25). Use the same name that you entered in the GUI configuration earlier.
12.Open the Essence Viewer to confirm that you can read the modified template.
17.Open the Essence Viewer to confirm that you can read the modified template.
19.Open the Essence Viewer to confirm that you can read the modified template.
20.Now, we can try to run the new job templates. In this case, there is a global error in relation
to an undeclared variable (Figure 3-29).
21.Based on the error message, it seems that $TARGET_POOLS is not defined correctly. To
fix the error, remove one <xsl:if> and swap the order of <xsl:variable> and another <xsl:if>
as shown in Figure 3-30.
2. Move the definition of the TARGET_FILENAME parameter to before the <job> section as
shown in Figure 3-36.
3. Remove the entire section that checks for a blank $TARGET_NAME variable
(Figure 3-37).
5. Open the Essence Viewer to confirm that you can read the modified template.
6. Start the new job with this template (Figure 3-39). You are no longer prompted to enter the
name for the file in the cache. Click Send to run the job.
2. Open the Essence Viewer to confirm that you can read the modified template.
3. Modify the “predlist” parameter for the put_to_archive step so that it starts after the
metadata step (Figure 3-43).
4. Put the user-defined metadata entry in the metadata step (Figure 3-42):
<properties id=“prop”>
param name=“subnote”><xsl:value-of select=“$subnote” /></param>
</properties>
7. Add a definition of the variable subnote to get it from the input parameter subnote_in
(Figure 3-45).
8. Open the Essence Viewer to confirm that you can read the modified template.
10.Confirm that the metadata information is visible in the Detail View from the Job Monitor
Client (Figure 3-47).
15.Stop and start the Web Service of LTFS SM by typing the following commands:
– dmae_web_server stop
– dmae_seb_server start
3.4 Agents
The standards of distributed, scalable, and reliable systems require separate processes that
work on defined objectives. An agent performs a specific step of an LTFS SM job. For
example, an agent transcodes a file to another file format or stores media files on the tape
library. Each agent performs its specific task autonomously.
The LTFS SM agents consist of two parts: a general part that manages communication with
the LTFS SM server and a specific part for the actual function. The specific part of an agent is
either implemented by products that are available on the market or by code that is developed
by IBM.
Agents can be installed on different servers. They can be added and removed during the
ongoing operation of the entire system. Or, they can be monitored by using the LTFS Storage
Manager System Administration Client.
Basic agents
To view a list and description of supported parameters, enter the following command for each
agent:
dmae_agent man <agent name>
Mediainfo tool: The Mediainfo tool is not included in the LTFS SM distribution and
must be installed separately.
metadata
This agent determines the technical metadata of a media file.
metadata_verify
This agent verifies essence metadata.
modify_description
This agent modifies essence properties in the LTFS SM database.
nop
This agent performs no operation. It is used for testing purposes.
notify
At job run time, this agent produces a message that can be sent to different types of
recipients. The message is created from the following sources:
– Job description with the current state of the job at the run time of the Notify Agent.
– Parameters for the Notify Agent are provided in the job step.
– Metadata of the essence as stored in the LTFS SM.
3.5 WebClients
The LTFS SM WebClients are started as Java Web Start applications from an Internet
browser. A web-based essence management interface can be used to search for essences in
LTFS SM and to perform jobs (actions) for these essences.
Specific user access rights are required in order to perform some web client functions.
Figure 3-52 shows the IBM LTFS Storage Manager WebClients page.
You can launch any of the LTFS SM WebClients by clicking the specific Client link on the web
page that is shown in Figure 3-52. The browser submits the URL to the LTFS SM web server.
The web server replies with a Java Network Launch Protocol (JNLP) file that is defined with
an XML schema. The JNLP file specifies the resources that are needed for the application.
The JNLP client, that is, the javaws program, then parses this XML file and requests the
specified resources, for example, .jar files. Then, the JNLP client waits for the retrieval of all
resources that are cached locally and launches the application. A requirement of using LTFS
SM is that your browser is configured to launch .jnlp files by using javaws. Similar to the way
that a web browser presents a web page to the user, a JNLP client presents a Java application
to the user.
Java Web Start software is installed as part of the Java Runtime Environment (JRE) software.
Java Web Start software does not have a licensing cost. When you install Java, Java Web
Start is installed automatically.
– http://www.oracle.com
When the Browser tab is selected, a navigation tree displays on the left. On the right, all
essences in the selected navigation folder are displayed. From this browser, you can obtain
additional information about each essence. In addition to browsing the archive, the Search
tab of the Essence Viewer can be used to search for files based on selected metadata fields.
In Figure 3-53, for the user name, type dmae. Type the password that you defined during the
installation.
Browser tab
Use the navigation tree to browse through the directory structure. Information is available
about the library and the tapes and their content (Figure 3-54).
Media files: LTFS SM supports media files, particularly MXF files with metadata extraction
and partial file restore.
Figure 3-60 and Figure 3-61 on page 277 show instances on tape.
Templates tab: A user can open the .xml file of a template by selecting the template name.
To run a template, the user selects OK next to the corresponding template.
A template can be used only if the logged-in user is named in the .xml source file for the
template.
Tape content: Users cannot display the tape content from the Tapes tab window. The tape
content is only available on the Browser tab.
On the window that is shown in Figure 3-69, to view the system errors, select Actions
Show Error Log. Figure 3-70 shows the Error Log window that opens.
To view details about a job, select them and double-click to open the detailed view.
In addition to the menu bar options, you can right-click specific jobs to display a menu of
actions. Each job displays its status. The following list presents possible job status:
Startable
Runnable
Running
Finished OK
Cancelled
Finished with errors
Depending on the status of the selected job, some of the following actions are available:
Start
Cancel
Delete
Restart
Restart & Delete
Edit job priority
All jobs stay in the database until they are explicitly removed by the user action Delete.
The Watchdog Client monitors the watchdog folder and shows the current state of the files in
the system. Figure 3-75 shows you how to log on to the WatchDog Client.
With the tool, you can set the length of time for data collection. This information is put in the
storage_manager_logset_<date>_<time>.tar.bz tar file and stored in the /tmp/directory.
The information can be used by local administrators or sent to IBM support.
The publications listed in this section are considered particularly suitable for a more detailed
discussion of the topics covered in this book.
IBM Redbooks
The following IBM Redbooks publications provide additional information about the topic in this
document. Note that some publications referenced in this list might be available in softcopy
only.
IBM System Storage Tape Library Guide for Open Systems, SG24-5946
IBM System Storage TS3100 and TS3200 Tape Libraries, TIPS-8032
IBM System Storage TS2900 Tape Autoloader, TIPS-8033
You can search for, view, download or order these documents and other Redbooks,
Redpapers, Web Docs, draft and additional materials, at the following website:
http://www.ibm.com/redbooks
Online resources
These websites are also relevant as further information sources:
IBM Linear Tape File System Support
http://www.ibm.com/systems/storage/tape/ltfs/index.html
IBM Linear Tape File System Single Drive Edition Information Center
http://publib.boulder.ibm.com/infocenter/ltfs/cust/index.jsp
IBM Linear Tape File System Library Edition Information Center
http://publib.boulder.ibm.com/infocenter/ltfsle/cust/index.jsp
IBM Linear Tape File System Storage Manager Information Center
http://publib.boulder.ibm.com/infocenter/ltfssm/cust/index.jsp
IBM Linear Tape File System Format Specification
http://www.trustlto.com/LTFS_Format_To%20Print.pdf
Linear Tape-Option Program
http://www.lto.org/technology/ltfs.html
Awards
http://www.emmys.tv/news/2011/watch-2011-engineering-emmys
Troubleshooting problems with the IBM Linear Tape File System Library Edition:
http://pic.dhe.ibm.com/infocenter/ltfsle/cust/topic/com.ibm.storage.hollywood.d
oc/ltfs_managing_troubleshooting_library_edition.html
Learn why IBM Linear The IBM Linear Tape File System (LTFS) is the first file system that works in
conjunction with Linear Tape-Open (LTO) tape technology to set a new INTERNATIONAL
Tape File System is an
standard for ease of use and portability for open systems tape storage. In TECHNICAL
award winner 2011, LTFS won an Engineering Emmy Award for Innovation from the Academy SUPPORT
of Television Arts & Sciences.
ORGANIZATION
Explore the new
This IBM Redbooks publication helps you install, tailor, and configure the new
Linear Tape File IBM Linear Tape File System Single Drive Edition (LTFS SDE), Library Edition
System Storage (LTFS LE), and Storage Manager (LTFS SM).
Manager
LTFS is a file system that is implemented on dual-partition linear tape (IBM LTO
Ultrium 5 tape drives (LTO-5), IBM LTO Ultrium 6 tape drives (LTO-6), and IBM
BUILDING TECHNICAL
Drag and drop with TS1140 tape drives). LTFS makes tape look and work like any removable
INFORMATION BASED ON
media, for example, a USB drive. Files and directories appear on the desktop PRACTICAL EXPERIENCE
Linear Tape File
as a directory listing. It is now simple to drag files to and from tape. Any
System SDE and LE application that is written to use disk files works with the same files on tape. IBM Redbooks are developed
LTFS SDE supports stand-alone drives only. LTFS LE supports tape libraries. by the IBM International
LTFS LE presents each cartridge in the library as a subdirectory in the LTFS file Technical Support
system. With LTFS LE, you can list the contents and search all of the volumes in Organization. Experts from
the library without mounting the volumes by using an in-memory index. IBM, Customers and Partners
from around the world create
The LTFS SM software solution provides storage lifecycle management of timely technical information
archive files. Although both the LTFS SDE and the LTFS LE can write data on based on realistic scenarios.
tape, LTFS SM provides the interface to manage files of all types in a file Specific recommendations
system structure. This file system structure makes the control of the tape are provided to help you
library transparent to the user. implement IT solutions more
effectively in your
This publication is intended for anyone who wants to understand more about environment.
IBM Linear Tape System products and their implementation. This book is
suitable for IBM clients, IBM Business Partners, IBM specialist sales
representatives, and technical specialists.
For more information:
ibm.com/redbooks