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

Conference cookie::hsm

Title:File Shelving
Moderator:COOKIE::HOLSINGER
Created:Mon Mar 15 1993
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:346
Total number of notes:1204

336.0. "error unshelving a restored file (HSM$BACKUP) !" by ATZIS1::KARTNER_M (HOUSTON, we have a problem) Wed Apr 23 1997 08:03

    Hi!
    
    I've got a question regarding NON IMAGEBACKUP restores of
    shelved files:
    
    When doing a NONIMAGE restore of a shelved file, accessing the
    restored file results in an access error unless a SMU ANALYZE/REPAIR
    is done. Afterwards everthing works as expected again (see below).
    
    I don't understand how this error can happen. A needed UNSHELVE 
    opperation should access the file in the archive directly bypassing 
    the catalog. But the ACE information is restored correctly (points
    to the correct archive , volume saveset) so there should be no problem.
    
    I know that after a nonimage restore to a disk the catalog isn't
    correct any more becouse of the new FIDs. So I HAVE to run a
    ANALYZE in the long run to fix the catalog but this should be not
    required for unshelving.
    
    REASON: IF I have to restore huge parts of a disk using the
    	    BACKUP PARADIGMA, no user can access the restored data
    	    before an ANALYZE/REPAIR is completed, but this will take
    	    a long time for a device containing 100.000 files. This
    	    may be a performance consideration that kills the usage
    	    of the backup paradigma   
    
    
    								thanks
    								Michael
    
    
    TEST:
    
    VNA03$dir /shelv
    
    Directory DISK$USER02:[MICHAEL_KARTNER]
    
    ALPHA_COURSE.DIR;1   Online
    BACKUP.TEST;2        Shelved
    
    VNA03$hsm$backup/noshelv BACKUP.TEST;2 [.tools]test.sav/sav/log
    
    VNA03$del BACKUP.TEST;2
    
    VNA03$backup [.tools]test.sav/sav [] /log
    %BACKUP-S-CREATED, created DISK$USER02:[MICHAEL_KARTNER]BACKUP.TEST;2
    
    VNA03$type BACKUP.TEST;2
    %TYPE-W-READERR, error reading DISK$USER02:[MICHAEL_KARTNER]BACKUP.TEST;2
    -RMS-F-RER, file read error
    -SYSTEM-E-SHELFERROR, access to shelved file failed
    
    
    
T.RTitleUserPersonal
Name
DateLines
336.1only workaround to do an UNSHELVE/OVERRIDE ?ATZIS1::KARTNER_MHOUSTON, we have a problemWed Apr 23 1997 08:399
    Hi!
    
    Is the only workaround to do an UNSHELVE/OVERRIDE for the restored
    tree ? 
    I don't really like this solution becouse you may fail to recoginse
    real catalog problems by useing the /override qualifier
    
    								thanks
    								Michael