Added License
This commit is contained in:
parent
6c8af9bd5f
commit
726f00104b
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 Massimo Scagliola
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
12
README.md
12
README.md
@ -1,16 +1,16 @@
|
||||
# LTO9 Optimizer
|
||||
|
||||
This is a simple bash script to initialize/optimize LTO9 physical tapes.
|
||||
This is a simple Bash script to initialize/optimize LTO9 physical tapes.
|
||||
|
||||
## The problem
|
||||
## The Problem
|
||||
|
||||
Enterprise LTO9 tapes are cool, but if you buy them in stocks of 1,000, or even 2,000, you potentially need [weeks](https://www.ibm.com/docs/en/ts4500-tape-library?topic=drives-media-optimization) before using them.
|
||||
A single tape is held from 20 minutes up to 2 hours in the drive, and you cannot do anything but wait.
|
||||
This is the standard behavior from this LTO generation.
|
||||
|
||||
I find unnerving that enterprise tape libraries are sold without a feature to do this automatically, so I wrote this simple bash script.
|
||||
I find unnerving that enterprise tape libraries are sold without a feature to do this automatically, so I wrote this simple Bash script.
|
||||
|
||||
## The solution
|
||||
## The Solution
|
||||
|
||||
Connect the Tape Library to a Linux server using SAS or FiberChannel (I only have tested FC), then run `lsscsi -g | grep medium` to get the special device of the changer, which will be something like `/dev/sgX`.
|
||||
|
||||
@ -30,7 +30,7 @@ It has been tested with both:
|
||||
|
||||
The only package required is [mtx](https://linux.die.net/man/1/mtx).
|
||||
|
||||
## Fun facts
|
||||
## Fun Facts
|
||||
|
||||
As far as I know, up to today, 4th of July, 2023, none of the major brands of Tape Libraries can provide a tool capable of this.
|
||||
I wrote the script in a day, then tested and fixed it.
|
||||
@ -39,6 +39,8 @@ Total time spent: 3 days.
|
||||
|
||||
Total money earned: none, so I'll just put it here.
|
||||
|
||||
## Disclaimer
|
||||
|
||||
Please note that this script **does not mean to replace** any of the eventual official tools that may exist – but sadly I wasn't aware of.
|
||||
|
||||
P.S. I am aware the script is poorly written, but I don't have a test environment anymore to test it properly. I'll do it in my spare time.
|
Loading…
Reference in New Issue
Block a user