<?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 Connect the tape drive in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407558#M14535</link>
    <description>I use ARCserve as the backup server on my RH linux server , I hv just kill the backup process , then the tape device ( /dev/st0 )can't connect again , now I tried to use tar to backup file , then it pop the below error ,&lt;BR /&gt;could suggest how can I connect it back except reboot it ? thx. &lt;BR /&gt;&lt;BR /&gt;/tmp&amp;gt; tar -cvf /dev/st0 /tmp/*&lt;BR /&gt;tar: /dev/st0: Cannot open: No such device or address&lt;BR /&gt;tar: Error is not recoverable: exiting now</description>
    <pubDate>Mon, 25 Oct 2004 21:00:17 GMT</pubDate>
    <dc:creator>peterchu</dc:creator>
    <dc:date>2004-10-25T21:00:17Z</dc:date>
    <item>
      <title>Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407558#M14535</link>
      <description>I use ARCserve as the backup server on my RH linux server , I hv just kill the backup process , then the tape device ( /dev/st0 )can't connect again , now I tried to use tar to backup file , then it pop the below error ,&lt;BR /&gt;could suggest how can I connect it back except reboot it ? thx. &lt;BR /&gt;&lt;BR /&gt;/tmp&amp;gt; tar -cvf /dev/st0 /tmp/*&lt;BR /&gt;tar: /dev/st0: Cannot open: No such device or address&lt;BR /&gt;tar: Error is not recoverable: exiting now</description>
      <pubDate>Mon, 25 Oct 2004 21:00:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407558#M14535</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-10-25T21:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407559#M14536</link>
      <description>the below is my output , it seems the device /dev/st0 is gone, how to mount it back ? thx.&lt;BR /&gt;&lt;BR /&gt;/dev&amp;gt; mt status&lt;BR /&gt;/dev/tape: No such device or address&lt;BR /&gt;edp//dev&amp;gt; mt unlock&lt;BR /&gt;/dev/tape: No such device or address&lt;BR /&gt;edp//dev&amp;gt; mt offl&lt;BR /&gt;/dev/tape: No such device or address&lt;BR /&gt;edp//dev&amp;gt; mt -f /dev/st0 rewind&lt;BR /&gt;/dev/st0: No such device or address</description>
      <pubDate>Mon, 25 Oct 2004 22:23:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407559#M14536</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-10-25T22:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407560#M14537</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Do a cat /proc/scsi/scsi to see if the device is present. If it is not, you can try to add it using the link I posted to you in this thread:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=725762" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=725762&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PS&lt;BR /&gt;If this is an option for you, you can try to reboot the system.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Tue, 26 Oct 2004 01:18:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407560#M14537</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-10-26T01:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407561#M14538</link>
      <description>thx reply ,&lt;BR /&gt;&lt;BR /&gt;I use cat /proc/scsi/scsi to check , it is present , but I can't use it now , could suggest how to make it work ? thx</description>
      <pubDate>Tue, 26 Oct 2004 03:20:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407561#M14538</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-10-26T03:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407562#M14539</link>
      <description>you can try to reconnect the scsi device with the following command:&lt;BR /&gt;&lt;BR /&gt;echo add-single-device x x x x &amp;gt; /proc/scsi/scsi&lt;BR /&gt;&lt;BR /&gt;Of course you have to replace the x with the lun configuration found in the current /proc/scsi/scsi or you can search the dmesg of the original discovery of the tape drive.</description>
      <pubDate>Tue, 26 Oct 2004 05:16:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407562#M14539</guid>
      <dc:creator>Coenen_1</dc:creator>
      <dc:date>2004-10-26T05:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407563#M14540</link>
      <description>Hi peterchu.&lt;BR /&gt;&lt;BR /&gt;Did you see if the st module is loaded ?&lt;BR /&gt;You can see it with lsmod.&lt;BR /&gt;&lt;BR /&gt;If it's not loaded try &lt;BR /&gt;&lt;BR /&gt;depmod&lt;BR /&gt;modprobe st&lt;BR /&gt;&lt;BR /&gt;and verify if everything is ok.&lt;BR /&gt;&lt;BR /&gt;If the module is loaded verify if it's in use&lt;BR /&gt;&lt;BR /&gt;lsmod (count field not = zero).&lt;BR /&gt;&lt;BR /&gt;If it is in use try to determine who is using it.&lt;BR /&gt;&lt;BR /&gt;lsof /dev/st0&lt;BR /&gt;&lt;BR /&gt;and, if possible, kill the process.&lt;BR /&gt;&lt;BR /&gt;Unload (modprobe -r st)  and reload (modprobe st), and verify if /dev/st0 is ok now.&lt;BR /&gt;&lt;BR /&gt;If st is not loaded, load it (modprobe st).&lt;BR /&gt;&lt;BR /&gt;Hope it helps.&lt;BR /&gt;Xyko</description>
      <pubDate>Tue, 26 Oct 2004 08:09:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407563#M14540</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2004-10-26T08:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407564#M14541</link>
      <description>thx reply ,&lt;BR /&gt;&lt;BR /&gt;I try to use "modprobe -r st" and reload it ,&lt;BR /&gt;&lt;BR /&gt;then run lsmod ,the result as below , I found that the "st" is unused status , is it the problem why I can't use it  ? could suggest how can I make it work ? thx&lt;BR /&gt;&lt;BR /&gt;Module                  Size  Used by    Not tainted&lt;BR /&gt;st                     31396   0  (unused)&lt;BR /&gt;nfsd                   85168   8  (autoclean)&lt;BR /&gt;lockd                  58992   1  (autoclean) [nfsd]&lt;BR /&gt;sunrpc                 88444   1  (autoclean) [nfsd lockd]&lt;BR /&gt;lp                      9124   0  (autoclean)&lt;BR /&gt;parport                38816   0  (autoclean) [lp]&lt;BR /&gt;autofs                 13620   0  (autoclean) (unused)&lt;BR /&gt;e1000                  75808   1 &lt;BR /&gt;floppy                 57520   0  (autoclean)&lt;BR /&gt;sg                     37228   0  (autoclean)&lt;BR /&gt;microcode               6848   0  (autoclean)&lt;BR /&gt;keybdev                 2976   0  (unused)&lt;BR /&gt;mousedev                5624   0  (unused)&lt;BR /&gt;hid                    22276   0  (unused)&lt;BR /&gt;input                   6144   0  [keybdev mousedev hid]&lt;BR /&gt;usb-ohci               23176   0  (unused)&lt;BR /&gt;usbcore                80928   1  [hid usb-ohci]&lt;BR /&gt;ext3                   89960   7 &lt;BR /&gt;jbd                    55060   7  [ext3]&lt;BR /&gt;ips                    43484   8 &lt;BR /&gt;sd_mod                 13360  16 &lt;BR /&gt;scsi_mod              112680   4  [st sg ips sd_mod]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Nov 2004 04:01:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407564#M14541</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-11-24T04:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407565#M14542</link>
      <description>When I tar the file to the /dev/st0 , there is below error .&lt;BR /&gt;&lt;BR /&gt;# tar -cvf /dev/st0 /tmp/*&lt;BR /&gt;tar: /dev/st0: Cannot open: No such device&lt;BR /&gt;tar: Error is not recoverable: exiting now</description>
      <pubDate>Wed, 24 Nov 2004 04:05:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407565#M14542</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-11-24T04:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407566#M14543</link>
      <description>Hi peterchu,&lt;BR /&gt;try&lt;BR /&gt;&lt;BR /&gt;dmesg | grep tape&lt;BR /&gt;&lt;BR /&gt;and see if you receive an answer like that&lt;BR /&gt;&lt;BR /&gt;Attached scsi tape xxx at scsi0, channel 0, id 2, lun 0&lt;BR /&gt;&lt;BR /&gt;where xxx is your tape device.&lt;BR /&gt;&lt;BR /&gt;Verify if you have a /dev/xxx or /dev/some-subdirectory/xxx.&lt;BR /&gt;&lt;BR /&gt;then try&lt;BR /&gt;&lt;BR /&gt;mt -f /dev/xxx status.&lt;BR /&gt;&lt;BR /&gt;If nothing like that is appearing for you then your system in not reconigsing you tape.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;Xyko</description>
      <pubDate>Wed, 24 Nov 2004 05:52:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407566#M14543</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2004-11-24T05:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407567#M14544</link>
      <description>I tried " mt -f /dev/st0 status ", but "/dev/st0: No such device "  ,&lt;BR /&gt;the "/bin/dmesg |grep tape" can't find anything, &lt;BR /&gt;&lt;BR /&gt;as my previous , the problem may be due to the st is "unused" , how to enable it ? thx in advance .</description>
      <pubDate>Wed, 24 Nov 2004 08:12:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407567#M14544</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-11-24T08:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407568#M14545</link>
      <description>Peterchu,&lt;BR /&gt;&lt;BR /&gt;if dmesg | grep tape does not present any information, it's because your system cannot see your tape drive.&lt;BR /&gt;&lt;BR /&gt;The fact that st module has a usecount of zero is because this module was never used since last boot, and it was never used because there are no tape drives  usable in your system.&lt;BR /&gt;&lt;BR /&gt;How your tape drive is connected to the system ? Using a pci card ? What are the pci card and tape drive manufactors and models ?&lt;BR /&gt;&lt;BR /&gt;Please send us the output of&lt;BR /&gt;&lt;BR /&gt;dmesg&lt;BR /&gt;cat /proc/pci&lt;BR /&gt;cat /proc/scsi/scsi&lt;BR /&gt;lspci -vv&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;xyko</description>
      <pubDate>Wed, 24 Nov 2004 08:27:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407568#M14545</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2004-11-24T08:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407569#M14546</link>
      <description>thx reply ,&lt;BR /&gt;it is by scsi connection ,&lt;BR /&gt;&lt;BR /&gt;please find the attached files&lt;BR /&gt;&lt;BR /&gt;dmesg  --&amp;gt; dmesg.txt&lt;BR /&gt;cat /proc/pci --&amp;gt; pci.txt&lt;BR /&gt;cat /proc/scsi/scsi --&amp;gt; scsi.txt&lt;BR /&gt;lspci -vv --&amp;gt; lspcivv.txt&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Nov 2004 09:38:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407569#M14546</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-11-24T09:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407570#M14547</link>
      <description>please find the file&lt;BR /&gt;pci.txt</description>
      <pubDate>Wed, 24 Nov 2004 09:45:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407570#M14547</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-11-24T09:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407571#M14548</link>
      <description>lsmod.txt</description>
      <pubDate>Wed, 24 Nov 2004 09:55:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407571#M14548</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-11-24T09:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407572#M14549</link>
      <description>scsi.txt&lt;BR /&gt;thx</description>
      <pubDate>Wed, 24 Nov 2004 09:56:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407572#M14549</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-11-24T09:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407573#M14550</link>
      <description>peterchu,&lt;BR /&gt;&lt;BR /&gt;as I can see your tape is attached to an Adaptec scsi controller and you are not loading the aic7xxx module.&lt;BR /&gt;&lt;BR /&gt;Try&lt;BR /&gt;&lt;BR /&gt;depmod -a&lt;BR /&gt;modprobe aic7xxx&lt;BR /&gt;&lt;BR /&gt;and see the messages that appears in the log.&lt;BR /&gt;&lt;BR /&gt;After that try to access the tape (/dev/st0).&lt;BR /&gt;&lt;BR /&gt;I'll wait for your feedback about that.&lt;BR /&gt;&lt;BR /&gt;xyko</description>
      <pubDate>Wed, 24 Nov 2004 11:55:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407573#M14550</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2004-11-24T11:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407574#M14551</link>
      <description>thank you much for xyko ,&lt;BR /&gt;&lt;BR /&gt;it is OK now, I can use /dev/st0 , I will give you 100 marks , &lt;BR /&gt;&lt;BR /&gt;may I ask one more question , what is the mean "aic7xxx" , is it stardand tape driver ? I also found it in my other server . thx</description>
      <pubDate>Wed, 24 Nov 2004 20:03:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407574#M14551</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-11-24T20:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Connect the tape drive</title>
      <link>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407575#M14552</link>
      <description>peterchu,&lt;BR /&gt;&lt;BR /&gt;aic7xxx is the standard driver (module) for the Adaptec scsi controller.&lt;BR /&gt;&lt;BR /&gt;I guess that you have installed that controller after the installation of the RH operating system because when you install red hat on a server that has this controller it is automaticaly detected.&lt;BR /&gt;Don't forget to put a reference in the /etc/modules.conf for aic7xxx to have the module dinamicaly loaded.&lt;BR /&gt;Some thing like that&lt;BR /&gt;alias scsi_hostadapter aic7xxx&lt;BR /&gt;&lt;BR /&gt;Verify if you have the module aic79xx and if it works for you. I thing that module is newer and better for your controller.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Xyko&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Nov 2004 06:01:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/connect-the-tape-drive/m-p/3407575#M14552</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2004-11-25T06:01:10Z</dc:date>
    </item>
  </channel>
</rss>

