> On Mon, Jun 03, 2002 at 08:14:10AM +0700, 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
> > }
>
> Basic questions,
> Can you write to and read from your tapedrive?  (tar, dd, ... )
> Does mt status give you reasonable results?
> Is nht0 a no rewinding device?  If you tar to the device,
> do you have to do an mt rewind to read the tarball back?
> It is not a familiar device name to me,
> but then I have no idea what os you are using.
> Is your tape write protected?
>
> --
> Jon H. LaBadie                  [EMAIL PROTECTED]
>  JG Computing
>  4455 Province Line Road        (609) 252-0159
>  Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Jon, Doug, thanks for your replies.  I'm using RedHat 7.2, amanda-2.4.2p2-4.

I think that the tape drive is rewinding, ie. could create tarball and write
back to another dir without rewinding.  So I'm now fairly confident that my
tape device is /dev/ht0.  I suppose my question now is, Can this tape device
be used or do I need a different setting in my amanda.conf file?

I have in my amanda.conf file;
tapedev "/dev/ht0"      # the no-rewind tape device to be used

Some more info about my tape drive..

# cat /proc/ide/ide0/hdb/media
tape

# cat /proc/ide/ide0/hdb/model
Seagate STT20000A

# cat /proc/ide/ide0/hdb/name
ht0

# cat /proc/ide/ide0/hdb/settings
name                    value           min             max             mode
----                    -----           ---             ---             ----
avg_speed               21              0               65535           r
buffer                  324             0               32767           r
current_speed           34              0               69              rw
debug_level             0               0               65535           rw
dsc_overlap             1               0               1               rw
ide_scsi                0               0               1               rw
init_speed              34              0               69              rw
io_32bit                0               0               3               rw
keepsettings            0               0               1               rw
nice1                   1               0               1               rw
number                  1               0               3               rw
pio_mode                write-only      0               255             w
pipeline                9720            108             3538890         rw
pipeline_head_speed_c   31              0               65535           r
pipeline_head_speed_u   0               0               65535           r
pipeline_max            19440           108             3538890         rw
pipeline_min            9720            108             3538890         rw
pipeline_pending        0               0               3538890         r
pipeline_used           0               0               3538890         r
slow                    0               0               1               rw
speed                   1000            0               65535           r
stage                   54              0               63              r
tdsc                    110             50              400             rw
unmaskirq               0               0               1               rw
using_dma               1               0               1               rw

-Brad

Reply via email to