From owner-freebsd-questions@FreeBSD.ORG Fri Jul 29 02:24:49 2005 Return-Path: X-Original-To: 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 654BA16A41F for ; Fri, 29 Jul 2005 02:24:49 +0000 (GMT) (envelope-from ian.moore@hamcoll.sa.edu.au) Received: from decs-smtp2.decs.sa.edu.au (decs-smtp2.decs.sa.edu.au [203.122.254.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DCE643D48 for ; Fri, 29 Jul 2005 02:24:48 +0000 (GMT) (envelope-from ian.moore@hamcoll.sa.edu.au) Received: from decs-smtp2.decs.sa.edu.au (localhost.localdomain [127.0.0.1]) by decs-smtp2.decs.sa.edu.au (Postfix) with ESMTP id DA6261FECB for ; Fri, 29 Jul 2005 11:54:43 +0930 (CST) Received: from decs-smtp3.decs.sa.edu.au (unknown [172.18.0.156]) by decs-smtp2.decs.sa.edu.au (Postfix) with ESMTP id C85381FEC9 for ; Fri, 29 Jul 2005 11:54:43 +0930 (CST) Received: from decs-smtp3.decs.sa.edu.au (localhost.localdomain [127.0.0.1]) by decs-smtp3.decs.sa.edu.au (Postfix) with ESMTP id 19DA713CB8A for ; Fri, 29 Jul 2005 11:54:45 +0930 (CST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by decs-smtp3.decs.sa.edu.au (Postfix) with SMTP id F398E13CB86 for ; Fri, 29 Jul 2005 11:54:44 +0930 (CST) Received: from decs-smtp3.decs.sa.edu.au (localhost.localdomain [127.0.0.1]) by localhost.localdomain with SMTP (Lyris MailShield LINUX version 3.2a); Fri, 29 Jul 2005 11:54:44 +0900 Received: from [10.61.45.239] (unknown [10.61.45.239]) by decs-smtp3.decs.sa.edu.au (Postfix) with ESMTP id 41F4413CB8A for ; Fri, 29 Jul 2005 11:54:44 +0930 (CST) Message-ID: <42E9936B.5010805@hamcoll.sa.edu.au> Date: Fri, 29 Jul 2005 11:54:43 +0930 From: Ian Moore User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7) Gecko/20040616 MultiZilla/1.6.4.0b X-Accept-Language: en-au, en, en-gb, en-us MIME-Version: 1.0 To: Questions Free BSD Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on decs-smtp3.decs.sa.edu.au X-SMTP-HELO: decs-smtp3.decs.sa.edu.au X-SMTP-MAIL-FROM: ian.moore@hamcoll.sa.edu.au X-SMTP-RCPT-TO: questions@FreeBSD.ORG X-SMTP-PEER-INFO: localhost.localdomain [127.0.0.1] X-AV-Checked: ClamAV using ClamSMTP X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: Getting session details from a dump tape 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: Fri, 29 Jul 2005 02:24:49 -0000 Hi, I've done a level 0 dump of a server which is spanned over several tapes. Somehow, when I was labelling the tapes, I did something wrong and have an extra tape in there. I'm wondering if there is some way to find out what is on the tapes? I know I could do an ls to look at the files, but that won't really tell me what dump level it was and when it was dumped. Things I've tried: 1. On the first tape, I can just run #restore -i #what and that gives me the info I need for that tape, however, when I do the same for the next tape, it just says it's not the first tape of the set. 2. Try to read from /dev/sa0 directly: #head /dev/sa0 That didn't give any output, except in the log file, where is says: 10240-byte tape record bigger than supplied buffer. Cheers, -- Ian