From owner-freebsd-questions Sun Apr 5 15:44:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA07810 for freebsd-questions-outgoing; Sun, 5 Apr 1998 15:44:05 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA07688 for ; Sun, 5 Apr 1998 15:43:36 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id PAA17711; Sun, 5 Apr 1998 15:43:17 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Sun, 5 Apr 1998 15:43:16 -0700 (PDT) From: Doug White Reply-To: Doug White To: am@f1.ru cc: am@amsoft.ru, freebsd-questions@FreeBSD.ORG Subject: Re: Tape backup technique In-Reply-To: <199804041018.OAA29906@px.f1.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 4 Apr 1998, Andrew Maltsev wrote: > > > > Pretty much. Thus the existence of the `mt' command. > > > > > > Of course I'm using `mt' to rewind and jump over the files, but I see no > > > command to get tape position. > > > > Why do you need it, btw? > > Just to know. To plan what will fit and what was average compression > ration and so on. If it is impossible to know from streamer - why not to > do it in driver? Who does the search for eof, for example - streamer or > driver? If driver then it's easy to add such counter to driver I think.. Assuming the tape drive reports that information. > I even attempted to eject the tape and see position, but the tape is > rewinded prior to eject.. Nice service :) Did `mt eject' do that? > > > And yet another question - what to do if 0-level dump doesn't fit to one > > > tape? > > > > dump will ask for another tape. > > In reality it says something like "Cannot write, abort entire > backup process [yes/no] ?" > Hm.. I had not tried to answer `no', btw :) You need to tell it the tape size. Some tape drives don't return an end-of-tape indication, they report an error. That or the SCSI controller. :( if it's the latter we might be able to fix it. > Btw, I'd wrote more or less detailed plan for myself to do some kind of > tape helper - something that will always know what is on that tape and > help networked computers to access `tape server' reliably and easy. Amanda? Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message