<?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: Remove SAN Tape Device From RHEL System in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/remove-san-tape-device-from-rhel-system/m-p/4759686#M43780</link>
    <description>The /sys directory tree has been under constant development in the Linux 2.6.* kernel series. RHEL 4, 5 and 6 have significant differences in their /sys filesystems: the newer versions tend to have more stuff in /sys.&lt;BR /&gt;&lt;BR /&gt;This was another fine example about why it's important to state your OS version when asking a technical question.&lt;BR /&gt;&lt;BR /&gt;MK</description>
    <pubDate>Wed, 02 Mar 2011 14:36:51 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2011-03-02T14:36:51Z</dc:date>
    <item>
      <title>Remove SAN Tape Device From RHEL System</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-san-tape-device-from-rhel-system/m-p/4759682#M43776</link>
      <description>If Removing Disk Devices meant:&lt;BR /&gt;&lt;BR /&gt;echo 1 &amp;gt; /sys/block/sdY/device/delete&lt;BR /&gt;&lt;BR /&gt;Is there a similar trick for Tape Drives?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;We are in a situation wherein 2 FC Tape HBAs for SAN Tape Devices are being reused  for SAN Disk Devices.&lt;BR /&gt;&lt;BR /&gt;The SAN Tape devices have alerady been depresented and SAN disks present. Scan and lip were issued but the Tape Devices remain and no sign of the SAN Disk devices.&lt;BR /&gt;&lt;BR /&gt;TIA!&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Mar 2011 16:12:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-san-tape-device-from-rhel-system/m-p/4759682#M43776</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2011-03-01T16:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Remove SAN Tape Device From RHEL System</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-san-tape-device-from-rhel-system/m-p/4759683#M43777</link>
      <description>Hmm.. maybe:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lsscsi and find the H:B:T:L for each Tape Device.&lt;BR /&gt;&lt;BR /&gt;Then, for each H:B:T:L do:&lt;BR /&gt;&lt;BR /&gt;echo 1 &amp;gt; /sys/bus/scsi/devices/H:B:T:L/delete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Mar 2011 16:32:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-san-tape-device-from-rhel-system/m-p/4759683#M43777</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2011-03-01T16:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Remove SAN Tape Device From RHEL System</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-san-tape-device-from-rhel-system/m-p/4759684#M43778</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Tapes can be found under /sys/class/scsi_tape.&lt;BR /&gt;To delete a tape device use:&lt;BR /&gt;echo 1 &amp;gt; /sys/class/scsi_tape/nst0/device/delete&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Reto</description>
      <pubDate>Wed, 02 Mar 2011 07:06:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-san-tape-device-from-rhel-system/m-p/4759684#M43778</guid>
      <dc:creator>Reto Kisseleff</dc:creator>
      <dc:date>2011-03-02T07:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Remove SAN Tape Device From RHEL System</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-san-tape-device-from-rhel-system/m-p/4759685#M43779</link>
      <description>Reto,&lt;BR /&gt;&lt;BR /&gt;Thanks nonetheless but on our system:&lt;BR /&gt;&lt;BR /&gt;echo 1 &amp;gt; /sys/bus/scsi/devices/H:B:T:L/delete&lt;BR /&gt;&lt;BR /&gt;did the trick.&lt;BR /&gt;&lt;BR /&gt;There was no dir structure for scsi_tape on our system under /sys/class.&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Mar 2011 14:11:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-san-tape-device-from-rhel-system/m-p/4759685#M43779</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2011-03-02T14:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Remove SAN Tape Device From RHEL System</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-san-tape-device-from-rhel-system/m-p/4759686#M43780</link>
      <description>The /sys directory tree has been under constant development in the Linux 2.6.* kernel series. RHEL 4, 5 and 6 have significant differences in their /sys filesystems: the newer versions tend to have more stuff in /sys.&lt;BR /&gt;&lt;BR /&gt;This was another fine example about why it's important to state your OS version when asking a technical question.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 02 Mar 2011 14:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-san-tape-device-from-rhel-system/m-p/4759686#M43780</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-03-02T14:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Remove SAN Tape Device From RHEL System</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-san-tape-device-from-rhel-system/m-p/4759687#M43781</link>
      <description>My bad Matti sir.&lt;BR /&gt;&lt;BR /&gt;But in the absence of a version -- I always deem it as a general question.&lt;BR /&gt;&lt;BR /&gt;Version is RHEL 5.3/4/5/6.&lt;BR /&gt;&lt;BR /&gt;No /sys/class/scsi_tape.&lt;BR /&gt;&lt;BR /&gt;I did due diligence and simply sought out the device path for the tape drives. And bingo - there was a "delete" file in the structure. And it worked.&lt;BR /&gt;&lt;BR /&gt;Beauty of Linux (and danger too?) -- everything seems to be dynamic and controllable via file switches.&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Mar 2011 18:45:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-san-tape-device-from-rhel-system/m-p/4759687#M43781</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2011-03-02T18:45:35Z</dc:date>
    </item>
  </channel>
</rss>

