Re: am* says my tape "is not a tape device"

Exuvo <[email protected]> Mon, 20 Apr 2026 16:19:58 +0200
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <CA+GwT0Dgx06Y_F6txObHtYuby4HUBM+ptf3DoefYqBV+UnBjQw@mail.gmail.com>
--000000000000fda26c064fe4fe65
Content-Type: text/plain; charset="UTF-8"

The last time i had sporadic errors it was a bad cable connection to the
tape drive. Fixed it by re-plugging all connectors.

Otherwise you will have to track down the error message and work your way
back to where and why it goes wrong.

// Anton "exuvo" Olsson
   [email protected]

On Mon, 20 Apr 2026, 14:46 Nuno Dias, <[email protected]> wrote:

>   Hi,
>
>   Yes, dd, tar, etc works, mt and mtx also without problems, only when I
> use commands from amanda I have the problems, one other thing I forgot
> to write, I have an error, but after some hours I can do the command
> again without problems, for example
>
> $ amlabel CONF LABEL01 slot 1  (OK)
> $ amlabel CONF LABEL02 slot 2  (ERROR)
>
>   Some hours later
>
> $ amlabel CONF LABEL02 slot 2 (OK)
>
>   That's the reason I changed the times in the configuration of the
> changer, thinking was amanda trying to do something before the
> changer/tape ended the previous operation.
>
> Cheers,
> Nuno
>
> On 20/04/2026 11:38, Exuvo wrote:
> > Does basic usage with mt and dd work with the device?
> >
> > // Anton "exuvo" Olsson
> > [email protected] <mailto:[email protected]>
> >
> > On Mon, 20 Apr 2026, 11:46 Nuno Dias, <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >        Hi,
> >
> >        I'm using amanda for years, with a Tape Robot and LTO4 and LTO6
> >     drives
> >     without problems (excluding minor issues).
> >
> >        Now, I have a new Tape Robot with LTO9 drives, and I can't do
> >     anything
> >     with amanda, using amlabel or amtape for example, in the first
> >     interaction work, but in the second interaction complains that tape
> "is
> >     not a tape device".
> >
> >        In the logs I have this
> >
> >     Device tape:/dev/tape/by-id/scsi-3500308c44344e008-nst setting status
> >     flag(s): DEVICE_STATUS_DEVICE_ERROR, and DEVICE_STATUS_DEVICE_BUSY
> >
> >        But nothing is using the tape.
> >
> >        I already extended the "times" in the configuration of the changer
> >
> >               property "load-poll" "200s poll 200s until 700s"
> >               property "eject-delay" "200s"
> >               property "unload-delay" "200s"
> >
> >        But this doesn't solve the problem.
> >
> >        I found a report in github https://github.com/zmanda/amanda/
> >     issues/277 <https://github.com/zmanda/amanda/issues/277>
> >     reporting the same problem, without any update from one year ago :(
> >
> >        Anyone have any ideia how to solve this? Amanda development it
> seems
> >     stopped, but works very good until now, this is my last hope until I
> >     move to other software :(
> >
> >     Thanks,
> >     Nuno
> >     --
> >     Nuno Dias <[email protected] <mailto:[email protected]>>
> >     LIP
> >
>
> --
> Nuno Dias <[email protected]>
> LIP
>
>

--000000000000fda26c064fe4fe65
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>The last time i had sporadic errors it was a bad cab=
le connection to the tape drive. Fixed it by re-plugging all connectors.</d=
iv><div dir=3D"auto"><br></div><div dir=3D"auto">Otherwise you will have to=
 track down the error message and work your way back to where and why it go=
es wrong.</div><div><br></div><div data-smartmail=3D"gmail_signature">// An=
ton &quot;exuvo&quot; Olsson<br>=C2=A0=C2=A0 <a href=3D"mailto:exuvo@exuvo.=
se" target=3D"_blank">[email protected]</a><br></div></div><br><div class=3D"g=
mail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On =
Mon, 20 Apr 2026, 14:46 Nuno Dias, &lt;<a href=3D"mailto:[email protected]">ndia=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=C2=A0 Hi,<=
br>
<br>
=C2=A0 Yes, dd, tar, etc works, mt and mtx also without problems, only when=
 I <br>
use commands from amanda I have the problems, one other thing I forgot <br>
to write, I have an error, but after some hours I can do the command <br>
again without problems, for example<br>
<br>
$ amlabel CONF LABEL01 slot 1=C2=A0 (OK)<br>
$ amlabel CONF LABEL02 slot 2=C2=A0 (ERROR)<br>
<br>
=C2=A0 Some hours later<br>
<br>
$ amlabel CONF LABEL02 slot 2 (OK)<br>
<br>
=C2=A0 That&#39;s the reason I changed the times in the configuration of th=
e <br>
changer, thinking was amanda trying to do something before the <br>
changer/tape ended the previous operation.<br>
<br>
Cheers,<br>
Nuno<br>
<br>
On 20/04/2026 11:38, Exuvo wrote:<br>
&gt; Does basic usage with mt and dd work with the device?<br>
&gt; <br>
&gt; // Anton &quot;exuvo&quot; Olsson<br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"noreferrer"=
>[email protected]</a> &lt;mailto:<a href=3D"mailto:[email protected]" target=3D"=
_blank" rel=3D"noreferrer">[email protected]</a>&gt;<br>
&gt; <br>
&gt; On Mon, 20 Apr 2026, 11:46 Nuno Dias, &lt;<a href=3D"mailto:ndias@lip.=
pt" target=3D"_blank" rel=3D"noreferrer">[email protected]</a> <br>
&gt; &lt;mailto:<a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"no=
referrer">[email protected]</a>&gt;&gt; wrote:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 Hi,<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 I&#39;m using amanda for years, with a Tape=
 Robot and LTO4 and LTO6<br>
&gt;=C2=A0 =C2=A0 =C2=A0drives<br>
&gt;=C2=A0 =C2=A0 =C2=A0without problems (excluding minor issues).<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 Now, I have a new Tape Robot with LTO9 driv=
es, and I can&#39;t do<br>
&gt;=C2=A0 =C2=A0 =C2=A0anything<br>
&gt;=C2=A0 =C2=A0 =C2=A0with amanda, using amlabel or amtape for example, i=
n the first<br>
&gt;=C2=A0 =C2=A0 =C2=A0interaction work, but in the second interaction com=
plains that tape &quot;is<br>
&gt;=C2=A0 =C2=A0 =C2=A0not a tape device&quot;.<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 In the logs I have this<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Device tape:/dev/tape/by-id/scsi-3500308c44344e008-=
nst setting status<br>
&gt;=C2=A0 =C2=A0 =C2=A0flag(s): DEVICE_STATUS_DEVICE_ERROR, and DEVICE_STA=
TUS_DEVICE_BUSY<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 But nothing is using the tape.<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 I already extended the &quot;times&quot; in=
 the configuration of the changer<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0property &quot;l=
oad-poll&quot; &quot;200s poll 200s until 700s&quot;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0property &quot;e=
ject-delay&quot; &quot;200s&quot;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0property &quot;u=
nload-delay&quot; &quot;200s&quot;<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 But this doesn&#39;t solve the problem.<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 I found a report in github <a href=3D"https=
://github.com/zmanda/amanda/" rel=3D"noreferrer noreferrer" target=3D"_blan=
k">https://github.com/zmanda/amanda/</a><br>
&gt;=C2=A0 =C2=A0 =C2=A0issues/277 &lt;<a href=3D"https://github.com/zmanda=
/amanda/issues/277" rel=3D"noreferrer noreferrer" target=3D"_blank">https:/=
/github.com/zmanda/amanda/issues/277</a>&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0reporting the same problem, without any update from=
 one year ago :(<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 Anyone have any ideia how to solve this? Am=
anda development it seems<br>
&gt;=C2=A0 =C2=A0 =C2=A0stopped, but works very good until now, this is my =
last hope until I<br>
&gt;=C2=A0 =C2=A0 =C2=A0move to other software :(<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 =C2=A0Thanks,<br>
&gt;=C2=A0 =C2=A0 =C2=A0Nuno<br>
&gt;=C2=A0 =C2=A0 =C2=A0-- <br>
&gt;=C2=A0 =C2=A0 =C2=A0Nuno Dias &lt;<a href=3D"mailto:[email protected]" targe=
t=3D"_blank" rel=3D"noreferrer">[email protected]</a> &lt;mailto:<a href=3D"mail=
to:[email protected]" target=3D"_blank" rel=3D"noreferrer">[email protected]</a>&gt;&=
gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0LIP<br>
&gt; <br>
<br>
-- <br>
Nuno Dias &lt;<a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"nore=
ferrer">[email protected]</a>&gt;<br>
LIP<br>
<br>
</blockquote></div>

--000000000000fda26c064fe4fe65--