From owner-freebsd-questions Sun Nov 22 21:16:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA27882 for freebsd-questions-outgoing; Sun, 22 Nov 1998 21:16:55 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from n4hhe.ampr.org (tnt3-58.HiWAAY.net [208.147.146.58]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA27867 for ; Sun, 22 Nov 1998 21:16:41 -0800 (PST) (envelope-from dkelly@n4hhe.ampr.org) Received: from n4hhe.ampr.org (localhost.ampr.org [127.0.0.1]) by n4hhe.ampr.org (8.9.1/8.9.1) with ESMTP id WAA18769; Sun, 22 Nov 1998 22:49:48 -0600 (CST) (envelope-from dkelly@n4hhe.ampr.org) Message-Id: <199811230449.WAA18769@n4hhe.ampr.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Rick Knebel cc: questions@FreeBSD.ORG From: David Kelly Subject: Re: tape backup In-reply-to: Message from Rick Knebel of "Sun, 22 Nov 1998 12:54:17 EST." <199811221754.MAA01081@rknebel.csrlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 22 Nov 1998 22:49:48 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Rick Knebel writes: > Hi, > > I have a seagate scsi backup on my system that works great with OS2 and linux > . > In reading the manual it syas the name of this device should be /dev/nrst0. > When I issue the command tar cvf /dev/nrst0 /etc/ppp the tape drive springs > into action but it then stops with the message that it cannot add the file > /dev/nrst0. > > Any thoughts. You don't specify what version of FreeBSD, nor what model Seagate tape drive you are using. Sometimes this matters. Also copy/paste the exact results of your error is also of great help (but don't paste hundreds of lines), something like this: n4hhe: {1048} tar cvf /dev/nrst0 /etc/ppp tar: Removing leading / from absolute path names in the archive. etc/ppp/ etc/ppp/ppp.conf.sample etc/ppp/ppp.linkup.sample etc/ppp/ppp.linkdown.sample etc/ppp/ppp.secret.sample etc/ppp/ppp.deny etc/ppp/ppp.shells.sample etc/ppp/login.chat.script tar: can't add file /etc/ppp/pap-secrets : Permission denied etc/ppp/options etc/ppp/connect-errors n4hhe: {1049} ls -l /dev/*rst0 crw-rw---- 1 root operator 14, 2 May 25 03:07 /dev/erst0 crw-rw---- 1 root operator 14, 1 Nov 22 22:41 /dev/nrst0 crw-rw---- 1 root operator 14, 0 Nov 7 22:58 /dev/rst0 n4hhe: {1051} id uid=928(dkelly) gid=928(dkelly) groups=928(dkelly), 0(wheel), 5(operator), 68(dialer) n4hhe: {1050} Suggest you verify the id of the user you are running tar as, and check the permissions on your tape device as shown above. > Also what commands and what programs do i need to use to rewind and erase a > tape under freebsd. Try "man mt", if you use /dev/rst0 then there would be no need to rewind after using. % mt rewind % mt erase -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message