From owner-freebsd-questions@FreeBSD.ORG Tue May 31 10:56:38 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5329316A41C for ; Tue, 31 May 2005 10:56:38 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7B1243D54 for ; Tue, 31 May 2005 10:56:36 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [82.41.37.55] ([82.41.37.55]) by smtp-out3.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Tue, 31 May 2005 11:57:14 +0100 Message-ID: <429C4368.6030404@dial.pipex.com> Date: Tue, 31 May 2005 11:58:48 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.8) Gecko/20050530 X-Accept-Language: en, en-us, pl MIME-Version: 1.0 To: Damian Sobieralski References: <20050531005409.90529.qmail@web50402.mail.yahoo.com> In-Reply-To: <20050531005409.90529.qmail@web50402.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 31 May 2005 10:57:14.0475 (UTC) FILETIME=[80E05BB0:01C565CF] Cc: freebsd-questions@freebsd.org Subject: Re: tape record bigger than supplied buffer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2005 10:56:38 -0000 Damian Sobieralski wrote: >>2) See if you can't find some option to match the bacula record size >>to that of your tape drive. Dump, for example, has a -b option e.g. >>"-b 64" to set its record size. I'm puzzled by you only seeing three >>messages though. Why would three buffers be smaller and not the >>rest? >> >> > > That's a good question that I don't know the answer to. I thank you >for the response. I'll see if I can get a bit more information by >restoring the data for us to work with. When you say match the record >size to my tape drive's, is this something that should be listed in my >tape drives literature? > > > Well, I'm guessing yes, but only based on that error message. I know older tape drives had fixed record sizes, and maybe some kinds of new ones do too. My DAT drive does variable sized records, because it has native compression, but yours may not. You could also try "mt -f /dev/sa0" and see what it says. I can't remember off had if it shows anything useful but it only takes seconds. (I'd check, but I'm in the middle of upgrading hardware/software and the tape drive isn't connected up yet). You could also try man 4 sa which talks about fixed and variable block sizes. (As far as I know, there is a limit of 64k for the record size, but this was info from the 4.X series, so I reserve the right to be wrong :-) --Alex