From owner-freebsd-hackers@FreeBSD.ORG Thu May 16 21:22:17 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 44D071AC for ; Thu, 16 May 2013 21:22:17 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id E8291792 for ; Thu, 16 May 2013 21:22:16 +0000 (UTC) Received: from [194.32.164.30] (80-46-130-69.static.dsl.as9105.com [80.46.130.69]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id r4GL9kd5018761; Thu, 16 May 2013 22:09:47 +0100 (BST) (envelope-from rb@gid.co.uk) Subject: Re: tape (sa0) on sparc64 ? Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Bob Bishop In-Reply-To: Date: Thu, 16 May 2013 22:08:22 +0100 Content-Transfer-Encoding: 7bit Message-Id: <0D672BB1-1928-4F7A-BF72-CA7EE15D0563@gid.co.uk> References: To: Zaphod Beeblebrox X-Mailer: Apple Mail (2.1283) Cc: FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 May 2013 21:22:17 -0000 Hi, On 16 May 2013, at 21:51, Zaphod Beeblebrox wrote: > I have to retrieve some very old backups. They were made on FreeBSD and > are on tape... specifically DDS4. [etc] > However, attached to either controller (after a reboot of the machine and a > powercycle of the drive), I get: > > [1:25:325]root@run:/home/foo> dd if=/dev/sa0 of=tape5 > dd: /dev/sa0: Input/output error > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.002930 secs (0 bytes/sec) > > ... which is a return code of '1' and no messages on the console... > > I have, before you ask, tried "bs=10k" and 20k ... but I believe this > command should run by itself fetching the first 512 bytes of each block --- > narrowing down the block size logically comes after making the tape go. Try bs=64k -- Bob Bishop rb@gid.co.uk