[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxaxp::vmsnotes

Title:VAX and Alpha VMS
Notice:This is a new VMSnotes, please read note 2.1
Moderator:VAXAXP::BERNARDO
Created:Wed Jan 22 1997
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:703
Total number of notes:3722

193.0. "%BACKUP-I-INVDEEPDIR when restoring directories to files-11 mounted disks" by SWETSC::LONNGREN () Thu Feb 13 1997 09:41

 I get the following error when restoring directories from a saveset that
 has more than 8 directory levels. This should be possible according to
 the "OpenVMS Version 6.2 New Features Manual" chapter 3.9.2 that is 
 enclosed at the end of this note.
 The BACKUP command below will try to restore all files from level L6 down
 to level L10 (that is 4 directory levels) to a directory at the top level
 of another disk and four levels below.


[LONNGREN]BAC/LOG DPA4011_LONNGREN.BCK/SAV/SEL=[LONNGREN.L2.L3.L4.L5.L6...]*.*
_To: DKA200:[DIR_TEST...]
%BACKUP-S-CREDIR, created directory DKA200:[DIR_TEST.L7]
%BACKUP-S-CREDIR, created directory DKA200:[DIR_TEST.L7.L8]
%BACKUP-S-CREDIR, created directory DKA200:[DIR_TEST.L7.L8.L9]
%BACKUP-I-INVDEEPDIR, output directory [DIR_TEST...] not valid for deepdirectori
es, try rooted logical
%BACKUP-E-OPENOUT, error opening DKA200:[DIR_TEST...]L10.DIR;1 as output
-RMS-F-DIR, error in directory name
%BACKUP-E-OPENOUT, error opening DKA200:[DIR_TEST...]*.*;* as output
-RMS-F-RLF, invalid related NAM block
%BACKUP-E-OPENOUT, error opening DKA200:[DIR_TEST...]*.*;* as output
-RMS-F-RLF, invalid related NAM block
%BACKUP-E-OPENOUT, error opening DKA200:[DIR_TEST...]*.*;* as output
-RMS-F-RLF, invalid related NAM block
%BACKUP-E-OPENOUT, error opening DKA200:[DIR_TEST...]*.*;* as output
-RMS-F-RLF, invalid related NAM block
%BACKUP-E-OPENOUT, error opening DKA200:[DIR_TEST...]*.*;* as output
-RMS-F-RLF, invalid related NAM block

 Here is a list of the saveset:
 ------------------------------
[LONNGREN]back/lis decnet:DPA4011_LONNGREN.BCK;2/sav
Listing of save set(s)

Save set:          DPA4011_LONNGREN.BCK
Written by:        LONNGREN
UIC:               [000102,000003]
Date:               7-FEB-1997 12:14:12.53
Command:           BAC/LOG DPA4011:<LONNGREN...>*.* DPA4011_LONNGREN.BCK/SAV
Operating system:  OpenVMS AXP version V6.2
BACKUP version:    V6.2
CPU ID register:   80000000
Node name:         _AGNE::
Written on:        _DPA100:
Block size:        32256
Group size:        10
Buffer count:      58
[LONNGREN]L2.DIR;1                                          1   5-FEB-1997 14:45
[LONNGREN.L2]L3.DIR;1                                       1   5-FEB-1997 14:45
[LONNGREN.L2.L3]L4.DIR;1                                    1   5-FEB-1997 14:45
[LONNGREN.L2.L3.L4]L5.DIR;1                                 1   5-FEB-1997 14:45
[LONNGREN.L2.L3.L4.L5]L6.DIR;1                              1   5-FEB-1997 14:45
[LONNGREN.L2.L3.L4.L5.L6]L7.DIR;1                           1   5-FEB-1997 14:46
[LONNGREN.L2.L3.L4.L5.L6.L7]L8.DIR;1                        1   5-FEB-1997 14:46
[LONNGREN.L2.L3.L4.L5.L6.L7.L8]L9.DIR;1                     1   5-FEB-1997 14:46
[LONNGREN.L2.L3.L4.L5.L6.L7.L8.L9]L10.DIR;1                 1   7-FEB-1997 11:04
[LONNGREN.L2.L3.L4.L5.L6.L7.L8.L9.L10]MWM_MULTIA.LOG;1
                                                            0   7-FEB-1997 11:05
[LONNGREN.L2.L3.L4.L5.L6.L7.L8.L9]MWM_MULTIA.LOG;1          0   7-FEB-1997 11:04
[LONNGREN.L2.L3.L4.L5.L6.L7.L8]MWM_MULTIA.LOG;1             0   7-FEB-1997 11:05
[LONNGREN.L2.L3.L4.L5.L6.L7]MWM_MULTIA.LOG;1                0   7-FEB-1997 11:05
[LONNGREN.L2.L3.L4.L5.L6]MWM_MULTIA.LOG;1                   0   7-FEB-1997 11:06

Total of 14 files, 9 blocks
End of save set

--------------------------------
The "OpenVMS Version 6.2 New Features Manual" says:

                                                                          
     3.9.2 Increased Number of Directory Levels Supported                     
                                                                              
           BACKUP now supports saving individual files or groups              
           of files located in disk directories greater than eight            
           levels in depth, up to 32 levels of disk directories.              
           Prior versions of BACKUP (and OpenVMS utilities in general)        
           could not access, and thus could not save, files located in        
           directories greater than eight levels in depth.           

           BACKUP also supports restoring these files selectively in a        
           BACKUP restore operation.  Note, however, that OpenVMS file        
           system restrictions still apply when restoring these files.        
       ->  For non-image and non-physical restore operations,                 
       ->  individual files or groups of files may be restored to a           
       ->  disk, but the destination directories must be no greater           
		 --------------------------------------------------
       ->  than eight levels deep.                                 
	   -----------------------


    I understand that you can't restore files to a level below the 8th,
    because of RMS restrictions as said above ,but in my command above 
    I try to restore directories below level 8 to directories above 
    level 8. 

    It's no problem to restore one or all directories below level 8 
    to one specific directory using the command:

BAC/LOG DPA4011_LONNGREN.BCK/SAV/SEL=[LONNGREN.L2.L3.L4.L5.L6.L7...]*.* -
DKA200:<TEST>

    Copying to a consealed device defined as 
    DEF TESTDISK:[DIR_TEST.]/TRANS=CONC doesn't help either.
   
    Any Ideas ?


      - Regards Michael 
    
T.RTitleUserPersonal
Name
DateLines
193.1Use Logical To Reduce `.'s in `[]'sXDELTA::HOFFMANSteve, OpenVMS EngineeringThu Feb 13 1997 09:487
   You're trying a file-oriented restoration.  This -- as is documented
   in the text you quoted -- does not work.

   If you need to restore stuff this deeply, you'll have to work with
   concealed logical names, logical names that `hide' the upper levels
   of the directory specification.
193.2If all else fails...GIDDAY::GILLINGSa crucible of informative mistakesThu Feb 13 1997 20:5910
  You could try restoring to a higher level directory, then RENAME to the
  desired location. For example:

  $ CREATE/DIR disk:[TOP]
  $ BACKUP source  disk:[TOP...]*.*;*
  $ RENAME disk:[000000]TOP.DIR disk:[L1.L2.L3.L4.L5.L6.L7.L8]

  The RENAME should be very fast and won't affect dates on the contained
  files.
  						John Gillings, Sydney CSC
193.3Concealed device doesn't work either.SWETSC::LONNGRENFri Feb 14 1997 12:0132
I have defined a concealed device in the following way:

 DEFINE TESTDISK DKA200:[DIR_TEST.]/TRANS=(CONCEALED,TERMINAL) and then did a

 BAC/LOG DPA4011_LONNGREN.BCK/SAV/SEL=[LONNGREN.L2.L3.L4.L5.L6...]*.*
 _To: TESTDISK:<...>

 and get the same errormessages.

 %BACKUP-S-CREDIR, created directory TESTDISK:[LONNGREN.L7]
%BACKUP-S-CREDIR, created directory TESTDISK:[LONNGREN.L7.L8]
%BACKUP-S-CREDIR, created directory TESTDISK:[LONNGREN.L7.L8.L9]
%BACKUP-I-INVDEEPDIR, output directory <LONNGREN...> not valid for deepdirectori
es, try rooted logical
%BACKUP-E-OPENOUT, error opening TESTDISK:<LONNGREN...>L10.DIR;1 as output
-RMS-F-DIR, error in directory name
%BACKUP-E-OPENOUT, error opening TESTDISK:<LONNGREN...>*.*;* as output
-RMS-F-RLF, invalid related NAM block
%BACKUP-E-OPENOUT, error opening TESTDISK:<LONNGREN...>*.*;* as output
-RMS-F-RLF, invalid related NAM block
%BACKUP-E-OPENOUT, error opening TESTDISK:<LONNGREN...>*.*;* as output
-RMS-F-RLF, invalid related NAM block
%BACKUP-E-OPENOUT, error opening TESTDISK:<LONNGREN...>*.*;* as output
-RMS-F-RLF, invalid related NAM block
%BACKUP-E-OPENOUT, error opening TESTDISK:<LONNGREN...>*.*;* as output
-RMS-F-RLF, invalid related NAM block


 Does a rooted logical differs from my above defined concealed device ?


  - Regards Michael
193.4AUSS::GARSONDECcharity Program OfficeSun Feb 16 1997 18:083
    re .3
    
    You need to hide more levels in the concealed translation.