In the same directory as amanda.conf, try this:
su -c amanda "touch tapetype"
This will create a blank tapetype file that amanda can store info about
tapes in.
> -----Original Message-----
> From: Rebecca Pakish [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 28, 2001 3:46 PM
> To: '[EMAIL PROTECTED]'
> Subject: Still a newbie...but getting somewhere...amlabel troubles
>
>
> Hi all...
>
> Thank you for all of your help on the ./tapetype issue. I
> learned a lot
> about my drive from the Seagate site (they have excellent
> documentation as
> far as I'm concerned) got my hardware compression turned off.
>
> Been working on the amanda.conf file, feel like I'm prepared
> to label my
> first tape and dump something! Again, running RH 7.1 on a
> Dell 333 with a
> SCSI Seagate external and just a 90mm tape for starters. (Had
> to download
> the mt command from the rpm site, but everything seems to be
> effectively
> communicating)
>
> In amanda.conf:
> labelstr "^testtape[0-9][0-9]"
> (**amanda.conf is in /usr/local/etc/amanda/backup**)
>
> What's happening...
> $su amanda -c "amlabel backup testtape01"
> bash: /root/.bashrc: Permission denied
> rewinding, reading label, not an amanda tape
> rewinding, writing label testape01, checking labelamlabel:
> couldn't write
> tapelist: Permission denied
>
> And then I looked for the file called "tapelist" that the
> amlabel man page
> said it would write to, and I couldn't find it to change it's
> permissions.
> When I went back to re-execute the amlabel command so I could
> write down the
> error, this is what happens:
> $su amanda -c "amlabel backup testtape01"
> bash: /root.bashrc: Permission denied
> rewinding, reading label testtape01
> rewinding, writing label testtape01, checking labelamlabel:
> couldn't write
> tapelist: Permission denied
>
> Which, I have to admit, for a girl who just learned how to
> tar on Friday and
> rpm yesterday, I'm pretty jacked to see that it read the
> label as testtape01
> that second time! But of course, it still isn't right. oops.
>
> Can someone please help point me in the right direction?
> Thanks!!
> Rebecca
>
>
>