<?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: how to do this ! in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592128#M6784</link>
    <description>SCC,&lt;BR /&gt;&lt;BR /&gt;Change your backup command to the following and it should leave your label alone:&lt;BR /&gt;&lt;BR /&gt;$ backup/log/image/ign=(lab,inter) mka0: dka100:/NoInitialize&lt;BR /&gt;&lt;BR /&gt;If that qualifier is not added, it will initialize with the label of the disk in the backup save set on the tape.  The other thing you could do is the Mount/Over=Id dka100 and VMS will tell you the value of the disk label after the backup operation.  As stated in other responses, you must dismount the disk from the Mount/Foreign and mount it again before it can be accessed with the directory command.&lt;BR /&gt;</description>
    <pubDate>Thu, 28 Jul 2005 15:13:24 GMT</pubDate>
    <dc:creator>Dale A. Marcy</dc:creator>
    <dc:date>2005-07-28T15:13:24Z</dc:date>
    <item>
      <title>how to do this !</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592123#M6779</link>
      <description>Hello,&lt;BR /&gt;I install a new HD for my micro vax 3100 model 90 v5.5.2, is a seagate scsi drive, after I boot up the system, I can mount the disk like example&lt;BR /&gt;&lt;BR /&gt;Mount/system/noquota dka100: backup&lt;BR /&gt;&lt;BR /&gt;That's no problem. I am trying to do a image backup from other disk drive to that one, but the system ask me to dism the drive and mount it under mount/fore dka100: that's no problem to do that too. But when I abort the process or after finish, I can't get into that drive. No matter what I do, the system say wrong label.&lt;BR /&gt;&lt;BR /&gt;I am going to init. the drive again and start it over again. Is there any way I can copy or from a backup to copy all files over to that new drive and during the process it will also create a new dir. example&lt;BR /&gt;I want to copy a file from dka400:[test]test.dat to dka100:[test]&lt;BR /&gt;but on dka100: there is no dka100:[test] setup &lt;BR /&gt;Or I have to use backup tapes data to backup to that HD.&lt;BR /&gt;&lt;BR /&gt;Thanks !&lt;BR /&gt;SCC</description>
      <pubDate>Thu, 28 Jul 2005 13:11:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592123#M6779</guid>
      <dc:creator>SCC_2</dc:creator>
      <dc:date>2005-07-28T13:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to do this !</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592124#M6780</link>
      <description>SCC,&lt;BR /&gt;&lt;BR /&gt;You did not show the backup command that you were using, but I suspect the image backup caused the label of the DKA100 to be changed to the same value as your original drive (DKA400?).  You can specify /NoInitialize on the output side to not overwrite the label of the output disk.  You can use back to create the directories as you requested in the end part of your question, but if you want to move ACLs with the directory, you have to perform an extra task.  To move with ACLs in tact, do the following:&lt;BR /&gt;&lt;BR /&gt;$ backup dka400:[000000]test.dir dka100:[000000]test.dir&lt;BR /&gt;$ backup dka400:[test]test.dat;* dka100:[*]*.*;*&lt;BR /&gt;&lt;BR /&gt;In the above, if you want to retain the original owner, add /by_owner=original to the end of both lines.&lt;BR /&gt;&lt;BR /&gt;If you would like further assistance, please provide example of backup command you are using.</description>
      <pubDate>Thu, 28 Jul 2005 13:44:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592124#M6780</guid>
      <dc:creator>Dale A. Marcy</dc:creator>
      <dc:date>2005-07-28T13:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to do this !</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592125#M6781</link>
      <description>SCC,&lt;BR /&gt;&lt;BR /&gt;If you want to do an image backup, do it as you did:&lt;BR /&gt;&lt;BR /&gt;$ MOUNT/FOREIGN destination_drive&lt;BR /&gt;$ BACKUP/IMAGE source_drive destination_drive&lt;BR /&gt;&lt;BR /&gt;Then mount the drive private:&lt;BR /&gt;&lt;BR /&gt;$ MOUNT/OVER=ID destination_drive&lt;BR /&gt;&lt;BR /&gt;The destination_drive label will be displayed. You cant have two drives with the same label mounted system wide, so probably you want to change the drive label with:&lt;BR /&gt;&lt;BR /&gt;$ SET VOLUME/LABEL=new_label destination_drive&lt;BR /&gt;&lt;BR /&gt;Now you can dismount the drive and mount it system wide with MOUNT/SYSTEM.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Thu, 28 Jul 2005 14:50:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592125#M6781</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-07-28T14:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to do this !</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592126#M6782</link>
      <description>Thank ! this is what I try to do start from scratch&lt;BR /&gt;&lt;BR /&gt;$ init dka100: backup&lt;BR /&gt;$ mount/fore dka100:&lt;BR /&gt;$ backup/log/image/ign=(lab,inter) mka0: dka100:&lt;BR /&gt;&lt;BR /&gt;( it start copying the the files at this point ) then I ctrl-Y to kill it. then type&lt;BR /&gt;$ set def dka100:[000000]&lt;BR /&gt;$ dir&lt;BR /&gt;return will error&lt;BR /&gt;%direct-e-openin, error opening dka100:[000000]*.*;* as input -system-f-devforeign device is mount foreign&lt;BR /&gt;&lt;BR /&gt;Then I dismount the dka100:&lt;BR /&gt;$ dism dka100:&lt;BR /&gt;after that I can't mount the disk another more, error say incorrect volume label&lt;BR /&gt;&lt;BR /&gt;scc</description>
      <pubDate>Thu, 28 Jul 2005 14:57:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592126#M6782</guid>
      <dc:creator>SCC_2</dc:creator>
      <dc:date>2005-07-28T14:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to do this !</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592127#M6783</link>
      <description>If you kill your image backup, the target disk is still mounted /FOREIGN, which is not FILES-11, so you cannot do a DIR command on it.&lt;BR /&gt;&lt;BR /&gt;A DIR command will not work until the backup has finished and you dismount the volume and then remount it FILES-11.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;WWWebb</description>
      <pubDate>Thu, 28 Jul 2005 15:07:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592127#M6783</guid>
      <dc:creator>William Webb_2</dc:creator>
      <dc:date>2005-07-28T15:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to do this !</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592128#M6784</link>
      <description>SCC,&lt;BR /&gt;&lt;BR /&gt;Change your backup command to the following and it should leave your label alone:&lt;BR /&gt;&lt;BR /&gt;$ backup/log/image/ign=(lab,inter) mka0: dka100:/NoInitialize&lt;BR /&gt;&lt;BR /&gt;If that qualifier is not added, it will initialize with the label of the disk in the backup save set on the tape.  The other thing you could do is the Mount/Over=Id dka100 and VMS will tell you the value of the disk label after the backup operation.  As stated in other responses, you must dismount the disk from the Mount/Foreign and mount it again before it can be accessed with the directory command.&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Jul 2005 15:13:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592128#M6784</guid>
      <dc:creator>Dale A. Marcy</dc:creator>
      <dc:date>2005-07-28T15:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to do this !</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592129#M6785</link>
      <description>SCC,&lt;BR /&gt;&lt;BR /&gt;Several issues together:&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;$ init dka100: backup&lt;BR /&gt;$ mount/fore dka100:&lt;BR /&gt;$ backup/log/image/ign=(lab,inter) mka0: dka100:&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;-- whatever was the label of the original disk before backinh-up to tape, will now be the label of dka0: as well.&lt;BR /&gt;To prevent that, add /NOINIT to the backup command&lt;BR /&gt; &lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;Then I dismount the dka100:&lt;BR /&gt;$ dism dka100:&lt;BR /&gt;after that I can't mount the disk another more, error say incorrect volume label&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;Yes, you changed the label to that of the original disk (the one that was taped).&lt;BR /&gt;&lt;BR /&gt;And if it is on the same system, then trying to mount is systemwide as well (with the label taken from the tape) then you get "Another device with same label already exists.&lt;BR /&gt;Another reason to BACKUP/NOINIT.&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 &lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;... then I ctrl-Y to kill it. &lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;BACKUP (and certainly /IMAGE) does have to do some complex housekeeping functionality as well.&lt;BR /&gt;If you do not let it run to completion, (and you DID interrupt it!) then the output disk will not be consistent,</description>
      <pubDate>Thu, 28 Jul 2005 15:16:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592129#M6785</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-07-28T15:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to do this !</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592130#M6786</link>
      <description>SCC,&lt;BR /&gt;&lt;BR /&gt;You should not abort image backup with ctrl-Y. You must wait until the whole disk is copied. If you abort the backup, you will receive an inconsistent volume which can not be mounted.&lt;BR /&gt;&lt;BR /&gt;After dismounting the disk, mount it private with MOUNT/OVER=ID. This will tell you the device label. If another disk has the same label you should change it with SET VOLUME/LABEL while the disk is private mounted.&lt;BR /&gt;&lt;BR /&gt;If you want to copy only some files and then interupt the backup process you can not use the /IMAGE qualifier. Use this command:&lt;BR /&gt;&lt;BR /&gt;$ BACKUP MKA0: DKA100:[*...]/OWNER=ORIGINAL&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Thu, 28 Jul 2005 15:16:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592130#M6786</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2005-07-28T15:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to do this !</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592131#M6787</link>
      <description>IMHO, interrupting an image backup will leave your backup useless, si the only feasable thing to do with the target medium is to INIT it again and redo the excercise.&lt;BR /&gt;&lt;BR /&gt;Im not sure on your second question.&lt;BR /&gt;I suppose you have:&lt;BR /&gt;&lt;BR /&gt;DKA400:[test]test.dat&lt;BR /&gt;DKA100:[000000] - without test.dir&lt;BR /&gt;&lt;BR /&gt;and want to end up to have: &lt;BR /&gt;&lt;BR /&gt;DKA100:[test]test.dat&lt;BR /&gt;&lt;BR /&gt;I would use the simple approach:&lt;BR /&gt;&lt;BR /&gt;$ CREATE/DIRECTORY DKA100:[TEST]&lt;BR /&gt;$ COPY DKA400:[TEST]TEST.DAT DKA100:[TEST]&lt;BR /&gt;&lt;BR /&gt;or, if DKA400 containsa a backup saveset:&lt;BR /&gt;&lt;BR /&gt;$ CREATE/DIRECTORY DKA100:[TEST]&lt;BR /&gt;$ BACKUP/SELECT=[TEST]TEST.DAT DKA400:&lt;SAVESET&gt;/SAVE_SET DKA100:[TEST]&lt;BR /&gt;&lt;BR /&gt;&lt;/SAVESET&gt;</description>
      <pubDate>Fri, 29 Jul 2005 02:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-this/m-p/3592131#M6787</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-07-29T02:12:44Z</dc:date>
    </item>
  </channel>
</rss>

