<?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: Set Vol / Rebuild - Lock disk ? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/set-vol-rebuild-lock-disk/m-p/4974565#M75769</link>
    <description>Thanks for clearing that up.&lt;BR /&gt;&lt;BR /&gt;All those years of Set Vol/Rebuild and I had never noticed the volume being locked.&lt;BR /&gt;&lt;BR /&gt;Only ever noticed it when doing:&lt;BR /&gt;&lt;BR /&gt;$ana/disk/repair &lt;BR /&gt;and&lt;BR /&gt;$mc sysgen create/size=xxxxxx dsax:[dir]filename.xxx&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;For the quick responses.</description>
    <pubDate>Thu, 20 Apr 2006 06:28:50 GMT</pubDate>
    <dc:creator>VMS Support</dc:creator>
    <dc:date>2006-04-20T06:28:50Z</dc:date>
    <item>
      <title>Set Vol / Rebuild - Lock disk ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/set-vol-rebuild-lock-disk/m-p/4974562#M75766</link>
      <description>When we mount disks, we currently mount  with the /norebuild switch. A batch job is then later run to perform a /Rebuild on the shadow sets. Under 7.2-1H1 and prior I never remember this locking disks. Like ANA/DISK/REPAIR would.&lt;BR /&gt;However today I ran this comand against some shadow sets on our 7.3-2 system (I crashed a couple of servers earlier - forced crash - testing) it locked the disk.&lt;BR /&gt;First login:&lt;BR /&gt;$set vol/rebuild dsa2:&lt;BR /&gt;Took approx 2 minutes (36GB shadow set).&lt;BR /&gt;Second login:&lt;BR /&gt;$dir dsa2:[0,0]&lt;BR /&gt;Froze until rebuild completed on first login.&lt;BR /&gt;&lt;BR /&gt;Maybe its always done this and I have just never noticed the disk lock before.&lt;BR /&gt;&lt;BR /&gt;Also noticed.&lt;BR /&gt;When you have to rebuild a dirty disk ...you have lost some free blocks. &lt;BR /&gt;$show dev DSA = xx blocks&lt;BR /&gt;Set vol/rebuild&lt;BR /&gt;Free blocks now gained due to rebuild of Bitmaps. &lt;BR /&gt;&lt;BR /&gt;However on 7.3-2 ...I lost blocks after rebuild.&lt;BR /&gt;See below:&lt;BR /&gt;I seen it where a rebuild gets back lost blocks.. marking bitmap.sys busy for cached bitmap.sys on different nodes in cluster ....etc etc ...But first time I have seen a gain in blocks !!!&lt;BR /&gt;This was after I crashed VLCPR1/VLCPR2.&lt;BR /&gt;&lt;BR /&gt;Directory DSA999:[000,000]&lt;BR /&gt;&lt;BR /&gt;DSA0.BCK;1                    File ID:  (12,5,0)              &lt;BR /&gt;Size:     21505554/21505554   Owner:    [SYSTEM]&lt;BR /&gt;Created:    19-APR-2006 14:24:06.75&lt;BR /&gt;Revised:    19-APR-2006 14:48:59.54 (1)&lt;BR /&gt;Expires:    &lt;NONE specified=""&gt;&lt;BR /&gt;Backup:     &lt;NO backup="" recorded=""&gt;&lt;BR /&gt;Effective:  &lt;NONE specified=""&gt;&lt;BR /&gt;Recording:  &lt;NONE specified=""&gt;&lt;BR /&gt;Accessed:   &lt;NONE specified=""&gt;&lt;BR /&gt;Attributes: &lt;NONE specified=""&gt;&lt;BR /&gt;Modified:   &lt;NONE specified=""&gt;&lt;BR /&gt;Linkcount:  1&lt;BR /&gt;File organization:  Sequential&lt;BR /&gt;Shelved state:      Online &lt;BR /&gt;Caching attribute:  No_caching&lt;BR /&gt;File attributes:    Allocation: 21505554, Extend: 0, Global buffer count: 0&lt;BR /&gt;                    No version limit&lt;BR /&gt;Record format:      Fixed length 32256 byte records&lt;BR /&gt;Record attributes:  None&lt;BR /&gt;RMS attributes:     None&lt;BR /&gt;Journaling enabled: None&lt;BR /&gt;File protection:    System:RWED, Owner:RWED, Group:RE, World:&lt;BR /&gt;Access Cntrl List:  None&lt;BR /&gt;Client attributes:  None&lt;BR /&gt;&lt;BR /&gt;DSA99.BCK;1                   File ID:  (11,19,0)             &lt;BR /&gt;Size:     28095543/28095543   Owner:    [SYSTEM]&lt;BR /&gt;Created:    19-APR-2006 13:51:43.66&lt;BR /&gt;Revised:    19-APR-2006 14:24:06.52 (1)&lt;BR /&gt;Expires:    &lt;NONE specified=""&gt;&lt;BR /&gt;Backup:     &lt;NO backup="" recorded=""&gt;&lt;BR /&gt;Effective:  &lt;NONE specified=""&gt;&lt;BR /&gt;Recording:  &lt;NONE specified=""&gt;&lt;BR /&gt;Accessed:   &lt;NONE specified=""&gt;&lt;BR /&gt;Attributes: &lt;NONE specified=""&gt;&lt;BR /&gt;Modified:   &lt;NONE specified=""&gt;&lt;BR /&gt;Linkcount:  1&lt;BR /&gt;File organization:  Sequential&lt;BR /&gt;Shelved state:      Online &lt;BR /&gt;Caching attribute:  No_caching&lt;BR /&gt;File attributes:    Allocation: 28095543, Extend: 0, Global buffer count: 0&lt;BR /&gt;                    No version limit&lt;BR /&gt;Record format:      Fixed length 32256 byte records&lt;BR /&gt;Record attributes:  None&lt;BR /&gt;RMS attributes:     None&lt;BR /&gt;Journaling enabled: None&lt;BR /&gt;File protection:    System:RWED, Owner:RWED, Group:RE, World:&lt;BR /&gt;Access Cntrl List:  None&lt;BR /&gt;Client attributes:  None&lt;BR /&gt;&lt;BR /&gt;Total of 2 files, 49601097/49601097 blocks.&lt;BR /&gt;VLCPR1 $sh dev dsa999&lt;BR /&gt;&lt;BR /&gt;Device                  Device           Error    Volume         Free  Trans Mnt&lt;BR /&gt; Name                   Status           Count     Label        Blocks Count Cnt&lt;BR /&gt;DSA999:                 Mounted              0  VLCPR_BCKUP   70385085     1   3&lt;BR /&gt;$1$DGA6154:   (VLCPR1)  ShadowSetMember      0  (member of DSA999:)&lt;BR /&gt;VLCPR1 $set vol/rebuild dsa999&lt;BR /&gt;VLCPR1 $sh dev dsa999&lt;BR /&gt;&lt;BR /&gt;Device                  Device           Error    Volume         Free  Trans Mnt&lt;BR /&gt; Name                   Status           Count     Label        Blocks Count Cnt&lt;BR /&gt;DSA999:                 Mounted              0  VLCPR_BCKUP   21510639     1   3&lt;BR /&gt;$1$DGA6154:   (VLCPR1)  ShadowSetMember      0  (member of DSA999:)&lt;BR /&gt;VLCPR1 $&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NO&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NO&gt;&lt;/NONE&gt;</description>
      <pubDate>Thu, 20 Apr 2006 04:15:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/set-vol-rebuild-lock-disk/m-p/4974562#M75766</guid>
      <dc:creator>VMS Support</dc:creator>
      <dc:date>2006-04-20T04:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set Vol / Rebuild - Lock disk ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/set-vol-rebuild-lock-disk/m-p/4974563#M75767</link>
      <description>IIRC volume rebuild always has to lock the disk. As the rebuild resolves inconsistancies between cached data and reality it is possible to lose or gain free blocks. Usually you gain.&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Apr 2006 05:07:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/set-vol-rebuild-lock-disk/m-p/4974563#M75767</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2006-04-20T05:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Vol / Rebuild - Lock disk ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/set-vol-rebuild-lock-disk/m-p/4974564#M75768</link>
      <description>SET VOL/REBUILD (as well as ANAL/DISK/REPAIR, a volume Mount and SYSMAN DISKQUOTA operations) locks the volume by requesting an EX mode lock on the volume blocking lock F11B$b&lt;VOLUME-LABEL&gt;&lt;BR /&gt;&lt;BR /&gt;This will stall all disk IO operations to that disk, which involve the XQP (file system).&lt;BR /&gt;&lt;BR /&gt;The volume free space is stored in the VCB (in the memory of each node) and also in the lock value block of the volume allocation lock (F11B$v&lt;LABEL&gt;) clusterwide. The VCB$L_FREE value may differ at any time between the nodes in a cluster, but will automatically be updated, once a node allocates/deallocates any blocks on that disk.&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/LABEL&gt;&lt;/VOLUME-LABEL&gt;</description>
      <pubDate>Thu, 20 Apr 2006 06:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/set-vol-rebuild-lock-disk/m-p/4974564#M75768</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-04-20T06:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Vol / Rebuild - Lock disk ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/set-vol-rebuild-lock-disk/m-p/4974565#M75769</link>
      <description>Thanks for clearing that up.&lt;BR /&gt;&lt;BR /&gt;All those years of Set Vol/Rebuild and I had never noticed the volume being locked.&lt;BR /&gt;&lt;BR /&gt;Only ever noticed it when doing:&lt;BR /&gt;&lt;BR /&gt;$ana/disk/repair &lt;BR /&gt;and&lt;BR /&gt;$mc sysgen create/size=xxxxxx dsax:[dir]filename.xxx&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;For the quick responses.</description>
      <pubDate>Thu, 20 Apr 2006 06:28:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/set-vol-rebuild-lock-disk/m-p/4974565#M75769</guid>
      <dc:creator>VMS Support</dc:creator>
      <dc:date>2006-04-20T06:28:50Z</dc:date>
    </item>
  </channel>
</rss>

