From owner-freebsd-scsi@freebsd.org Tue Jun 5 20:34:42 2018 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 792D7FF583C for ; Tue, 5 Jun 2018 20:34:42 +0000 (UTC) (envelope-from ken@kdm.org) Received: from mithlond.kdm.org (mithlond.kdm.org [96.89.93.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mithlond.kdm.org", Issuer "mithlond.kdm.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 14BC470CBE for ; Tue, 5 Jun 2018 20:34:41 +0000 (UTC) (envelope-from ken@kdm.org) Received: from mithlond.kdm.org (localhost [127.0.0.1]) by mithlond.kdm.org (8.15.2/8.14.9) with ESMTPS id w55KYe9R005163 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 5 Jun 2018 16:34:40 -0400 (EDT) (envelope-from ken@mithlond.kdm.org) Received: (from ken@localhost) by mithlond.kdm.org (8.15.2/8.14.9/Submit) id w55KYe7F005162; Tue, 5 Jun 2018 16:34:40 -0400 (EDT) (envelope-from ken) Date: Tue, 5 Jun 2018 16:34:40 -0400 From: "Kenneth D. Merry" To: Dirk-Willem van Gulik Cc: freebsd-scsi@freebsd.org Subject: Re: Scalar i40 tapechanger LUN appearing as a second tape drive Message-ID: <20180605203439.GF2459@mithlond.kdm.org> References: <47CCCC93-7168-47B8-8C80-248C90F8085C@webweaving.org> <20180515201939.GA35140@mithlond.kdm.org> <3E5345E0-2F97-47A8-8BFB-94523B65B0A4@webweaving.org> <20180516165307.GB35140@mithlond.kdm.org> <64CB99E1-9A12-41EB-9D11-42C1AECED2F0@webweaving.org> <20180605180718.GA2459@mithlond.kdm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mithlond.kdm.org [127.0.0.1]); Tue, 05 Jun 2018 16:34:40 -0400 (EDT) X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mithlond.kdm.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 20:34:42 -0000 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 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@FreeBSD.ORG