From owner-freebsd-questions Fri Sep 20 00:31:32 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA02625 for questions-outgoing; Fri, 20 Sep 1996 00:31:32 -0700 (PDT) Received: from cyclone.degnet.baynet.de (root@cyclone.degnet.baynet.de [194.95.214.129]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA02521 for ; Fri, 20 Sep 1996 00:31:21 -0700 (PDT) Received: from neuron (ppp2 [194.95.214.132]) by cyclone.degnet.baynet.de (8.6.12/8.6.9) with SMTP id JAA00480; Fri, 20 Sep 1996 09:37:26 +0200 Message-ID: <32426339.7C79@degnet.baynet.de> Date: Fri, 20 Sep 1996 09:26:17 +0000 From: Darius Moos Reply-To: moos@degnet.baynet.de X-Mailer: Mozilla 3.0Gold (Win95; I) MIME-Version: 1.0 To: Sean Kelly CC: FreeBSD-questions Subject: Re: SCSI Tape support ? References: <199609192017.UAA10787@gatekeeper.fsl.noaa.gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Sean Kelly wrote: > >>>>> "Timothy P Layton, Sr " writes: > If you used a block size when you dumped, use it with restore: > restore tbf 64 /dev/rst0 > > Also I am using a density of 61000 as an argument for the dump > > command. I am assuming that this is the correct density for a 2 Gb > > DAT tape ? > I wouldn't use the density argument because it's intended to help dump > find the end-of-tape on devices that don't indicate end-of-tape. But > your HP DAT drive certainly can detect end-of-tape. So, use the B > option to specify a huge number of blocks. Before I started using > Amanda for dumps, I used this command: > dump 0nubBf 64 999999 /dev/nrst0 Wasting space on the tape here. The default block-size for dump is 1024 and you cannot change it for DAT-tapes. As Joerg Wunsch stated in a mail to this group a few weeks ago, the option "b" specifies only the number of blocks that are written at once on every write-attempt for a dump-record. More interesting to you would be the option "B", that specifies the length of the tape. So for a 2 GB tape you get the following value: B := 2 [GB] / 1024 [bytes] = 1024 * 1024 * 1024 * 2 / 1024 [bytes] = 2097152 [blocks of 1024 bytes] This will give you the full capacity of the tape. Just ignore the density-option. Also check the mail-archive on this topic. Darius Moos. -- email: moos@degnet.baynet.de