<?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 Tape Device Reference Count in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/tape-device-reference-count/m-p/5232343#M98187</link>
    <description>Can someone enlighten me as to what the "Reference Count" on a Tape device  refers to?&lt;BR /&gt;&lt;BR /&gt;I have a backup running from a BL860c (8.3-1H1) to a HP Ultrium 4-SCSI drive in an MLT G3 tape library.   &lt;BR /&gt;&lt;BR /&gt;I noticed that the Reference Count was 4.   I thought this was the number of allocated devices/processes, however if that's the case, the number seems to be a bit high.&lt;BR /&gt;&lt;BR /&gt;(I am bringing this up because a long running script has suddenly started running very slow)&lt;BR /&gt;I do not share the tape library or drives, and there are no contending processes on my blade.&lt;BR /&gt;&lt;BR /&gt;I do however share the SAN infrastructure.&lt;BR /&gt;&lt;BR /&gt;I was wondering if the reference count might indicate some "non-existing process" allocation.&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
    <pubDate>Sat, 27 Mar 2010 12:42:21 GMT</pubDate>
    <dc:creator>The Brit</dc:creator>
    <dc:date>2010-03-27T12:42:21Z</dc:date>
    <item>
      <title>Tape Device Reference Count</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tape-device-reference-count/m-p/5232343#M98187</link>
      <description>Can someone enlighten me as to what the "Reference Count" on a Tape device  refers to?&lt;BR /&gt;&lt;BR /&gt;I have a backup running from a BL860c (8.3-1H1) to a HP Ultrium 4-SCSI drive in an MLT G3 tape library.   &lt;BR /&gt;&lt;BR /&gt;I noticed that the Reference Count was 4.   I thought this was the number of allocated devices/processes, however if that's the case, the number seems to be a bit high.&lt;BR /&gt;&lt;BR /&gt;(I am bringing this up because a long running script has suddenly started running very slow)&lt;BR /&gt;I do not share the tape library or drives, and there are no contending processes on my blade.&lt;BR /&gt;&lt;BR /&gt;I do however share the SAN infrastructure.&lt;BR /&gt;&lt;BR /&gt;I was wondering if the reference count might indicate some "non-existing process" allocation.&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Sat, 27 Mar 2010 12:42:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tape-device-reference-count/m-p/5232343#M98187</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2010-03-27T12:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Tape Device Reference Count</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tape-device-reference-count/m-p/5232344#M98188</link>
      <description>Dave,&lt;BR /&gt;&lt;BR /&gt;a device reference count represents of number of channel assigned to or allocations of a device from the local OpenVMS system, which prevent the deletion of that device. Only if the reference count of a device reaches ZERO, that device could (theoretically) be deleted, because noone else is using it.&lt;BR /&gt;&lt;BR /&gt;In case of backup to a tape, 4 seems to be a 'normal' reference count:&lt;BR /&gt;&lt;BR /&gt;- the allocation of the tape to the process&lt;BR /&gt;- the mount&lt;BR /&gt;- 2 channels assigned from backup&lt;BR /&gt;&lt;BR /&gt;You would only have a problem, if the device is NOT allocated and NOT mounted and the reference count would not be zero at that time. This has happened from time to time in the past. There have been various attempts to solve problems like this. Some code error path could cause the reference count to not be correctly decremented (this would be a software problem). Then you would have to reboot or use some priviledged program to just zero the reference count.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Sat, 27 Mar 2010 17:04:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tape-device-reference-count/m-p/5232344#M98188</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-03-27T17:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Tape Device Reference Count</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tape-device-reference-count/m-p/5232345#M98189</link>
      <description>Thank you Volker,&lt;BR /&gt;&lt;BR /&gt;Your response was exactly what I was hoping for, i.e. educational.&lt;BR /&gt;&lt;BR /&gt;It looks like our problem is with the tapedrive.&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Sat, 27 Mar 2010 18:32:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tape-device-reference-count/m-p/5232345#M98189</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2010-03-27T18:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tape Device Reference Count</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tape-device-reference-count/m-p/5232346#M98190</link>
      <description>Tapes and hard disks are comparatively slow devices.&lt;BR /&gt;&lt;BR /&gt;The usual triggers for slower backups are input or bus (SAN or SCSI) contention, fragmentation, lack of caching, quotas, media errors (or tape head contamination), hardware errors (host, bus, disk, tape, termination), and the glacial speed of hard disks as compared with more modern storage.  There's also the case where the volume of data has markedly increased; that's always worth a check.  Also lack of host memory.  SAN devices are problematic because you can't see the contention.&lt;BR /&gt;</description>
      <pubDate>Sun, 28 Mar 2010 18:31:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tape-device-reference-count/m-p/5232346#M98190</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-03-28T18:31:41Z</dc:date>
    </item>
  </channel>
</rss>

