[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

337.0. "Flush fails with SHP_INVALID_OFFLINE_INFO/SHP_INVALID_FILE" by BACHUS::VERCAMMEN (You never walk alone...) Tue Apr 29 1997 10:39

	Hi there,



	We recently associated a new archive class (12) to a shelf (DECPS)

	Then we 'Reshelved' everything on the volume by issuing the command:
	$ SHELVE/.../SELECT=NOONLINE DECPS:[000000...]*.*.*, to 'reshelve' the
	data to the new archive class.

	After the 'reshelving' was done, some questions/problems showed up:

	1) In the cache, are left some few hundred files, which can't seem to
		get flushed anymore.
		Everytime a flush is triggered, following error is returned in
		the HSM$SHP_ERROR.LOG file: (The error shows up ONLY for the 
		first file on this serie of files, but neither one of them 
		is flushed)

********************************************************************************

** 35870 **                      REQUEST ERROR REPORT

   Error detected on request number 35870 on node EPLZ02
   Entry logged at 29-APR-1997 14:01:24.56

** Request Information:

   Identifier:  3
   Process:     20408C88
   Username:    HSM$SERVER
   Timestamp:   29-APR-1997 14:01:15.95
   Client Node: EPLZ02
   Source:      Shelf
   Type:        Flush file
   Flags:       None
   State:       Original Validated
   Status:      Error


** Request Parameters:

   File:        _$1$DUA142:[HSM_CACHE]PSDC$EPLZ05_1996APR03.CPD$8611147857;1

** Request Disposition:

   Non-fatal shelf handler error
   Fatal request error
   Operation was rolled back

** Exception Information:

   Exception                          Module                               Line
   SHP_INVALID_OFFLINE_INFO           SHP_CATALOG                          2933

   Exception                          Module                               Line
   SHP_INVALID_FILE                   SHP_TRANSITION                        582

   Exception                          Module                               Line
   SHP_INVALID_FILE                   SHP_TRANSITION                        582

********************************************************************************

	Any idea what is causing this error?, and how we can het rid if it?
	
	I've already tried to do a SMU ANALYZE, but there are no errors
	detected for this file.

	The catalog file information for this file looks like:

EPLZ02 > smu locate/full decps:[psdc.eplz05.cpd]PSDC$EPLZ05_1996APR03.CPD

$1$DUA141:[PSDC.EPLZ05.CPD]

  PSDC$EPLZ05_1996APR03.CPD;1                              (2411,1,0)
    File Shelved:
      PSDC$EPLZ05_1996APR03.CPD;1       4937/0         15-AUG-1996 21:11:19.91
    Shelf copy:
      Volume: CPD003  Saveset: 3213971DD9.BCK  Position: 3255  Archive: 7
                                        4937/4944      15-AUG-1996 21:11:19.91
        Shelved on 15-AUG-1996 21:14:24.22
    Cache copy: _$1$DUA142:
      PSDC$EPLZ05_1996APR03.CPD$8611147857;1
                                        4937/4950      15-AUG-1996 21:11:19.91
        Shelved on 15-APR-1997 14:33:18.83
      PSDC$EPLZ05_1996APR03.CPD$8611905925;1
                                        4937/4950      15-AUG-1996 21:11:19.91
        Shelved on 16-APR-1997 11:37:06.56
    Shelf copy:
      Volume: CPD020  Saveset: 3355064434.BCK  Position: 3873  Archive: 12
                                        4937/4950      15-AUG-1996 21:11:19.91
        Shelved on 16-APR-1997 17:03:24.73
      Volume: CPD020  Saveset: 33550E8389.BCK  Position: 4128  Archive: 12
                                        4937/4950      15-AUG-1996 21:11:19.91
        Shelved on 15-APR-1997 14:33:18.83
      Volume: CPD020  Saveset: 33550E928A.BCK  Position: 4131  Archive: 12
                                        4937/4950      15-AUG-1996 21:11:19.91
        Shelved on 16-APR-1997 11:37:06.56


EPLZ02 > dir/fu decps:[psdc.eplz05.cpd]PSDC$EPLZ05_1996APR03.CPD


Directory DECPS:[PSDC.EPLZ05.CPD]

PSDC$EPLZ05_1996APR03.CPD;1               File ID:  (2411,1,0)
Size:         4937/0          Owner:    [SYSTEM]
Created:    3-APR-1996 00:00:01.00
Revised:   15-AUG-1996 21:11:19.91 (25)
Expires:   17-APR-1997 08:18:33.10
Backup:    <No backup recorded>
Effective: <None specified>
Recording: <None specified>
File organization:  Sequential
Shelved state:      Shelved
File attributes:    Allocation: 0, Extend: 2500, Global buffer count: 0
                    No version limit
Record format:      Fixed length 512 byte records
Record attributes:  None
RMS attributes:     None
Journaling enabled: None
File protection:    System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: 
(APPLICATION,SIZE=%D253,FLAGS=%X0E03,ACCESS=%X06F706F7,DATA=
                    %X00000206,%X00000000,%X00000000,%X00000000,%X00000000,
                    %X00030000,%X79CF1FAA,%X11D07EAF,%X0008608B,%X6999932B,
                    %X43F65DF5,%X11D0B680,%X00084693,%X6999932B,%X00000000,
                    %X00000000,%X00000000,%X00000000,%X00000000,%X00000000,
                    %X00000000,%X00000000,%X00000000,%X00000000,%X00000000,
                    %X00000000,%X00000000,%X00000000,%X00000000,%X00000000,
                    %X00000000,%X00000000,%X00000000,%X00000000,%X00000000,
                    %X00000000,%X00000000,%X00000000,%X00000000,%X00000000,
                    %X00000000,%X00000000,%X00000000,%X00000000,%X00000000,
                    %X00000000,%X000C0007,%X00000000,%X00000000,%X00000000,
                    %X00000000,%XBC80ACE5,%X11D0B64D,%X00084293,%X6999932B,
                    %X00000000,%X00000000,%X00000000,%X00000000,%X096B0000,


Total of 1 file, 4937/0 blocks.

	Now if you look carefully at the output of the SMU LOCATE /FULL,
	another question/weirdness shows up - hence our second question:

	2) Why was this file put 3 times on the same tape (CPD020 = tape 
		belonging to archive class 12)
		Shelved on 15-APR-1997 14:33:18.83
		Shelved on 16-APR-1997 11:37:06.56
	and 	Shelved on 16-APR-1997 17:03:24.73...???
	
	These files are ONLY used in READONLY mode (never modified), AND the 
	shelving is always done using explicit $SHELVE commands. (No expiration
	date selection algorithm used).

	This phenomenon is seen for all the files still in the cache (+- 200).




	Thanks and regards,


	\Jan 


PS.Some additional info:
    
    EPLZ02 > smu show shelf decps
    
    Shelf DECPS is enabled for Shelving and Unshelving
      Catalog File:        
    SYS$DBS:[HSM$SERVER.CATALOG]HSM$CATALOG_DECPS.SYS
      Shelf History:
        Created:            29-JAN-1997 11:02:03.84
        Revised:            14-APR-1997 15:51:01.32
      Backup Verification:  Off
      Save Time:            0 14:00:00.00
      Updates Saved:        2
      Archive Classes:
        Archive list:       HSM$ARCHIVE07   id: 7
                            HSM$ARCHIVE12   id: 12
        Restore list:       HSM$ARCHIVE07   id: 7
                            HSM$ARCHIVE12   id: 12
    
    EPLZ02 > smu show archive 12
    
      HSM$ARCHIVE12 has been used
        Identifier:     12
        Media type:     TK87K_TL
        Density:        <none>
        Label:          CPD020
        Position:       8163
        Device refs:    4
        Shelf refs:     2
        Current pool:   DECPS_2_C
        Enabled pools:  DECPS_2_C
    
    EPLZ02 > smu sho volume decps/full
    
    Volume _$1$DUA141: on Shelf DECPS, Shelving is enabled, Unshelving is
    enabled,
        Highwater mark detection is enabled, Occupancy full detection is
    disabled,
        Disk quota exceeded detection is disabled
        Created:             4-FEB-1997 14:00:09.07
        Revised:            25-APR-1997 10:51:47.22
        Ineligible files:   <none>
        Highwater mark:     90%
        OCCUPANCY Policy:   DECPS$POLICY
        QUOTA Policy:       <none>
    
    EPLZ02 > smu show policy/full decps$policy
    
    Policy DECPS$POLICY is enabled for shelving
      Policy History:
        Created:            23-JAN-1997 07:44:15.34
        Revised:            25-APR-1997 10:51:21.37
      Selection Criteria:
        State:              Enabled
        Action:             Shelving
        File Event:         Creation date
        Elapsed time:       62 00:00:00
        Before time:        <none>
        Since time:         <none>
        Lowwater mark:      80%
        Primary Policy:     Least Recently Used (LRU)
        Secondary Policy:   <none>
      Verification:
        Mail notification:
            FVS
        Output file:
            LOGSYS:[SYSTEM.SYSLOG.HSM.POLICY]DECPS$POLICY.LOG;
    
    
    
    
    
T.RTitleUserPersonal
Name
DateLines