Date: Fri, 17 Sep 1999 11:42:26 -0400 (EDT) From: Andrew Webster <andrew@guardian.fortress.org> To: Phillip Ryker <pryker@skynetweb.com> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Tape Drive Insanity!! Message-ID: <Pine.BSF.4.10.9909171140100.3861-100000@guardian.fortress.org> In-Reply-To: <37E1F80B.A91138C8@skynetweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909171140100.3861-100000>