<?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: moving a page and swap file in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685753#M72972</link>
    <description>Karen,&lt;BR /&gt;&lt;BR /&gt;you can check the pagefile reference count with SDA:&lt;BR /&gt;&lt;BR /&gt;$ ANAL/SYS&lt;BR /&gt;SDA&amp;gt; CLUE MEM/FILES&lt;BR /&gt;...&lt;BR /&gt;Pagefile (Index 254)                     Device                    DSA0:&lt;BR /&gt;   PFL Address      FFFFFFFF.82DC7900    UCB Address      FFFFFFFF.82D39580&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; FORMAT 82DC7900 ! use PFL addr from above&lt;BR /&gt;...&lt;BR /&gt;FFFFFFFF.82DC7960 PFL$L_REFCNT 0000B5F7&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;If PFL$L_REFCNT is ZERO, there are no references to this pagefile and DEINSTALL should work immediately.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
    <pubDate>Tue, 06 Dec 2005 12:05:59 GMT</pubDate>
    <dc:creator>Volker Halle</dc:creator>
    <dc:date>2005-12-06T12:05:59Z</dc:date>
    <item>
      <title>moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685743#M72962</link>
      <description>I have a disk with a page_1 &lt;BR /&gt;&lt;BR /&gt;DISK$ALPHA32:[PAGE_SWAP]PAGEFILE_1.SYS;1&lt;BR /&gt;&lt;BR /&gt;I need to rename that disk and use it for another purpose - how to i get rid of this reference or move it to another disk.  Openvms 7.3-1</description>
      <pubDate>Tue, 06 Dec 2005 10:46:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685743#M72962</guid>
      <dc:creator>Karen Lee_3</dc:creator>
      <dc:date>2005-12-06T10:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685744#M72963</link>
      <description>Karen,&lt;BR /&gt;&lt;BR /&gt;If the pagefile is currently in use, you will want to make sure that the system startup procedures no longer attempt to install it.&lt;BR /&gt;Check to see if the file is in use by doing a SHOW MEMORY/FILE on each node that has access to the disk(all nodes in a cluster if MSCP served).&lt;BR /&gt;&lt;BR /&gt;Next you will want to make sure that the file cannot by found.  This can be done by RENAME.&lt;BR /&gt;Rename the file to something else like TOBEDELETED.JUNK&lt;BR /&gt;&lt;BR /&gt;If the file was in use and you need to recreate it on another disk, then use SYSGEN to create another file.  I usually look for a disk that's got plenty of room and is lightly used in terms of I/O load.&lt;BR /&gt;&lt;BR /&gt;$ MCR SYSGEN CREATE DISK$&lt;ALTERNATE paging="" device=""&gt;:[PAGE_SWAP]PAGEFILE_1.SYS;1/CONTIG/SIZE=&lt;SAME size="" as="" before=""&gt;&lt;BR /&gt;&lt;BR /&gt;Then edit your SYS$MANAGER:SYPAGSWPFILES.COM or other startup procedures/data files to point to the new disk to find the file.&lt;BR /&gt;&lt;BR /&gt;Then reboot whichever system was using the file.   After the reboot make sure that the file you are wanting to remove is no longer in use anywhere, and verify that the new one has been installed as a pagefile.&lt;BR /&gt;&lt;BR /&gt;Then you can delete the old file, rename the old disk volume and/or re-init it and do whatever you like.&lt;BR /&gt;&lt;BR /&gt;Robert&lt;/SAME&gt;&lt;/ALTERNATE&gt;</description>
      <pubDate>Tue, 06 Dec 2005 11:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685744#M72963</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2005-12-06T11:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685745#M72964</link>
      <description>Hi Karen&lt;BR /&gt;&lt;BR /&gt;You must create a new Pagefile on another disk.&lt;BR /&gt;&lt;BR /&gt;$ MC SYSGEN cre disk:[page_swap]pagefile_1.sys/size=xy&lt;BR /&gt;&lt;BR /&gt;Then You have to change SYS$STARTUP:SYPAGSWPFILES.COM. There You must mount the new disk and You have to install the new Pagefile with&lt;BR /&gt;&lt;BR /&gt;MC sysgen instal disk:[page_swap]pagefile_1.sys/PAGEFILE&lt;BR /&gt;&lt;BR /&gt;Finnaly You will have to reboot Your machine that this changes take effect.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2005 11:06:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685745#M72964</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2005-12-06T11:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685746#M72965</link>
      <description>Rename the file to something different, then delete it after a reboot.&lt;BR /&gt;&lt;BR /&gt;But caveat: if in one of the VMS startup files the disk is referenced in a way to wait for the disk, then first remove the reference.&lt;BR /&gt;References may be in either:&lt;BR /&gt;&lt;BR /&gt; sys$manager:syslogicals.com, systartup_vms.com&lt;BR /&gt; sys$system:satellite_page.com&lt;BR /&gt; sys$system:sypagswpfiles.com&lt;BR /&gt;&lt;BR /&gt;or any file called from them.&lt;BR /&gt;&lt;BR /&gt;To use a pagefile on another disk, don't copy or backup the existing, but create a new one on the other disk with SYSGEN:&lt;BR /&gt;&lt;BR /&gt;$ MCR SYSGEN&lt;BR /&gt;Create filespec /CONTIG/SIZE=nblocks&lt;BR /&gt;&lt;BR /&gt;then add the SYSGEN INSTALL command to one of the above files (or modify existing commands to point to the new location).</description>
      <pubDate>Tue, 06 Dec 2005 11:11:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685746#M72965</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2005-12-06T11:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685747#M72966</link>
      <description>what about the sysgen 'deinstall' command - won't that remove the file without a reboot?&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2005 11:12:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685747#M72966</guid>
      <dc:creator>Karen Lee_3</dc:creator>
      <dc:date>2005-12-06T11:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685748#M72967</link>
      <description>Karen,&lt;BR /&gt;&lt;BR /&gt;good answers given already.&lt;BR /&gt;&lt;BR /&gt;But DO NOT forget to check your MODPARAMS.DAT for any references! If you find any, remove or adjust them, or you might be in for a nasty surprise sometime in the future!&lt;BR /&gt;&lt;BR /&gt;Success.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Dec 2005 11:15:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685748#M72967</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-12-06T11:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685749#M72968</link>
      <description>Karen,&lt;BR /&gt;&lt;BR /&gt;As I recall, there is no way to migrate the pages currently active in a page file to a different page file.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 06 Dec 2005 11:15:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685749#M72968</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2005-12-06T11:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685750#M72969</link>
      <description>the sysgen deinstall marks a file for deinstall and when it is no longer used then it will be deinstalled. Additionally it won't be used for new processess. You will have to stop and start processes to get them to stop using the pagefile after you do the deinstall command. If you  are lucky you can get all the processes using that pagefile to stop using it but often this is not the case. In this case do as previously mentioned, create the new file, edit the dcl procedures and reboot.</description>
      <pubDate>Tue, 06 Dec 2005 11:26:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685750#M72969</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2005-12-06T11:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685751#M72970</link>
      <description>just for arguments sake - at this moment the only process that has the page_1 file open is&lt;BR /&gt;&lt;BR /&gt;00000000  [PAGE_SWAP]PAGEFILE_1.SYS;1&lt;BR /&gt;&lt;BR /&gt;can I assume at this point that no application is using the pagefile_1.sys file?</description>
      <pubDate>Tue, 06 Dec 2005 11:43:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685751#M72970</guid>
      <dc:creator>Karen Lee_3</dc:creator>
      <dc:date>2005-12-06T11:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685752#M72971</link>
      <description>Karen,&lt;BR /&gt;&lt;BR /&gt;no. A process does not handle a page file by opening it, so you can't easily see, which processes are currently using (or having reserved for them) pages in a pagefile.&lt;BR /&gt;&lt;BR /&gt;$ ANAL/SYS&lt;BR /&gt;SDA&amp;gt; CLUE MEM/FILES&lt;BR /&gt;&lt;BR /&gt;would at least tell you total size and free blocks, so if both are equal, there is a good chance that SYSGEN DEINSTALL might work.&lt;BR /&gt;&lt;BR /&gt;Consider to first create and install a NEW pagefile, before you try to DEINSTALL the existing one. A reboot certainly helps ;-)&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 06 Dec 2005 11:59:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685752#M72971</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-12-06T11:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685753#M72972</link>
      <description>Karen,&lt;BR /&gt;&lt;BR /&gt;you can check the pagefile reference count with SDA:&lt;BR /&gt;&lt;BR /&gt;$ ANAL/SYS&lt;BR /&gt;SDA&amp;gt; CLUE MEM/FILES&lt;BR /&gt;...&lt;BR /&gt;Pagefile (Index 254)                     Device                    DSA0:&lt;BR /&gt;   PFL Address      FFFFFFFF.82DC7900    UCB Address      FFFFFFFF.82D39580&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; FORMAT 82DC7900 ! use PFL addr from above&lt;BR /&gt;...&lt;BR /&gt;FFFFFFFF.82DC7960 PFL$L_REFCNT 0000B5F7&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;If PFL$L_REFCNT is ZERO, there are no references to this pagefile and DEINSTALL should work immediately.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 06 Dec 2005 12:05:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685753#M72972</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-12-06T12:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685754#M72973</link>
      <description>i assume this is zero&lt;BR /&gt;&lt;BR /&gt;FFFFFFFF.82297A80   PFL$L_SWPREFCNT                 00000000 &lt;BR /&gt;&lt;BR /&gt;FFFFFFFF.82297A98   PFL$L_REFCNT                    00000000</description>
      <pubDate>Tue, 06 Dec 2005 12:12:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685754#M72973</guid>
      <dc:creator>Karen Lee_3</dc:creator>
      <dc:date>2005-12-06T12:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685755#M72974</link>
      <description>Karen,&lt;BR /&gt;&lt;BR /&gt;looks like ZERO to me as well.&lt;BR /&gt;&lt;BR /&gt;Go ahead and try SYSGEN&amp;gt; DEINSTALL on that pagefile...&lt;BR /&gt;&lt;BR /&gt;Make sure you just didn't look at the FIRST entry shown by CLUE MEM/FILES, as this would be a SWAPFILE entry !&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 06 Dec 2005 12:15:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685755#M72974</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-12-06T12:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685756#M72975</link>
      <description>cool - it's gone....</description>
      <pubDate>Tue, 06 Dec 2005 12:18:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685756#M72975</guid>
      <dc:creator>Karen Lee_3</dc:creator>
      <dc:date>2005-12-06T12:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: moving a page and swap file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685757#M72976</link>
      <description>Karen,&lt;BR /&gt;&lt;BR /&gt;to just give you an indication, that it's not a straightforward and 'easy' procedure to find out, which processes have pages in which pagefile, here are 2 - not very helpful ;-) references to ATW:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_5535.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_5535.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_7232.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_7232.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The pagefile assignment code has also changed slightly over the recent versions of OpenVMS.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 06 Dec 2005 12:22:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/moving-a-page-and-swap-file/m-p/3685757#M72976</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2005-12-06T12:22:25Z</dc:date>
    </item>
  </channel>
</rss>

