================================================================================ Oracle's StorageTek Linear Tape File System (LTFS), Open Edition - Version 1.2.6 ================================================================================ Files in this download contain Licensed Materials, property of Oracle, Copyright (C) 2011-2015 Oracle America, Inc. Files in this download also contain Licensed Materials, property of HP, (C) Copyright 2010-2012 Hewlett Packard Development Company, L.P. Files in this download also contain Licensed Materials, property of IBM, (C) Copyright IBM Corp. 2010, 2011. All Rights Reserved. See the Licensing agreement (COPYING.txt) when LTFS is downloaded. The LTFS software application is an open-source tape file system implemented on dual partition tape drives. This file is part of the Oracle's StorageTek Linear Tape File System, Open Edition This library is free software; you can redistribute it and/or modify it only under the terms of version 2.1 of the GNU Lesser General Public License as published by the Free Software Foundation. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or download the license from <http://www.gnu.org/licenses/>. Further details on Oracle's StorageTek LTFS, Open Edition implementation can be found at http://oss.oracle.com/ HISTORY: 3/2011 Oracle - adapted from IBM's LTFS 1.2.0 for use with Oracle & HP LTO5 tape 6/2012 Oracle - adapted from IBM's LTFS 1.2.5 and HP's LTFS 1.2.2 releases 7/2013 Oracle - adapted from HP's LTFS 2.0.0 release 12/2013 Oracle - Support for Solaris 11 10/2015 Oracle - added LTO-7 --------------------------------------- INSTALL document for LTFS for Solaris --------------------------------------- ======================================================================= Installing on Solaris systems ======================================================================= 1. Install the necessary packages: + pkg:/library/libfuse + pkg:/system/file-system/uvfs + library/icu + library/gcc-45-runtime The following command will install uvfs, fuse, ICU, and libgcc_s. # pkg install pkg:/library/libfuse library/icu library/gcc-45-runtime 2. Determine whether you want to use pre-built package or build your own version of the LTFS application. It it highly recommended that the pre-built package be used. To build your own, download and unpack the file : ltfs_126_20151020_orcl_solaris.tar.gz then follow the instructions in ltfs-1.2.6/doc/BUILDING.solaris. When completed, proceed to step 4. 3. Using the pre-built SUNWlfts package 3.1 Download Oracle's StorageTek LTFS, Open Edition for Solaris from oss.oracle.com For systems using the SPARC processor, download: ltfs-1.2.6-20151020_orcl_solaris_11_0u0.sparc.pkg For systems using the x86_64 processor, download: ltfs-1.2.6-20151020_orcl_solaris_11_0u0.i386.pkg 3.2 Install the package root@ltfs-test:~# pkgadd -d <...package dir...>/ltfs-1.2.6-20151020_orcl_solaris_11_0u0.sparc.pkg or root@ltfs-test:~# pkgadd -d <...package dir...>/ltfs-1.2.6-20151020_orcl_solaris_11_0u0.i386.pkg Note: If you have previously installed a version of SUNWltfs you may have to remove it using pkgrm before installing the new version with pkgadd. 4. Using LTFS The following shows how to use a LTFS tape from the command line. The Solaris UVFS capability must not be used to mount a LTFS tape. Create LTFS tape: root@ltfs-test:~# /opt/SUNWltfs/bin/mkltfs -d /dev/rmt/0 Mount LTFS tape from the command line: root@ltfs-test:~# mkdir /mnt/lfts root@ltfs-test:~# /opt/SUNWltfs/bin/ltfs /mnt/ltfs -o devname=/dev/rmt/0 From a different terminal session Edit files, ..., then unmount the file system when done. root@ltfs-test:~# umount /ltfs Mount LTFS tape from the command line using the daemonize & logfile options and ltotape backend: root@ltfs-test:~# /opt/SUNWltfs/bin/ltfs /mnt/ltfs -o tape_backend=ltotape -o devname=/dev/rmt/0 -o daemonize -o logfile=log_output Notes: Minimum drive firmware for LTFS: Oracle StorageTek T10000C: Drive Firmware Special Build RA362109 Oracle StorageTek T10000D: Drive Firmware 4.09.107 HP LTO-5 Tape Drives: Drive Firmware I67S HP LTO-6 Tape Drives: Drive Firmware J39S IBM LTO-5 Tape Drives: Drive Firmware CBX0 IBM LTO-6 Tape Drives: Drive Firmware C9T4 IBM LTO-7 Tape Drives: Drive Firmware F8E0 Tape backend: Oracle StorageTek tape drives don't require setting the tape backend because the default is the "orcltape" option. If using HP or IBM LTO tape drives, use the "ltotape" backend option. The "ibmtape" backend is unsupported, use the "ltotape" backend option instead.