<?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: Copy dirs and files in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865562#M79014</link>
    <description>Miles,&lt;BR /&gt;&lt;BR /&gt;The best way to defrag the disk is &lt;BR /&gt;&lt;BR /&gt;1. Do image backup and then&lt;BR /&gt;2. restore the backup&lt;BR /&gt;&lt;BR /&gt;When you do the restore to the disk, The space for each file allocates contiguous space for all the files.&lt;BR /&gt; &lt;BR /&gt;Anyway, for upgrade consider John's advise keep fallback option.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Raj</description>
    <pubDate>Wed, 20 Sep 2006 03:16:09 GMT</pubDate>
    <dc:creator>Chinraj Rajasekaran</dc:creator>
    <dc:date>2006-09-20T03:16:09Z</dc:date>
    <item>
      <title>Copy dirs and files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865557#M79009</link>
      <description>What is the simplest way to copy the Directories from one disk to another . &lt;BR /&gt;&lt;BR /&gt;Ex. I need to move the contents of dka300 on to dka100 and then defrag the system disk using dka300, then move contents of dka300 back from dka100. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Sep 2006 10:42:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865557#M79009</guid>
      <dc:creator>vmsserbo</dc:creator>
      <dc:date>2006-09-19T10:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Copy dirs and files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865558#M79010</link>
      <description>&lt;BR /&gt;You could use BACKUP to create a save set of DKA300 to copy to directory structure.  &lt;BR /&gt;&lt;BR /&gt;If there were a large amount of files on DKA300, I would probably copy dka300 to tape, use BACKUP/IMAGE to move the system disk to DKA300, switch DKA300 and the system disk and restore the tape to the "new" DKA300.&lt;BR /&gt;&lt;BR /&gt;Why do you need to defragment the system disk?  &lt;BR /&gt;&lt;BR /&gt;Andy</description>
      <pubDate>Tue, 19 Sep 2006 11:03:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865558#M79010</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2006-09-19T11:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Copy dirs and files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865559#M79011</link>
      <description>Miles,&lt;BR /&gt;&lt;BR /&gt;the way you formulate it&lt;BR /&gt;"then move contents of dka300 back from dka100.", am I to understand that you want to _ADD_ dka300 to dka100?&lt;BR /&gt;I do _NOT_ think that would be a wise move for a SystemDisk, because it would make you loose the structure, which would make it unusable as a system disk.&lt;BR /&gt;(Technically it _IS_ possible, but it would be WAY more delicate and complicated as what Andy suggested, should probably NOT be tried if you have to ask. Although, on a hobby system in your private time it WOULD be interesting and educational.&lt;BR /&gt;&lt;BR /&gt;But I am also interested in Andy's last question:  WHY?&lt;BR /&gt;There only VERY rarely is a serious need to defrag a VMS disk, even less a system disk.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Tue, 19 Sep 2006 11:21:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865559#M79011</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-09-19T11:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Copy dirs and files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865560#M79012</link>
      <description>I want to upgrade the OS to V7.3 So, we have been defragin the system disk befor e the upgrade&amp;gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 19 Sep 2006 11:42:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865560#M79012</guid>
      <dc:creator>vmsserbo</dc:creator>
      <dc:date>2006-09-19T11:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Copy dirs and files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865561#M79013</link>
      <description>Miles,&lt;BR /&gt;  You'd probably be better off defragging the disk AFTER the upgrade, as it will involve the movement of many files.&lt;BR /&gt;&lt;BR /&gt;  The best advice I can give is make sure you always have an immediate fallback every step of the way.&lt;BR /&gt;&lt;BR /&gt;  Also note that you CANNOT get a useable backup of your system disk while booted from it. You need to boot minimum VMS and take a standalone backup.&lt;BR /&gt;&lt;BR /&gt;  So, plan something like this:&lt;BR /&gt;&lt;BR /&gt;1) Shutdown&lt;BR /&gt;2) reboot minimal&lt;BR /&gt;3) backup/IMAGE system disk to spare1&lt;BR /&gt;   (spare1 is now your fallback)&lt;BR /&gt;4) reboot&lt;BR /&gt;5) perform upgrade&lt;BR /&gt;6) shutdown&lt;BR /&gt;7) reboot minimal&lt;BR /&gt;8) backup/IMAGE system disk to spare2&lt;BR /&gt;9) now physically swap the original system disk for spare2&lt;BR /&gt;&lt;BR /&gt;  You now have a clean, defragged, new system disk. You also have a fallback to immediately after the upgrade (though perhaps somewhat fragmented) and immediately before the upgrade.&lt;BR /&gt;&lt;BR /&gt;Note that if you have a shadowed system disk you can take several shortcuts in this sequence.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Sep 2006 17:31:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865561#M79013</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-09-19T17:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Copy dirs and files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865562#M79014</link>
      <description>Miles,&lt;BR /&gt;&lt;BR /&gt;The best way to defrag the disk is &lt;BR /&gt;&lt;BR /&gt;1. Do image backup and then&lt;BR /&gt;2. restore the backup&lt;BR /&gt;&lt;BR /&gt;When you do the restore to the disk, The space for each file allocates contiguous space for all the files.&lt;BR /&gt; &lt;BR /&gt;Anyway, for upgrade consider John's advise keep fallback option.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Raj</description>
      <pubDate>Wed, 20 Sep 2006 03:16:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865562#M79014</guid>
      <dc:creator>Chinraj Rajasekaran</dc:creator>
      <dc:date>2006-09-20T03:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Copy dirs and files</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865563#M79015</link>
      <description>Raj,&lt;BR /&gt;&lt;BR /&gt;  Sorry to disagree!&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The best way to defrag the disk is &lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;1. Do image backup and then&lt;BR /&gt;&amp;gt;2. restore the backup&lt;BR /&gt;&lt;BR /&gt;  If the backup is disk to disk, then skip step 2, just physically swap the disks. Don't overwrite the original.&lt;BR /&gt;&lt;BR /&gt;  If the backup is to tape them DON'T restore the tape to the same disk. If anything goes wrong you've lost everything. Tapes break, get chewed up or lose blocks. Power gets cut, systems crash. It's not worth the risk.&lt;BR /&gt;&lt;BR /&gt;Perhaps restore it from tape to a different disk (but if you've got another disk then skip the tape and just go disk to disk!)&lt;BR /&gt;&lt;BR /&gt;  Bottom line here is storage is cheap enough these days that there is no need to ever "burn bridges". ALWAYS keep an immediate fallback, and NEVER overwrite anything that you don't have a confirmed, ready to spin copy of somewhere else.&lt;BR /&gt;&lt;BR /&gt;  The best way to defrag a disk is tune files so they don't get fragmented. Know your data, preallocate and specify appropriately large extend sizes.&lt;BR /&gt;&lt;BR /&gt;  Second best is to use a product like DFG so you don't have to take your system down or dismount the disk.&lt;BR /&gt;&lt;BR /&gt;  Finally, don't ASSUME that a VMS disk NEEDS defragging, most disks that aren't subject to outright abuse are probably OK. Install DEFRAG off a CONDIST and use the SHOW command to analyze the disk and see how bad it is (no license PAK required).</description>
      <pubDate>Wed, 20 Sep 2006 16:02:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/copy-dirs-and-files/m-p/3865563#M79015</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-09-20T16:02:17Z</dc:date>
    </item>
  </channel>
</rss>

