On Mon, 3 Jun 2002, Brad Waugh wrote:
> Have trouble with trying to label tapes. The drive on ide0. Have tried
> /dev/ht0 & /dev/nht0. Both give;
>
> $ /usr/sbin/amlabel iogta Tape1
> rewinding, reading label, not an amanda tape
> rewinding, writing label Tape1, checking label
> amlabel: no label found, are you sure /dev/nht0 is non-rewinding?
>
> I have a Seagate STT20000A (using Travan 20GB tapes).
>
> Have set my tapetpye in /etc/amanda/iogta/amanda.conf to;
>
> runtapes 1
> tapedev "/dev/nht0"
> tapetype STT20000A
> labelstr "^Tape[0-9][0-9]*$"
>
> define tapetype STT20000A {
> comment "just produced by tapetype program"
> length 9500 mbytes
> filemark 103 kbytes
> speed 914 kbytes
> }
>
> Any suggestions?
>
> -Brad
>
>
Hi Brad -
Since you didn't mention what OS you're using, it's a bit of a stab in the
dark, but, typically the device is
/dev/n<TAPE_DEVICE> or
/dev/nr<TAPE_DEVICE>
e.g. on my FreeBSD box with a SCSI tape drive, I'm using
/dev/nrsa0 where sa0 is the TAPE_DEVICE
take a look in /dev/ (and dmesg) for what your system is using for it's
tape device and give it another try.
HTH
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Doug Silver
Network Manager
Urchin Software Corp. http://www.urchin.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~