Re: Unable to amlabel a tape

2004-05-11 Thread Gene Heskett
On Tuesday 11 May 2004 08:20, Matthias Andree wrote:
>Gene Heskett <[EMAIL PROTECTED]> writes:
>> The 2.6.5 etc kernels also have some configuration switches you
>> can build in for the OnStream stuff, I noticed them in passing
>> just a few days ago.  This might, in the long run make your life a
>> lot more enjoyable if you are comfortable building your own
>> kernels.
>
>Oh, my life is enjoyable, without Onstream hardware :-)
>
>Not that I'm uncomfortable with building my own kernels, but I
> happen to dislike non-standard-conformant hardware and OnStream has
> a good deal of such stuff in their portfolio.

Amen, that they do.  I don't think I've got a pole long enough here to 
let me touch one of them.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.


Re: Unable to amlabel a tape

2004-05-11 Thread Matthias Andree
Gene Heskett <[EMAIL PROTECTED]> writes:

> The 2.6.5 etc kernels also have some configuration switches you can 
> build in for the OnStream stuff, I noticed them in passing just a few 
> days ago.  This might, in the long run make your life a lot more 
> enjoyable if you are comfortable building your own kernels.

Oh, my life is enjoyable, without Onstream hardware :-)

Not that I'm uncomfortable with building my own kernels, but I happen to
dislike non-standard-conformant hardware and OnStream has a good deal of
such stuff in their portfolio.

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95


Re: Unable to amlabel a tape

2004-05-09 Thread Gene Heskett
On Sunday 09 May 2004 08:01, Matthias Andree wrote:
>Laurent <[EMAIL PROTECTED]> writes:
>> This a MDK 9.2 now (with 2.4 kernel), but i expected to end up
>> with the latest 10.0 with 2.6 kernel.
>> But i think i'll stay with 2.4 if  the latest is tricky.
>
>2.6 isn't tricky but has rearranged configuration and gives more
>explicit hints that some of the Onstream hardware is broken; the
>majority of their devices used to NOT follow the regular SCSI model,
>command set etc. for sequential access devices (read: tape trives).
>
>> About the device, thanks ! I wasn't aware of nst0. It works now.
>> Maybe adding it to the FAQ...
>
>No need, the error message is clear and tells you how to remedy the
>problem - check the st(4) manual page, start with the FILES section
> near the end. :-)

The 2.6.5 etc kernels also have some configuration switches you can 
build in for the OnStream stuff, I noticed them in passing just a few 
days ago.  This might, in the long run make your life a lot more 
enjoyable if you are comfortable building your own kernels.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.


Re: Unable to amlabel a tape

2004-05-09 Thread Matthias Andree
Laurent <[EMAIL PROTECTED]> writes:

> This a MDK 9.2 now (with 2.4 kernel), but i expected to end up with the
> latest 10.0 with 2.6 kernel.
> But i think i'll stay with 2.4 if  the latest is tricky.

2.6 isn't tricky but has rearranged configuration and gives more
explicit hints that some of the Onstream hardware is broken; the
majority of their devices used to NOT follow the regular SCSI model,
command set etc. for sequential access devices (read: tape trives).

> About the device, thanks ! I wasn't aware of nst0. It works now. Maybe
> adding it to the FAQ...

No need, the error message is clear and tells you how to remedy the
problem - check the st(4) manual page, start with the FILES section near
the end. :-)

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95


Re: Unable to amlabel a tape

2004-05-06 Thread Laurent
What os etc?
Onstream is notorious for oddball API's, and the later linux 2.6.x 
kernels now have a whole menu page in the kernel configuration for 
adding in OnStream work arounds.

 

This a MDK 9.2 now (with 2.4 kernel), but i expected to end up with the 
latest 10.0 with 2.6 kernel.
But i think i'll stay with 2.4 if  the latest is tricky.

About the device, thanks ! I wasn't aware of nst0. It works now. Maybe 
adding it to the FAQ...

Thanks for all the answers, it's one of the most quickly responding 
lists i've ever saw !


Re: Unable to amlabel a tape

2004-05-05 Thread Gene Heskett
On Wednesday 05 May 2004 11:43, Laurent wrote:
>I have a problem with configuring a single tape unit.
>
>As i saw in the FAQ, i put in amanda.conf :
>runtapes 1
>tapedev /dev/st0
>and commented out tpchanger, changerdev, etc.
>
>But i still have "no label found, are you sure /dev/st0 is
> non-rewinding ?" when amlabel it.
>
>What is badly configured ?
>
>I have an Onstream ADR50 tape reader on a Mandrake 9.2 (MDK amanda
> rpm).

What os etc?

Onstream is notorious for oddball API's, and the later linux 2.6.x 
kernels now have a whole menu page in the kernel configuration for 
adding in OnStream work arounds.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.


Re: Unable to amlabel a tape

2004-05-05 Thread Frank Smith
--On Wednesday, May 05, 2004 17:43:53 +0200 Laurent <[EMAIL PROTECTED]> wrote:

> I have a problem with configuring a single tape unit.
> 
> As i saw in the FAQ, i put in amanda.conf :
> runtapes 1
> tapedev /dev/st0

Try:
  tapedev /dev/nst0
Amanda needs a non-rewinding device.

Frank

> and commented out tpchanger, changerdev, etc.
> 
> But i still have "no label found, are you sure /dev/st0 is non-rewinding ?" when 
> amlabel it.
> 
> What is badly configured ?
> 
> I have an Onstream ADR50 tape reader on a Mandrake 9.2 (MDK amanda rpm).



-- 
Frank Smith  [EMAIL PROTECTED]
Sr. Systems Administrator   Voice: 512-374-4673
Hoover's Online   Fax: 512-374-4501



Re: Unable to amlabel a tape

2004-05-05 Thread Bram Metsch
On Wed, 05 May 2004 17:43:53 +0200
Laurent <[EMAIL PROTECTED]> wrote:

Hello,

> I have a problem with configuring a single tape unit.
> 
> As i saw in the FAQ, i put in amanda.conf :
> runtapes 1
> tapedev /dev/st0
> and commented out tpchanger, changerdev, etc.
> 
> But i still have "no label found, are you sure /dev/st0 is non-rewinding 
 ^
> [..]

As Amanda  tells you, you have to use  a 'non-rewinding' device,
e.g. /dev/nst0

Bram.


pgp9OFIzOuOZJ.pgp
Description: PGP signature


Re: Unable to amlabel a tape

2004-05-05 Thread Joshua Baker-LePain
On Wed, 5 May 2004 at 5:43pm, Laurent wrote

> As i saw in the FAQ, i put in amanda.conf :
> runtapes 1
> tapedev /dev/st0
> and commented out tpchanger, changerdev, etc.
> 
> But i still have "no label found, are you sure /dev/st0 is non-rewinding 
> ?" when amlabel it.
> 
> What is badly configured ?

RTEM.  /dev/st0 is *not* a non-rewinding tape device.  /dev/nst0 is what 
you're looking for.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


Unable to amlabel a tape

2004-05-05 Thread Laurent
I have a problem with configuring a single tape unit.
As i saw in the FAQ, i put in amanda.conf :
runtapes 1
tapedev /dev/st0
and commented out tpchanger, changerdev, etc.
But i still have "no label found, are you sure /dev/st0 is non-rewinding 
?" when amlabel it.

What is badly configured ?
I have an Onstream ADR50 tape reader on a Mandrake 9.2 (MDK amanda rpm).