From owner-freebsd-isp Fri Sep 17 8:42:33 1999 Delivered-To: freebsd-isp@freebsd.org Received: from guardian.fortress.org (guardian-ext.fortress.org [199.202.137.242]) by hub.freebsd.org (Postfix) with ESMTP id B9CBC14EB4 for ; Fri, 17 Sep 1999 08:42:28 -0700 (PDT) (envelope-from andrew@guardian.fortress.org) Received: from localhost (andrew@localhost) by guardian.fortress.org (8.9.3/8.8.8) with ESMTP id LAA13119; Fri, 17 Sep 1999 11:42:26 -0400 (EDT) (envelope-from andrew@guardian.fortress.org) Date: Fri, 17 Sep 1999 11:42:26 -0400 (EDT) From: Andrew Webster Reply-To: andrew@pubnix.net To: Phillip Ryker Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Tape Drive Insanity!! In-Reply-To: <37E1F80B.A91138C8@skynetweb.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 17 Sep 1999, Phillip Ryker wrote: > I am confused as how to use a tape system under FreeBSD. I have a > system running FreeBSD v3.3 -STABLE. I have completed a recent make > world and have built a custom kernel to support the tape system. [ snip ] > > I read through the handbook and I did exactly what it asks. I did a: > > mt fsf 1 > > And I got the following error: > > mt: /dev/nrsa0: fsf: Input/output error Could it be that there is nothing on the tape? You can't fast-forward to the next file-mark if you haven't written anything yet. > > And the /var/log/messages reports: > > Sep 17 14:38:06 ns5 /kernel: (sa0:ahc0:0:4:0): SPACE. CDB: 11 1 > 0 > 0 1 0 > Sep 17 14:38:06 ns5 /kernel: (sa0:ahc0:0:4:0): BLANK CHECK req sz: 1 > (decimal) asc:0,5 > Sep 17 14:38:06 ns5 /kernel: (sa0:ahc0:0:4:0): End-of-data detected > > ALso, when I try to run a dump as follows: > > dump -0u /etc > > I get the following: > > bash-2.03# dump -0u /etc > DUMP: Date of this level 0 dump: Fri Sep 17 14:40:02 1999 > DUMP: Date of last level 0 dump: the epoch > DUMP: Dumping /etc to /dev/rsa0 > DUMP: bad sblock magic number > DUMP: The ENTIRE dump is aborted. > > Any insight on what I am doing wrong here or any help would be greatly > appreciated!! This is not the correct usage of dump. You can only dump filesystems, not arbitrary directories (unless you /etc is in a separate filesystem). You'd want to do dump 0uf /dev/nrsa0 /usr for example. This tells dump you want to backup /usr onto /dev/nrsa0 Andrew Webster andrew@pubnix.net PubNIX Inc. CF E8 16 B8 A6 DB E3 C9 83 E7 96 24 25 58 15 6E P.O. Box 147 Cote Saint Luc, Quebec H4V 2Y3 tel 514-990-5911 http://www.pubnix.net fax 514-990-9443 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message