From owner-freebsd-questions@FreeBSD.ORG Sat May 19 13:10:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC6C016A402 for ; Sat, 19 May 2007 13:10:37 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: from trueband.net (director.trueband.net [216.163.120.8]) by mx1.freebsd.org (Postfix) with SMTP id 5614113C447 for ; Sat, 19 May 2007 13:10:37 +0000 (UTC) (envelope-from jhall@vandaliamo.net) Received: (qmail 15493 invoked by uid 1006); 19 May 2007 12:43:56 -0000 Received: from jhall@vandaliamo.net by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(1.0/100.0):. Processed in 0.479414 secs); 19 May 2007 12:43:56 -0000 X-Spam-Status: No, hits=1.0 required=100.0 X-Spam-Level: * Received: from unknown (HELO trueband.net) (172.16.0.14) by -v with SMTP; 19 May 2007 12:43:55 -0000 Received: (qmail 26421 invoked from network); 19 May 2007 12:43:55 -0000 Received: from unknown (HELO admintool.trueband.net) (127.0.0.1) by -v with SMTP; 19 May 2007 12:43:55 -0000 Received: from 65.117.48.155 (SquirrelMail authenticated user jhall@vandaliamo.net) by admintool.trueband.net with HTTP; Sat, 19 May 2007 12:43:55 -0000 (GMT) Message-ID: <1757.65.117.48.155.1179578635.squirrel@admintool.trueband.net> Date: Sat, 19 May 2007 12:43:55 -0000 (GMT) From: jhall@vandaliamo.net To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Tape Capacity Used? 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: Sat, 19 May 2007 13:10:37 -0000 I am trying to calculate how much of the space on my tape has been used. This is what I have done, and I want to make sure I barking up the right tree before going too far. Move the tape to the end of the data. (mt eod). Find the logical block location of the drive (mt rdspos). /dev/nsa0: logical block location 2242573 If I multiply the result (2242573) by my blocksize, does this give me the total amount of the tape that has been used? And, if there is an easier way to do this, please let me know. Thanks in advance for your assistance. Jay