<?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: Shared Tape Issue in Linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/shared-tape-issue-in-linux/m-p/4995217#M47548</link>
    <description>Thanks for all the feedback.  I currently have a call escalated with both HP and Red Hat.  &lt;BR /&gt;&lt;BR /&gt;Red Hat recommeded that I change the default perms that the rewind devices were created with:&lt;BR /&gt;&lt;BR /&gt;The easiest way should be to edit the:&lt;BR /&gt;/etc/udev/permissions.d/50-udev.permissions&lt;BR /&gt;Please make a backup of this file before editing.&lt;BR /&gt;Then remove the "st*:root:disk:0660" line.&lt;BR /&gt;&lt;BR /&gt;But root can still issue commands against those devices.  Also, when we reboot the Linux media server, it appears that we are hitting the rewind devices and corrupting backup jobs from other attached hosts.&lt;BR /&gt;&lt;BR /&gt;I'll post an update should a solution become available.</description>
    <pubDate>Tue, 15 Aug 2006 10:57:50 GMT</pubDate>
    <dc:creator>Alan Hatch</dc:creator>
    <dc:date>2006-08-15T10:57:50Z</dc:date>
    <item>
      <title>Shared Tape Issue in Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-tape-issue-in-linux/m-p/4995213#M47544</link>
      <description>Folks,&lt;BR /&gt;&lt;BR /&gt;We are trying to use tape drives via a tape SAN with Linux (DP media server).  We are encountering the same issue on Linux that we do on other operating systems where the OS from one host tries to access the tape device for some reason (mt command, scsi probe etc) and it causes the tape to rewind resulting in serious issues for the backup software.&lt;BR /&gt;&lt;BR /&gt;With HP-UX we use a st_san_safe switch in the kernel to avoid this behavior.  With windows, we ensure that the SAN connected servers cannot  see SAN tape drives from the OS.&lt;BR /&gt;&lt;BR /&gt;Has anyone been succesful with Linux hosts connected to SAN based tape devices in a heterogenous environment?&lt;BR /&gt;&lt;BR /&gt;Thanks. &lt;BR /&gt;&lt;BR /&gt;HW - HP DL385 (AMD 64 bit)&lt;BR /&gt;OS - Linux (RHEL4.2)&lt;BR /&gt;HBAs- HP FCA2214 (Qlogic)&lt;BR /&gt;Drives - IBM LTO2, HPLTO1&lt;BR /&gt;Application - Data Protector 5.5</description>
      <pubDate>Thu, 03 Aug 2006 13:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-tape-issue-in-linux/m-p/4995213#M47544</guid>
      <dc:creator>Alan Hatch</dc:creator>
      <dc:date>2006-08-03T13:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Tape Issue in Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-tape-issue-in-linux/m-p/4995214#M47545</link>
      <description>1) check your fibre card firware revisions and all drivers&lt;BR /&gt;&lt;BR /&gt;2) in DP ensure that all servers see the same device under the same serial number. Make sure the lock name is the same and also the Multipath device and Automatically discover changed SCSI address check boxes are checked.&lt;BR /&gt;You can always force a reload of the serial number too in DP.</description>
      <pubDate>Fri, 04 Aug 2006 03:37:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-tape-issue-in-linux/m-p/4995214#M47545</guid>
      <dc:creator>Mancboy</dc:creator>
      <dc:date>2006-08-04T03:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Tape Issue in Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-tape-issue-in-linux/m-p/4995215#M47546</link>
      <description>The last I checked, Linux had problems with multi-initiator tape access in general, and in particular with DP5.5.  HP doesn't support it in the Linux environment.&lt;BR /&gt;&lt;BR /&gt;What I would recommend to have the best shot at this is the following:&lt;BR /&gt;&lt;BR /&gt;1) upgrade to rhel4u4&lt;BR /&gt;2) use the qlogic version of the hba drivers and firmware, not the redhat or hp versions.&lt;BR /&gt;3) do a good reading of the man files for the mt/mtx command series.  There are several switches and raw device variants that may help run things slightly better.</description>
      <pubDate>Fri, 04 Aug 2006 10:25:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-tape-issue-in-linux/m-p/4995215#M47546</guid>
      <dc:creator>Alan_152</dc:creator>
      <dc:date>2006-08-04T10:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Tape Issue in Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-tape-issue-in-linux/m-p/4995216#M47547</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As far as I know, DP configures Unix/Linux tape devices using the "no rewind" device file (ex : /dev/nst0 instead of /dev/st0).&lt;BR /&gt;&lt;BR /&gt;Check this and change your configuration if needed.&lt;BR /&gt;&lt;BR /&gt;Tip : delete the "rewind" device file (rm /dev/st0) to avoid other programs trying to access it.&lt;BR /&gt;&lt;BR /&gt;Good lcuk.&lt;BR /&gt;Kodjo&lt;BR /&gt;</description>
      <pubDate>Sun, 06 Aug 2006 16:01:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-tape-issue-in-linux/m-p/4995216#M47547</guid>
      <dc:creator>Kodjo Agbenu</dc:creator>
      <dc:date>2006-08-06T16:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Tape Issue in Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-tape-issue-in-linux/m-p/4995217#M47548</link>
      <description>Thanks for all the feedback.  I currently have a call escalated with both HP and Red Hat.  &lt;BR /&gt;&lt;BR /&gt;Red Hat recommeded that I change the default perms that the rewind devices were created with:&lt;BR /&gt;&lt;BR /&gt;The easiest way should be to edit the:&lt;BR /&gt;/etc/udev/permissions.d/50-udev.permissions&lt;BR /&gt;Please make a backup of this file before editing.&lt;BR /&gt;Then remove the "st*:root:disk:0660" line.&lt;BR /&gt;&lt;BR /&gt;But root can still issue commands against those devices.  Also, when we reboot the Linux media server, it appears that we are hitting the rewind devices and corrupting backup jobs from other attached hosts.&lt;BR /&gt;&lt;BR /&gt;I'll post an update should a solution become available.</description>
      <pubDate>Tue, 15 Aug 2006 10:57:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-tape-issue-in-linux/m-p/4995217#M47548</guid>
      <dc:creator>Alan Hatch</dc:creator>
      <dc:date>2006-08-15T10:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Tape Issue in Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shared-tape-issue-in-linux/m-p/4995218#M47549</link>
      <description>Folks,&lt;BR /&gt;&lt;BR /&gt;I've been up and running for a couple of days now and hope we found a solution.  Based on this experience, here are the lessons learned about running a Data Protector media server on Red Hat linux:&lt;BR /&gt;&lt;BR /&gt;1) Don't use 64 bit Linux.  This required a special dvbra to run sanconf.&lt;BR /&gt;2) If you're on a heterogeneous tape SAN, remove access to the rewind devices.  This is how I approached it (based on suggestions from Red Hat support):&lt;BR /&gt;&lt;BR /&gt;Rename rewind devices:&lt;BR /&gt;edit-&amp;gt; /etc/udev/rules.d/50-udev.rules&lt;BR /&gt;add-&amp;gt; KERNEL="st[0-9]*", BUS="scsi", NAME="xst%n"&lt;BR /&gt;&lt;BR /&gt;Change default perms on rewind devices:&lt;BR /&gt;edit-&amp;gt; /etc/udev/permissions.d/50-udev.permissions&lt;BR /&gt;change st perms line to-&amp;gt; xst*:root:disk:0000 &lt;BR /&gt;&lt;BR /&gt;Of course, your mileage may vary, but this seems to be working well in our environment.</description>
      <pubDate>Tue, 22 Aug 2006 09:22:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shared-tape-issue-in-linux/m-p/4995218#M47549</guid>
      <dc:creator>Alan Hatch</dc:creator>
      <dc:date>2006-08-22T09:22:23Z</dc:date>
    </item>
  </channel>
</rss>

