From owner-freebsd-questions Fri Nov 15 16:20:21 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA29050 for questions-outgoing; Fri, 15 Nov 1996 16:20:21 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA29045 for ; Fri, 15 Nov 1996 16:20:17 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id QAA03968; Fri, 15 Nov 1996 16:20:02 -0800 (PST) Date: Fri, 15 Nov 1996 16:20:01 -0800 (PST) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Lior Elazary cc: questions@FreeBSD.org Subject: Re: Tape Backup In-Reply-To: <328B7256.16E@netlimited.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 14 Nov 1996, Lior Elazary wrote: > Hello, > I have a HP T4000s tape backup which I am trying to run. > The device st0 is recodnize but when I run dump 0 /dev/rst0 > I get this: > DUMP: Date of this level 0 dump: Fri Nov 15 11:05:42 1996 > DUMP: Date of last level 0 dump: the epoch > DUMP: Dumping /dev/rst0 to /dev/rmt8 > DUMP: bad sblock magic number > DUMP: The ENTIRE dump is aborted. You need to specify a device. /dev/rmt8 doesn't exist and hasn't existed for many years. We use this for our dump script to virutally the same device: rdump 0uBbf 2000000 10 resnet2.uoregon.edu:/dev/nrst0 / rdump 0uBbf 2000000 10 resnet2.uoregon.edu:/dev/nrst0 /var rdump 0uBbf 2000000 10 resnet2.uoregon.edu:/dev/nrst0 /usr rdump 0uBbf 2000000 10 resnet2.uoregon.edu:/dev/rst0 /usr1 We use rdump but it's the same idea. The key is the 'f' flag which specifies a device. Note that nrst0 is the no-rewind device, while rst0 will rewind the tape. Our script above backs the machine up putting all the filesystems on one (or more if necessary) tape(s). > tar: can't write to /dev/rst0 : Input/output error > > Do I need to format the tape? If so how do I do that. No, it should work. Make sure the tape is mounted properly and you can see it with 'mt status'. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major