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

Conference cookie::sls

Title:Storage Library System
Moderator:COOKIE::REUTER
Created:Sun Oct 13 1991
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2270
Total number of notes:7850

2211.0. "repeating directories" by MDR01::NIEVES (MCS Madrid) Thu Mar 06 1997 11:40

    Hello,
    
    my customer has a very strange problem, it's with old versions, but I
    would appreciate any help. 
    
    VMS 5.5-2
    SLS 2.4
    
    She does a $backup/ignore=interlock disk:[000000...]*.*.*
    
    and finds that once the backup is finished, sometimes the tape contains the
    same directories several times. The problem is that there is not enough
    space in the tape then.
    
    Any clue?
    
    Nieves 
T.RTitleUserPersonal
Name
DateLines
2211.1normal VMS system disk structure ?BACHUS::RENTYFri Mar 07 1997 10:3942
    Nieves,
    
    
    I suppose your 'problem' is the expected behaviour with VMS alias 
    directories : a normal VMS system disk always contains such directories 
    that are physical the same, but with different names.
    
    eg.  dir system_disk:[vms$common] = dir system_disk:[sys0.syscommon]
    
    you can check if a file is an alias for another file if they have the
    same file-id :
    
    $ dir/FILE sys$sysdevice:[000000]VMS$COMMON.DIR,-
               sys$sysdevice:[SYS*]SYSCOMMON.DIR      /WID=FILE=50/NOHEAD/NOTRAIL
    
    SYS$SYSDEVICE:[000000]VMS$COMMON.DIR;1              (11,1,0)
    SYS$SYSDEVICE:[SYS0]SYSCOMMON.DIR;1                 (11,1,0)
    SYS$SYSDEVICE:[SYS1]SYSCOMMON.DIR;1                 (11,1,0)
    SYS$SYSDEVICE:[SYS10]SYSCOMMON.DIR;1                (11,1,0)
    SYS$SYSDEVICE:[SYS11]SYSCOMMON.DIR;1                (11,1,0)
    SYS$SYSDEVICE:[SYS12]SYSCOMMON.DIR;1                (11,1,0)
    SYS$SYSDEVICE:[SYSE]SYSCOMMON.DIR;1                 (11,1,0)
      
    As you can see all these files (and their subdrectories) are physically the 
    same directories
    
    If the disk is not a system disk, or not concerning the *common*
    directory, it's possible that the customer or an application created
    such alias directories with the DCL command 
    
    $ set file a.dir/enter=b.dir
    
    For backup, this means that if you do a 
    	backup/ignore=interlock system_disk:[000000...],
    you will backup twice the same directory.
    
    To prevent this, use 
    	backup/IMAGE 
    or if this is not possible,
    	backup/exclude=system_disk:[sys*.syscommon...]*.*;*
                          
    Bart
2211.2thanks BartMDR01::NIEVESMCS MadridTue Mar 11 1997 03:171