From owner-freebsd-questions@FreeBSD.ORG Thu Jul 21 14:24:22 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 66B4B16A43B for ; Thu, 21 Jul 2005 14:24:22 +0000 (GMT) (envelope-from ml.freebsd.questions@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8C1543D77 for ; Thu, 21 Jul 2005 14:23:42 +0000 (GMT) (envelope-from ml.freebsd.questions@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so227422wri for ; Thu, 21 Jul 2005 07:23:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=nqDdw89+co4h6QKxyxI8aJCG72dRyNA1Sdi3I0CkN6HmNl/C2M+ibuPLfc3T0heeQl8M2TFANp/+/2vyfEMjDTlVbiuuvqwoA/k54SkL/kUcHMac0/kLiswTyzJkyzfk7yvX+KkKFo+TQuH2D0Ax75z7frQxa77JAeYmEOCBWk4= Received: by 10.54.36.8 with SMTP id j8mr539143wrj; Thu, 21 Jul 2005 07:23:15 -0700 (PDT) Received: by 10.54.76.12 with HTTP; Thu, 21 Jul 2005 07:23:15 -0700 (PDT) Message-ID: <10549b0805072107231993dc2c@mail.gmail.com> Date: Thu, 21 Jul 2005 10:23:15 -0400 From: FreeBSD Questions To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Dump/Tape blocks question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 14:24:23 -0000 I have a question about dump and tape blocks. When I do backups, dump tells me it uses a certain number of blocks for that particular backup. I explicitly set my block size to 65K when I do a dump. When I read the SCSI or hardware block location on the tape after the dump, it's nowhere near the same number as what dump said it used. How big is each block? I'd like to know about where on the tape I am when I do an 'mt rdhpos' command (but I don't know how to determine the reported block size), and I'd like to be able to calculate how much data was written for each backup based on the number of blocks dumped (I assume these blocks are the size I specify on the dump command line). In fact, how can I calculate how many blocks my tape can hold? (i.e. What is the biggest block number an 'mt rdhpos' or 'mt rdspos' will report for my tape?) Of course, an obvious solution to the last question is to write enough data to fill the tape and then check the output of 'mt rdhpos'. I'd rather not spend the hours needed and the unneeded wear on the tape to figure that out.