From owner-freebsd-scsi@freebsd.org Mon Jan 14 20:29:09 2019 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 B02551486477 for ; Mon, 14 Jan 2019 20:29:09 +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 410AE74B51 for ; Mon, 14 Jan 2019 20:29:08 +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 x0EKT56k080237 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 14 Jan 2019 15:29:06 -0500 (EST) (envelope-from ken@mithlond.kdm.org) Received: (from ken@localhost) by mithlond.kdm.org (8.15.2/8.14.9/Submit) id x0EKT5dB080236; Mon, 14 Jan 2019 15:29:05 -0500 (EST) (envelope-from ken) Date: Mon, 14 Jan 2019 15:29:05 -0500 From: "Kenneth D. Merry" To: Dan Langille Cc: Scott Long , freebsd-scsi@freebsd.org Subject: Re: Looking for PCI express SCSI diff card recommendations Message-ID: <20190114202905.GQ40028@mithlond.kdm.org> References: <9D2ED808-CE43-41BE-9698-45F0D85843A7@langille.org> <9C8F819A-7B8F-46C8-90E7-BDD16C785BD8@samsco.org> <36153F07-0FE2-4DD5-9BD9-EBD18F88FC10@kdm.org> <3FEF849A-099E-49D7-A8F9-D7D0AA41A7B7@langille.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FEF849A-099E-49D7-A8F9-D7D0AA41A7B7@langille.org> 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]); Mon, 14 Jan 2019 15:29:06 -0500 (EST) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mithlond.kdm.org X-Rspamd-Queue-Id: 410AE74B51 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of ken@kdm.org designates 96.89.93.250 as permitted sender) smtp.mailfrom=ken@kdm.org X-Spamd-Result: default: False [-3.98 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:mithlond.kdm.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[FreeBSD.ORG]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.scsiguy.com]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; IP_SCORE(-1.00)[ipnet: 96.64.0.0/11(-4.23), asn: 7922(-0.69), country: US(-0.08)]; FORGED_SENDER(0.30)[ken@FreeBSD.ORG,ken@kdm.org]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; FROM_NEQ_ENVFROM(0.00)[ken@FreeBSD.ORG,ken@kdm.org] X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2019 20:29:09 -0000 On Mon, Jan 14, 2019 at 09:49:09 -0500, Dan Langille wrote: > > On Jan 14, 2019, at 9:10 AM, Ken Merry wrote: > > > > So, if you???re interested in newer tape drives / libraries, the connection options are FC, SAS or (lately) RoCE. The first two work fine, but I have yet to be able to test/qualify a RoCE drive with FreeBSD. For FC, get a Qlogic board (up to 16Gb is supported now) or a 16Gb or newer Emulex board. Both drivers support FC-Tape. I have had much more experience with the Qlogic driver, but the Emulex driver does seem to work fine. For SAS, get an LSI/Broadcom 12Gb or 6Gb board. They support TLR, which is the SAS equivalent of FC-Tape. > > > > The only current tape drive vendor is IBM, and you can get LTO (LTO-8 is the latest, 12TB/30TB per tape) or TS drives (TS1160 is the latest, 20TB/50TB) from them. TS only makes sense for people with a big enterprise budget. > > In my case, this is for home use, where I have no budget for tape libraries. The units I have are all production-cast-offs via kind donations. Mind you, I did buy a Digital TL891 back in 2006 and it still works. Photo of that beast here: https://www.freebsddiary.org/digital-tl891.php <--- that is the unit for which I wanted a new SCSI card, but now I think the easiest solution is to find another M/B (see below). > Very understandable. The last tape drive I actually bought myself was a standalone DDS-4 drive. Most of the rest of my personal tape hardware has been donated, and is all pretty old at this stage. (Which is useful for tape driver compatibility testing, though.) > > > > I believe HP stopped making their own tape drives at LTO-6. Anything HP-branded that is LTO-7 or newer is going to be an IBM drive under the hood. > > > > If you want a tape library, there are a number of options. I know from copious experience (yes I work there) that Spectra Logic libraries work well with FreeBSD, and their support is good. IBM should also work fine, and really, most libraries should work with FreeBSD without an issue. > > I'm using a Dell TL4000 just now, connected via a SAS card (see below). The other two tape libraries are legacy use only, for older backups. > Ahh, ok. > > If you want to use LTFS on FreeBSD, I ported IBM???s LTFS to FreeBSD: > > > > https://github.com/LinearTapeFileSystem/ltfs > Wow, that's pretty nifty. Thanks. > > > > > You would need an IBM LTO-5 or newer tape drive. LTFS is helpful, but keep in mind it isn???t a backup package in and of itself. It doesn???t manage multiple tapes, it just gives you a filesystem on a tape. > > I can see where that might be useful for restores. Yes, it would be handy for reading one-off tapes. For regular use, though, you'd probably want something else. The performance of LTFS running via FUSE is also somewhat slow, due to the added latency of the extra trips into and out of the kernel. > > As for SCSI adapters, I have a several ahc(4) boards in a machine running FreeBSD/head and talking to SCSI and CD devices. The driver seems to work fine. > > > > One thing to consider if you???re switching machines and looking at buying new hardware, is whether your current tape library is still sufficient for your needs in terms of speed and capacity. Rather than putting the money towards an LVD to HVD converter, you could put it toward a new tape drive or library. > > The tape library in question is a DLT-7000, and it not used for active backups. It is retained only for older backups. > > Current backups are to an LTO-4 tape library, vis a SAS2308 (Avago Technologies / LSI) card. That is working well. > > I do have one M/B which has an both PCI and PCIE slots. I think the easiest short term solution is to move both cards into a chassis with that M/B. No purchase necessary. > That sounds like an ideal solution for your situation. > > > > Another thing to consider is using hard drives for backup. That might work, depending on your requirements for durability and shelf life for the media. I???m guessing that buying a number of enterprise SATA (or SAS) drives would probably be cheaper than buying even a used library, media and FC or SAS card. > > I backup to disk first, then copy to tape later. Both steps are handled by Bacula, the backup package I'm using. > Ahh. If you decide to retire the tape library later on, you can always just backup to disk and put the backup disks on the shelf. (I've been doing that for a long time, ZFS makes it pretty easy.) Ken -- Kenneth Merry ken@FreeBSD.ORG