-
Notifications
You must be signed in to change notification settings - Fork 78
Quick start
See README.md
Kindly @piste2750 prepared some packaging stuffs
- RPM: https://github.com/piste2750/rpm-ltfs
- Debian Package: Not available yet
- Homebrew: https://github.com/piste2750/homebrew-ltfs
Before using ltfs, please confirm the path to ltfs
, mkltfs
and ltfsck
is included your PATH environment.
# ltfs -o device_list
The output is like follows. You can have 3 drives in this example and you can use "Device Name" field, like /dev/sg43
in this case, as the argument of ltfs command to mount the tape drive.
50c4 LTFS14000I LTFS starting, LTFS version 2.4.0.0 (10022), log level 2.
50c4 LTFS14058I LTFS Format Specification version 2.4.0.
50c4 LTFS14104I Launched by "/home/piste/ltfsoss/bin/ltfs -o device_list".
50c4 LTFS14105I This binary is built for Linux (x86_64).
50c4 LTFS14106I GCC version is 4.8.5 20150623 (Red Hat 4.8.5-11).
50c4 LTFS17087I Kernel version: Linux version 3.10.0-514.10.2.el7.x86_64 (mockbuild@x86-039.build.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Mon Feb 20 02:37:52 EST 2017 i386.
50c4 LTFS17089I Distribution: NAME="Red Hat Enterprise Linux Server".
50c4 LTFS17089I Distribution: Red Hat Enterprise Linux Server release 7.3 (Maipo).
50c4 LTFS17089I Distribution: Red Hat Enterprise Linux Server release 7.3 (Maipo).
50c4 LTFS17085I Plugin: Loading "sg" tape backend.
Tape Device list:.
Device Name = /dev/sg43, Vender ID = IBM , Product ID = ULTRIUM-TD5 , Serial Number = 9A700L0077, Product Name = [ULTRIUM-TD5] .
Device Name = /dev/sg38, Vender ID = IBM , Product ID = ULT3580-TD6 , Serial Number = 00013B0119, Product Name = [ULT3580-TD6] .
Device Name = /dev/sg37, Vender ID = IBM , Product ID = ULT3580-TD7 , Serial Number = 00078D00C2, Product Name = [ULT3580-TD7] .
After listing the drives, you can mount the tape drive you choose like
# ltfs -o devname=/dev/sg43 /ltfs
In this command, the ltfs command try to mount the tape drive /dev/sg43
tp /ltfs
directory. If mount process is successfully done, you can access to the LTFS tape through /ltfs
directory.
You can use following command when you want to unmount the tape. The ltfs command try to write down the current meta-data to the tape and close the tape cleanly.
# umount ltfs
One thing you need to pay attention here is it is not a unmount completion when umount command is returned. It just a finish of trigger to notify the unmount request to the ltfs command. Actual unmount is completed when the ltfs command is finished.
Linear Tape File System (LTFS) --> Cool footer image wanted !!
- Quick Start
- Command References
- Logging configuration
- Crash dump setting
- HBA info
- IBM lin_tape driver support
- No item at this time