From owner-freebsd-questions Sat Sep 28 03:09:03 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA07249 for questions-outgoing; Sat, 28 Sep 1996 03:09:03 -0700 (PDT) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA07232 for ; Sat, 28 Sep 1996 03:09:00 -0700 (PDT) Received: from allegro.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0v6wKH-000QlvC; Sat, 28 Sep 96 12:08 MET DST From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id LAA29328; Sat, 28 Sep 1996 11:43:56 +0200 Message-Id: <199609280943.LAA29328@allegro.lemis.de> Subject: mt (was: message without subject line) To: msv@arisia.net (Mark S. Velasquez) Date: Sat, 28 Sep 1996 11:43:56 +0200 (MET DST) Cc: questions@FreeBSD.org (FreeBSD Questions) In-Reply-To: <2.2.32.19960927193337.006ac718@207.100.94.5> from "Mark S. Velasquez" at Sep 27, 96 03:33:37 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Mark S. Velasquez writes: > > > Well, I know I'm asking a stupid question, but I'll do it anyways : > > I've installed a 4mm scsi tape drive(a Conner 4326NP) and then dumped my > filesystems via the following script : > > /sbin/dump 0udf 61000 ganymede:/dev/nrst0 / > /sbin/dump 0udf 61000 ganymede:/dev/nrst0 /usr > /sbin/dump 0udf 61000 ganymede:/dev/nrst0 /var > /sbin/dump 0udf 61000 ganymede:/dev/nrst0 /export/home > /sbin/dump 0udf 61000 ganymede:/dev/rst0 /export/cache > > This seems to work fine, however, when I do a "restore -if" to look at the > tape, I can only see the first(/) filesystem I dumped. > I'm doing an "mt -f /dev/rst0 fsf 1", etc. , to skip to the next dump-file > on the tape, but I never get to the next dump. That's right. /dev/rst0 is rewind on close. This means you skip forward one file, close the file and rewind it again. When positioning tapes, always use the no-rewind device (/dev/nrst0 here). You're doing the right thing with your dump script by using /dev/nrst0 for all except the final dump. You'll get more answers if you include a subject line. Greg