<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: /dev/st0: no such device aka. where is my tape drive in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931957#M3995</link>
    <description>Hi,&lt;BR /&gt;what is your server model?&lt;BR /&gt;Maybe you don't has installed the scsi driver for tape device.</description>
    <pubDate>Thu, 20 Mar 2003 15:44:05 GMT</pubDate>
    <dc:creator>Giorgio Milanesio_1</dc:creator>
    <dc:date>2003-03-20T15:44:05Z</dc:date>
    <item>
      <title>/dev/st0: no such device aka. where is my tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931956#M3994</link>
      <description>Greetings&lt;BR /&gt;&lt;BR /&gt;I'm having some trouble switching tape devices.Unfortunately I &lt;BR /&gt;have to switch from a HP C1529 to a HP C1520F. From some other &lt;BR /&gt;postings on ITRC  :-) I think the tape drives are as follows.&lt;BR /&gt;&lt;BR /&gt;C1529: DDS-2. HP Surestore DAT8e(?).&lt;BR /&gt;C1520F: DDS-1. HP Surestore 2000e(?).&lt;BR /&gt;&lt;BR /&gt;I was using C1529 without trouble but was forced to switch. :-( . &lt;BR /&gt;So I unplugged that unit, and plugged in the C1520F. Then using a tape&lt;BR /&gt;I know works I tried to tar out a table of the tape content. &lt;BR /&gt;No success (see below).I can't read or write to that tape or any &lt;BR /&gt;other tape anymore. And I don't think this is a DDS1 vs. DDS2 problem&lt;BR /&gt;or a tape problem. Here's what gives.&lt;BR /&gt;&lt;BR /&gt;$ tar tvf /dev/st0&lt;BR /&gt;tar: /dev/st0: Cannot open: No such device&lt;BR /&gt;tar: Error is not recoverable: exiting now&lt;BR /&gt;$ mt -f /dev/st0 offl&lt;BR /&gt;/dev/st0: No such device&lt;BR /&gt;$ mt -f /dev/st0m offl&lt;BR /&gt;/dev/st0m: No such device&lt;BR /&gt;$ ls -l /dev/st0 /dev/st0m&lt;BR /&gt;crw-rw-rw-    1 root     disk       9,   0 Mar 17 17:59 /dev/st0&lt;BR /&gt;crw-rw-rw-    1 root     disk       9,  64 Mar 17 17:59 /dev/st0m&lt;BR /&gt;$ /sbin/lsmod|grep st&lt;BR /&gt;st                     29268   0 (unused)&lt;BR /&gt;scsi_mod              106192   3 [st sg ide-scsi]&lt;BR /&gt;&lt;BR /&gt;Some stuff from dmesg:&lt;BR /&gt;&lt;BR /&gt;PCI: Enabling device 00:10.0 (0116 -&amp;gt; 0117)&lt;BR /&gt;PCI: Found IRQ 10 for device 00:10.0&lt;BR /&gt;PCI: Sharing IRQ 10 with 00:07.5&lt;BR /&gt;scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.5&lt;BR /&gt;        &lt;ADAPTEC 2940="" ultra="" scsi="" adapter=""&gt;&lt;BR /&gt;        aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs&lt;BR /&gt;&lt;BR /&gt;  Vendor: HP        Model: HP35470A          Rev: 1009&lt;BR /&gt;  Type:   Sequential-Access                  ANSI SCSI revision: 02&lt;BR /&gt;st: Version 20020205, bufsize 32768, wrt 30720, max init. bufs 4, s/g segs 16&lt;BR /&gt;Attached scsi tape st0 at scsi1, channel 0, id 3, lun 0&lt;BR /&gt;scsi : 1 host left.&lt;BR /&gt;via_audio: ignoring drain playback error -11&lt;BR /&gt;st: Unloaded.&lt;BR /&gt;&lt;BR /&gt;OS (RH 7.2?) &amp;amp; packages:&lt;BR /&gt;$ uname -r&lt;BR /&gt;2.4.18-3&lt;BR /&gt;$ rpm -q dev mt-st&lt;BR /&gt;dev-3.3-4&lt;BR /&gt;mt-st-0.7-3&lt;BR /&gt;&lt;BR /&gt;Rebooting doesn't help either. Summing up:&lt;BR /&gt;&lt;BR /&gt;o The device driver exist and has appropriate permissions.&lt;BR /&gt;o The kernel module is loaded.&lt;BR /&gt;o The boot recognizes the scsi host adapter and the scsi id 3 which is &lt;BR /&gt;  the tape drive.&lt;BR /&gt;o I don't know of any other changes to this OS or unit. &lt;BR /&gt;  There shouldn't be any.&lt;BR /&gt;&lt;BR /&gt;Unfortunately there is no way to switch &lt;BR /&gt;tape device.I'm kinda stuck here. Help? &lt;BR /&gt;&lt;BR /&gt;How can I get access to the tape device again?&lt;BR /&gt;Any suggestions anyone? &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Runar J??rgensen&lt;/ADAPTEC&gt;</description>
      <pubDate>Thu, 20 Mar 2003 14:22:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931956#M3994</guid>
      <dc:creator>Runar Jørgensen</dc:creator>
      <dc:date>2003-03-20T14:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/st0: no such device aka. where is my tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931957#M3995</link>
      <description>Hi,&lt;BR /&gt;what is your server model?&lt;BR /&gt;Maybe you don't has installed the scsi driver for tape device.</description>
      <pubDate>Thu, 20 Mar 2003 15:44:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931957#M3995</guid>
      <dc:creator>Giorgio Milanesio_1</dc:creator>
      <dc:date>2003-03-20T15:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/st0: no such device aka. where is my tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931958#M3996</link>
      <description>&lt;BR /&gt;Regarding the SCSI driver, I let kudzu figure out that one by itself. &lt;BR /&gt;Reading the dmesg content, I can confirm that there really is an Adaptec 2940 UW SCSI adapter in there. Is there something wrong with what's reported by dmesg? Shouldn't it be that way?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Runar J??rgensen</description>
      <pubDate>Thu, 20 Mar 2003 16:05:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931958#M3996</guid>
      <dc:creator>Runar Jørgensen</dc:creator>
      <dc:date>2003-03-20T16:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/st0: no such device aka. where is my tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931959#M3997</link>
      <description>Runar,&lt;BR /&gt;&lt;BR /&gt;According to your dmesg it is /dev/st0 so that looks ok.&lt;BR /&gt;&lt;BR /&gt;you can try the following options:&lt;BR /&gt;&lt;BR /&gt;* /dev/st0 is not a 0 byte c-device anymore.&lt;BR /&gt;- ls -al /dev/st0&lt;BR /&gt;&lt;BR /&gt;* check the compapatability between tapes from older devices of this brand.&lt;BR /&gt;&lt;BR /&gt;* The tape hasn't a tar file on it.&lt;BR /&gt;- dd if=/dev/st0 bs=256k count=1 of=/tmp/test&lt;BR /&gt;&lt;BR /&gt;* The device is DOA&lt;BR /&gt;- call the vendor&lt;BR /&gt;&lt;BR /&gt;Frans&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Mar 2003 09:43:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931959#M3997</guid>
      <dc:creator>M. Jansink</dc:creator>
      <dc:date>2003-03-21T09:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/st0: no such device aka. where is my tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931960#M3998</link>
      <description>Greetings &lt;BR /&gt;Thanks for your reply. I've taken your suggestions and answered &lt;BR /&gt;them below. Unfortunately, I'm still not there yet. Read on.&lt;BR /&gt;&lt;BR /&gt;M. Jansink wrote:&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; Runar,&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; According to your dmesg it is /dev/st0 so that looks ok.&lt;BR /&gt;&amp;gt; you can try the following options:&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; * /dev/st0 is not a 0 byte c-device anymore.&lt;BR /&gt;&amp;gt; - ls -al /dev/st0&lt;BR /&gt;&lt;BR /&gt;OK! The line below looks OK to me. &lt;BR /&gt;$ ls -al /dev/st0&lt;BR /&gt;crw-rw-rw-    1 root     disk       9,   0 Mar 17 17:59 /dev/st0&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&amp;gt; * check the compapatability between tapes from older devices of this brand.&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&lt;BR /&gt;Hmmm... A little harder to do. I've tried all kind of tapes. &lt;BR /&gt;The problem is with both tar and mt complaining about the &lt;BR /&gt;device. Like this: &lt;BR /&gt;$ tar tvf /dev/st0&lt;BR /&gt;tar: /dev/st0: Cannot open: No such device&lt;BR /&gt;$ mt -f /dev/st0 offl&lt;BR /&gt;/dev/st0: No such device&lt;BR /&gt;&lt;BR /&gt;&amp;gt; * The tape hasn't a tar file on it.&lt;BR /&gt;&amp;gt; - dd if=/dev/st0 bs=256k count=1 of=/tmp/test&lt;BR /&gt;&amp;gt; &lt;BR /&gt;I greated the tapes myself. and I prefer tar to cpio and dd. &lt;BR /&gt;Just my choosing I'm not starting a discussion here. Trying your&lt;BR /&gt;command resultet in:&lt;BR /&gt;$ dd if=/dev/st0 bs=256k count=1 of=/tmp/test&lt;BR /&gt;dd: opening `/dev/st0': No such device&lt;BR /&gt; &lt;BR /&gt;&amp;gt; * The device is DOA&lt;BR /&gt;&amp;gt; - call the vendor&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&lt;BR /&gt;OK! So I've run around and found a fellow with a SCSI adapter,&lt;BR /&gt;but not on a Linux box, so drivers and stuff doesn't easily&lt;BR /&gt;translate. However, this was just to check whether the device was&lt;BR /&gt;alive at all. Right?&lt;BR /&gt;&lt;BR /&gt;Plugged in the C1520F, rebooted the unit. Shoved in a tape.  Ran&lt;BR /&gt;"mt offl", and whaddyaknow, the tape was ejected. :-) Tried with&lt;BR /&gt;tar to read and write to the same tape. SUCCESSS!  So I'm afraid&lt;BR /&gt;it's not the device been DOA. Unfortunately. It's nice that this&lt;BR /&gt;device works on his unit, but really I want it to work on my&lt;BR /&gt;linux unit.&lt;BR /&gt;&lt;BR /&gt;Can there something about loading/unloading modules or kernel stuff &lt;BR /&gt;that I've missed? How can I continue to debug this issue?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Frans&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Runar J??rgensen</description>
      <pubDate>Fri, 21 Mar 2003 13:02:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931960#M3998</guid>
      <dc:creator>Runar Jørgensen</dc:creator>
      <dc:date>2003-03-21T13:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/st0: no such device aka. where is my tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931961#M3999</link>
      <description>Strange indeed. From your dmesg file you see that st0 is detected however you get an error like there is no tape in the device. The device is ok so we must think in the direction of connection to the device. You stated that st0 is still a c-device. What you can do is go to the dir /usr/src/&lt;KERNEL&gt;&lt;BR /&gt;&lt;BR /&gt;Look for the file devices.txt and see what the major an minor numbers for device st0 are. &lt;BR /&gt;&lt;BR /&gt;Make an alias for this device something like:&lt;BR /&gt;&lt;BR /&gt;mknod /dev/runar c &lt;MAJ&gt; &lt;MIN&gt;&lt;BR /&gt;&lt;BR /&gt;Try writing to this fresh made device. You can also try on of these:&lt;BR /&gt;&lt;BR /&gt;/dev/nrst0&lt;BR /&gt;/dev/nrst01&lt;BR /&gt;/dev/st01&lt;BR /&gt;&lt;BR /&gt;That's all I can think of.&lt;BR /&gt;&lt;/MIN&gt;&lt;/MAJ&gt;&lt;/KERNEL&gt;</description>
      <pubDate>Mon, 24 Mar 2003 12:56:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931961#M3999</guid>
      <dc:creator>M. Jansink</dc:creator>
      <dc:date>2003-03-24T12:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/st0: no such device aka. where is my tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931962#M4000</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You could try these,&lt;BR /&gt;&lt;BR /&gt;Unplug the C1520F,power on the server, during the boot the kudzu will find that the tape drive was removed from the system and prompt you to remove configuration,keep configuration or do nothing.Select remove configuration.After boot in the system,shutdown the server.&lt;BR /&gt;&lt;BR /&gt;Plug in the C1520F,power on the server.Let kudzu to find the tape drive and do the auto config with it.&lt;BR /&gt;&lt;BR /&gt;Hope it helpful.&lt;BR /&gt;&lt;BR /&gt;James&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Mar 2003 02:48:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931962#M4000</guid>
      <dc:creator>James_173</dc:creator>
      <dc:date>2003-03-25T02:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/st0: no such device aka. where is my tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931963#M4001</link>
      <description />
      <pubDate>Fri, 04 Apr 2003 14:58:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931963#M4001</guid>
      <dc:creator>Runar Jørgensen</dc:creator>
      <dc:date>2003-04-04T14:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: /dev/st0: no such device aka. where is my tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931964#M4002</link>
      <description>adfasfasfasjflÃ±kasjfÃ±lsda&lt;BR /&gt;asdflaksÃ±fdljaslfdk ajsdf&lt;BR /&gt;asdÃ±lfkajsÃ±dlfkjasÃ±lfdkjas&lt;BR /&gt;dfaÃ±lskdjfÃ±alskdjfa&lt;BR /&gt;sdfÃ±laksjdfÃ±laksjdf&lt;BR /&gt;asdÃ±lfkjasÃ±lkdfj aÃ±lkdsfjasd</description>
      <pubDate>Mon, 23 Oct 2006 19:40:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dev-st0-no-such-device-aka-where-is-my-tape-drive/m-p/2931964#M4002</guid>
      <dc:creator>MELFI</dc:creator>
      <dc:date>2006-10-23T19:40:53Z</dc:date>
    </item>
  </channel>
</rss>

