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 "exuvo" 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, <<a href=3D"mailto:[email protected]">ndia= [email protected]</a>> 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'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> > Does basic usage with mt and dd work with the device?<br> > <br> > // Anton "exuvo" Olsson<br> > <a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"noreferrer"= >[email protected]</a> <mailto:<a href=3D"mailto:[email protected]" target=3D"= _blank" rel=3D"noreferrer">[email protected]</a>><br> > <br> > On Mon, 20 Apr 2026, 11:46 Nuno Dias, <<a href=3D"mailto:ndias@lip.= pt" target=3D"_blank" rel=3D"noreferrer">[email protected]</a> <br> > <mailto:<a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"no= referrer">[email protected]</a>>> wrote:<br> > <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 Hi,<br> > <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 I'm using amanda for years, with a Tape= Robot and LTO4 and LTO6<br> >=C2=A0 =C2=A0 =C2=A0drives<br> >=C2=A0 =C2=A0 =C2=A0without problems (excluding minor issues).<br> > <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 Now, I have a new Tape Robot with LTO9 driv= es, and I can't do<br> >=C2=A0 =C2=A0 =C2=A0anything<br> >=C2=A0 =C2=A0 =C2=A0with amanda, using amlabel or amtape for example, i= n the first<br> >=C2=A0 =C2=A0 =C2=A0interaction work, but in the second interaction com= plains that tape "is<br> >=C2=A0 =C2=A0 =C2=A0not a tape device".<br> > <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 In the logs I have this<br> > <br> >=C2=A0 =C2=A0 =C2=A0Device tape:/dev/tape/by-id/scsi-3500308c44344e008-= nst setting status<br> >=C2=A0 =C2=A0 =C2=A0flag(s): DEVICE_STATUS_DEVICE_ERROR, and DEVICE_STA= TUS_DEVICE_BUSY<br> > <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 But nothing is using the tape.<br> > <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 I already extended the "times" in= the configuration of the changer<br> > <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0property "l= oad-poll" "200s poll 200s until 700s"<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0property "e= ject-delay" "200s"<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0property "u= nload-delay" "200s"<br> > <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 But this doesn't solve the problem.<br> > <br> >=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> >=C2=A0 =C2=A0 =C2=A0issues/277 <<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>><br> >=C2=A0 =C2=A0 =C2=A0reporting the same problem, without any update from= one year ago :(<br> > <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 Anyone have any ideia how to solve this? Am= anda development it seems<br> >=C2=A0 =C2=A0 =C2=A0stopped, but works very good until now, this is my = last hope until I<br> >=C2=A0 =C2=A0 =C2=A0move to other software :(<br> > <br> >=C2=A0 =C2=A0 =C2=A0Thanks,<br> >=C2=A0 =C2=A0 =C2=A0Nuno<br> >=C2=A0 =C2=A0 =C2=A0-- <br> >=C2=A0 =C2=A0 =C2=A0Nuno Dias <<a href=3D"mailto:[email protected]" targe= t=3D"_blank" rel=3D"noreferrer">[email protected]</a> <mailto:<a href=3D"mail= to:[email protected]" target=3D"_blank" rel=3D"noreferrer">[email protected]</a>>&= gt;<br> >=C2=A0 =C2=A0 =C2=A0LIP<br> > <br> <br> -- <br> Nuno Dias <<a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"nore= ferrer">[email protected]</a>><br> LIP<br> <br> </blockquote></div> --000000000000fda26c064fe4fe65--