From owner-freebsd-questions Sat Aug 8 12:08:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA14017 for freebsd-questions-outgoing; Sat, 8 Aug 1998 12:08:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA13992 for ; Sat, 8 Aug 1998 12:07:34 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.8.8/8.8.8) id OAA26199; Sat, 8 Aug 1998 14:07:12 -0500 (CDT) (envelope-from dan) Message-ID: <19980808140712.A26139@emsphone.com> Date: Sat, 8 Aug 1998 14:07:12 -0500 From: Dan Nelson To: Jeff Kletsky , freebsd-questions@FreeBSD.ORG Subject: Re: multi-session dump on single tape References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.2i In-Reply-To: ; from "Jeff Kletsky" on Fri Aug 7 22:07:20 GMT 1998 X-OS: FreeBSD 2.2.7-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Aug 07), Jeff Kletsky said: > which seems to work fine for tar and a single dump, but I have not been > able to determine the "magic" required to place multiple dump sessions on a > single tape. > > I have tried the following, then using restore -t, restore -t -s 1, restore > -t -s 2, with mt rewind and mt fsf thrown in liberally and in various > combinations to see if the dump is there. > > mt erase > dump -0au / > > works, > but any of the following seem to leave only a single session on the tape > > mt erase > dump -0au / > dump -0au /var dump defaults to /dev/rst0, which is a "rewind-on-close device". Try mt rewind dump 0auf /dev/nrst0 / dump 0auf /dev/nrst0 /var mt rewind A quick way to see how many files are on a tape (and the blocksize and total size of each file) is to run "tcopy /dev/rst0". -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message