Scalar i40 tapechanger LUN appearing as a second tape drive

Kenneth D. Merry ken at FreeBSD.ORG
Tue Jun 5 20:34:42 UTC 2018


On Tue, Jun 05, 2018 at 22:25:20 +0200, Dirk-Willem van Gulik wrote:
> On 5 Jun 2018, at 20:07, Kenneth D. Merry <ken at freebsd.org> wrote:
> > 
> >> Next up - finding out what is wrong with LEOM (and amanda).
> > 
> > You're having problems with Amanda?
> 
> Somehow amtapetype does not detect LEOM on LTO5 with amanda 3.3.9. Which seems a bit silly.
> 

Amanda shouldn't be doing anything unusual in reading the tape, but it's
possible that its detection logic isn't quite right.

For what it's worth, here's what I'm using in my amanda.conf as a tapetype
with an IBM LTO-5 drive on 3.3.9:

define tapetype LTO-5 {
	comment "LTO 5"
	length 2000000 mbytes
	filemark 0 kbytes
	speed 150000 kps
	part_size 150000 mbytes
	part_cache_type disk
	part_cache_dir "/scratch/amanda"
	part_cache_max_size 150000 mbytes
}

Note that the length is intentionally longer than the 1.5TB raw tape
capacity.  With compression, we get at least that or more, and that helps
keep Amanda from thinking it needs too many tapes.

> Checking with 3.5.1 now (as ports stops at 3.3.9); just in case.

I would suggest just use the above tapetype or a derivative and don't worry
about whether amtapetype is doing the right thing.

Ken
-- 
Kenneth Merry
ken at FreeBSD.ORG


More information about the freebsd-scsi mailing list