Travan 10/20GB ATAPI (IDE) use with Amanda and amlabel

2002-06-10 Thread Trevor Fraser

Hi All,

I've recently intalled a Travan 20GB tape drive ATAPI (IDE) (M/N:
STT32A), and I'm running Linux 7.1 with Amanda 2.4.2p2. I'm yet to get
it to work. We are able to see the /dev/nht0 device and can rewind, etc...
We cannot amlabel or do amcheck.

The software which comes with the tape drive only supports Microsoft Windows
and there is no mention of Linux in the documentation or on their website. I
plug the tape drive into a  Windows machine and install backup-exec and it
works, but I had to first media initialize.

 I am trying to label the tape using amlabel, with the tape device in the
config file set to nht0 instead of ht0, ie non-rewinding, but the message
received is:

rewinding, reading label, no label found
rewinding, writing label archive1, checking label
amlabel: no label found, are you sure /dev/nht0 is non-rewinding?

when I use amcheck, the message is:
ERROR:/dev/nht0:not an amanda tape
  (expecting a new tape)

What am I not seeing/checking?

Where does Linux get the driver for the tape drive from if I haven't
installed the software that comes with it. Does the Red Hat package come
with a driver? The autodetect on startup detects a Seagate STT2A, but on
the drive it says STT32A. Am I way off ? Please Help!

System Instability
-
The resultant problem since I've installed the tape drive is our Linux file
server is freezing up, forced rebooting results which is obviously a no-no.

On shutdown, I see a message:

Sending all processes the TERM signal...
Sending all processes the KILL signal... md: recovery thread got woken up..
md: recovery thread finished...
mdrecoveryd(8) flushing signals.

?Is this of importance to me? The system often freezes at this point.

The other message I receive comes up at random intivals, sometimes when the
tape's activity light is on with no activity is happening, and often causes
the computer to freeze:

ide-tape: hdd: cleanup_module( ) called while still busy.

Regards
Trevor Fraser
[EMAIL PROTECTED]




Re: Travan 10/20GB ATAPI (IDE) use with Amanda and amlabel

2002-06-10 Thread Ben Kochie

I'm not sure why the travan tape is not working properly.. you may want to
upgrade to Redhat 7.3 for both driver issues, and security reasons..

can I say that again.. UPGRADE :)



as far as your system instability, the mdrecovery process is a program
that monitors raid disks.  it's only needed (if i remember right) when you
have a raid disk fail, and it's required to do re-mirroring, or parity
rebuilds.  as to why it locks up at that point, is a difficult question..
it may just be stalled.. how long have you let it go before powering down
the machine?

it sounds to me like you have something odd going in the kernel.. if I
remember right, 7.1 comes with either a 2.2, or a really old 2.4 kernel..
I suggest getting a copy of 7.3 from someplace like www.cheapbytes.com for
$5, and upgrading the system.

-ben

On Mon, 10 Jun 2002, Trevor Fraser wrote:

 Hi All,

 I've recently intalled a Travan 20GB tape drive ATAPI (IDE) (M/N:
 STT32A), and I'm running Linux 7.1 with Amanda 2.4.2p2. I'm yet to get
 it to work. We are able to see the /dev/nht0 device and can rewind, etc...
 We cannot amlabel or do amcheck.

 The software which comes with the tape drive only supports Microsoft Windows
 and there is no mention of Linux in the documentation or on their website. I
 plug the tape drive into a  Windows machine and install backup-exec and it
 works, but I had to first media initialize.

  I am trying to label the tape using amlabel, with the tape device in the
 config file set to nht0 instead of ht0, ie non-rewinding, but the message
 received is:

 rewinding, reading label, no label found
 rewinding, writing label archive1, checking label
 amlabel: no label found, are you sure /dev/nht0 is non-rewinding?

 when I use amcheck, the message is:
 ERROR:/dev/nht0:not an amanda tape
   (expecting a new tape)

 What am I not seeing/checking?

 Where does Linux get the driver for the tape drive from if I haven't
 installed the software that comes with it. Does the Red Hat package come
 with a driver? The autodetect on startup detects a Seagate STT2A, but on
 the drive it says STT32A. Am I way off ? Please Help!

 System Instability
 -
 The resultant problem since I've installed the tape drive is our Linux file
 server is freezing up, forced rebooting results which is obviously a no-no.

 On shutdown, I see a message:

 Sending all processes the TERM signal...
 Sending all processes the KILL signal... md: recovery thread got woken up..
 md: recovery thread finished...
 mdrecoveryd(8) flushing signals.

 ?Is this of importance to me? The system often freezes at this point.

 The other message I receive comes up at random intivals, sometimes when the
 tape's activity light is on with no activity is happening, and often causes
 the computer to freeze:

 ide-tape: hdd: cleanup_module( ) called while still busy.

 Regards
 Trevor Fraser
 [EMAIL PROTECTED]





Re: Travan 10/20GB ATAPI (IDE) use with Amanda and amlabel

2002-06-10 Thread Brad Waugh

Hello Trevor

I wish I had the answer for you but unfortunately after getting amanda to
work it has now reverted back to what you are experiencing.  And worse still
I'm not sure why :(  All I know is that I had it working for a few days, I
then rebooting the server and haven't had it working since.

Below are some snippets from my amanda.conf file.  Please let me know if you
have any joy with getting this resolved.

runtapes 1  # number of tapes to be used in a single run of
amdump
tapedev /dev/nht0 # the no-rewind tape device to be used
tapetype STT2A  # what kind of tape it is (see tapetypes
below)
labelstr ^Tape[0-9][0-9]*$# label constraint regex: all tapes must
match

define tapetype STT2A  {
comment just produced by tapetype program
length 9500 mbytes
filemark 103 kbytes
speed 914 kbytes
}

Although the message from another list member states;

As far as i recall the safest way to use this ide-tapes under linux
is activating scsi-emulation for the drive and then acess it via
/dev/nst[0..n]
the linux ide-tape-driver seems to have some problems with the
way amanda uses tape drives. at least with some tape drives.

I have not tried this, which could be the answer.

Regards
Brad

- Original Message -
From: Trevor Fraser [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 10, 2002 6:02 PM
Subject: Travan 10/20GB ATAPI (IDE) use with Amanda and amlabel


 Hi All,

 I've recently intalled a Travan 20GB tape drive ATAPI (IDE) (M/N:
 STT32A), and I'm running Linux 7.1 with Amanda 2.4.2p2. I'm yet to get
 it to work. We are able to see the /dev/nht0 device and can rewind, etc...
 We cannot amlabel or do amcheck.

 The software which comes with the tape drive only supports Microsoft
Windows
 and there is no mention of Linux in the documentation or on their website.
I
 plug the tape drive into a  Windows machine and install backup-exec and it
 works, but I had to first media initialize.

  I am trying to label the tape using amlabel, with the tape device in the
 config file set to nht0 instead of ht0, ie non-rewinding, but the message
 received is:

 rewinding, reading label, no label found
 rewinding, writing label archive1, checking label
 amlabel: no label found, are you sure /dev/nht0 is non-rewinding?

 when I use amcheck, the message is:
 ERROR:/dev/nht0:not an amanda tape
   (expecting a new tape)

 What am I not seeing/checking?

 Where does Linux get the driver for the tape drive from if I haven't
 installed the software that comes with it. Does the Red Hat package come
 with a driver? The autodetect on startup detects a Seagate STT2A, but
on
 the drive it says STT32A. Am I way off ? Please Help!

 System Instability
 -
 The resultant problem since I've installed the tape drive is our Linux
file
 server is freezing up, forced rebooting results which is obviously a
no-no.

 On shutdown, I see a message:

 Sending all processes the TERM signal...
 Sending all processes the KILL signal... md: recovery thread got woken
up..
 md: recovery thread finished...
 mdrecoveryd(8) flushing signals.

 ?Is this of importance to me? The system often freezes at this point.

 The other message I receive comes up at random intivals, sometimes when
the
 tape's activity light is on with no activity is happening, and often
causes
 the computer to freeze:

 ide-tape: hdd: cleanup_module( ) called while still busy.

 Regards
 Trevor Fraser
 [EMAIL PROTECTED]