From owner-freebsd-questions Tue Aug 22 8:58:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from stella.pyramus.com (stella.pyramus.com [206.129.206.3]) by hub.freebsd.org (Postfix) with ESMTP id 9859E37B43E for ; Tue, 22 Aug 2000 08:58:54 -0700 (PDT) Received: from phil.pyramus.com (phil [206.129.206.2]) by stella.pyramus.com (8.9.3/8.9.3) with ESMTP id JAA08156 for ; Tue, 22 Aug 2000 09:20:09 -0700 (PDT) (envelope-from blake@pyramus.com) Received: from dark_star.pyramus.com (dark-star.pyramus.com [206.129.206.6]) by phil.pyramus.com (8.10.0/8.10.0) with ESMTP id e7MGCDW00735 for ; Tue, 22 Aug 2000 09:12:13 -0700 (PDT) Message-Id: <4.3.2.7.0.20000822085641.00bb62b0@mail.pyramus.com> X-Sender: blake@mail.pyramus.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 22 Aug 2000 09:11:40 -0700 To: freebsd-questions@FreeBSD.ORG From: Blake Swensen Subject: stupid sysadmin tricks (was: Amanda and Tapedev) In-Reply-To: <4.3.2.7.2.20000822094905.00b05ec0@mail.utexas.edu> References: <4.3.2.7.0.20000822065115.00b4de20@mail.pyramus.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well the problem was me just not pointing to the right config directory... doh! Now I got another strange problem in the Amanda play-by-play (next time I'll get Dennis Miller to do the color). amdump runs but dies. Says that the particular drive is not allowed by user bin.. ie. hostname /dev/wd0s1a lev 0 FAILED [hostname: [access as bin not allowed from bin@hostname.domain.com] However, amdump will not run under any other UID. At first, bin could not execute the dumper program because the dumper was only executable by root:operator. Made bin a member of the operator group and that seemed to solve that problem. Now I am getting the error (above). So the question is, how do I give bin read access to the devices to be backed up... at least I think this is the question. Peace, Blake At 09:51 AM 8/22/00 -0500, Oscar Ricardo Silva wrote: >With Amanda, you definitely need to use "/dev/nrsa0", the non-rewinding >device. Did you use amlabel to give the tape an Amanda label? If not, >label the tape and then run amcheck to see if Amanda can read the tape >correctly. > > > >Oscar > >At 07:01 AM 8/22/00 -0700, Blake Swensen, you wrote: >>I guess I just don't understand what Amanda is looking for in terms of >>the tapedev parameter in the config file. >> >>I have set it to tapedev "/dev/nrsa0" and to tapedev "/dev/rsa0" (which >>both work using mt). I have also set it to null hoping that amlabel will >>just use the default. >> >>Amlabel reports: "rewindingamlabel: no tape online". >> >>The tape is an HP-T4000s Taravan SCSI tape, and it works flawlessly with >>dump and tar. >> >>The tape definition to the following: >> >>define tapetype HP-T4000s { >> comment "Hewlett-Packard Taravan 4GB SCSI Tape" >> length 4200 mbytes >> filemark 48 kbytes >> speed 3.30 mbytes >>} >> >>Any help on what amanda is looking for? >> >>Peace, >>Blake > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message