HP3000-L Archives

May 2000, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Backus <[log in to unmask]>
Reply To:
John Backus <[log in to unmask]>
Date:
Tue, 23 May 2000 14:52:20 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (117 lines)
On a 5.5pp4 system, we discovered the following STORE/RESTORE (and VSTORE)
behavior) which we have repeated on a 6.0pp1 system.  Only one DDS drive
was involved per system.

Basically, we have a non PM user storing a group of files that includes an
Image database.  Of course, the PRIV files fail to store due to lack of PM
capability. The non PRIV files appear to have stored just fine but attempts
to RESTORE or  VSTORE them (as a non PM user and as MANAGER.SYS) results in
a program abort.

Has anyone seen this before? This looks like a scenario where someone could
be  misled into thinking, 'Hey, I've got this store tape available with
everything but my database files'.

Am I overlooking something simple?  Is this a feature or a bug?  Thank you.

John Backus
Beechglen.com

  The results of the testing done on the 6.0pp1 system are shown below.
   (For brevity, superfluous output was deleted.)

:listuser nonsmpm.esp (the ESP ACCOUNT has everything)
CAP: AM,AL,GL,ND,SF,BA,IA,MR,PH

:JOB TSTOREJ,NONSMPM.ESP,PURGEME.
 HP3000  Release: C.60.00   User Version: C.60.01
 MPE/iX  HP31900 C.16.01  Copyright Hewlett-Packard 1987.
 :store @.PUB.ESP;*t;show
           >> TURBO-STORE/RESTORE  VERSION  C.60.07  B5151AA  <<
 ESP     .PUB     .ESP      NOT STORED: READ ACCESS REQUIRES (PM) CAPABILITY
 ESP01   .PUB     .ESP      NOT STORED: READ ACCESS REQUIRES (PM) CAPABILITY
 ESP02   .PUB     .ESP      NOT STORED: READ ACCESS REQUIRES (PM) CAPABILITY
 ESP03   .PUB     .ESP      NOT STORED: READ ACCESS REQUIRES (PM) CAPABILITY
 ESP04   .PUB     .ESP      NOT STORED: READ ACCESS REQUIRES (PM) CAPABILITY
 ESP05   .PUB     .ESP      NOT STORED: READ ACCESS REQUIRES (PM) CAPABILITY
 ESP06   .PUB     .ESP      NOT STORED: READ ACCESS REQUIRES (PM) CAPABILITY
 ESP01   .PUB     .ESP      NOT STORED: READ ACCESS REQUIRES (PM) CAPABILITY
 ESP02   .PUB     .ESP      NOT STORED: READ ACCESS REQUIRES (PM) CAPABILITY
 ESP03   .PUB     .ESP      NOT STORED: READ ACCESS REQUIRES (PM) CAPABILITY
 ESP04   .PUB     .ESP      NOT STORED: READ ACCESS REQUIRES (PM) CAPABILITY
 ESP05   .PUB     .ESP      NOT STORED: READ ACCESS REQUIRES (PM) CAPABILITY
 ESP06   .PUB     .ESP      NOT STORED: READ ACCESS REQUIRES (PM) CAPABILITY
  ...? the entire list of datasets above occurs twice.  Next listed was:
 ESP01.PUB.ESP NOT STORED: FILE IS PART OF AN IMAGE DATABASE
 USE "PARTIALDB" OPTION FOR PARTIAL DATABASE STORE/RESTORE
 ...repeated for each of the ESP datasets.  Next listed was:

 FILENAME GROUP    ACCOUNT  VOLUME RESTRICTIONS      SECTORS CODE   MEDIA_
_NUM  RSIZE BFCTR #EXT        EOF      LIMIT
 AAA01   .PUB     .ESP      DISC                        :C      16    1
 ...other files such as:
 SUMDAYS .PUB     .ESP      DISC                        :C      96    1
 SUMDISC .PUB     .ESP      DISC                        :C      48    1
 SUMJOBS .PUB     .ESP      DISC                        :C     256    1
 SUMLDVS .PUB     .ESP      DISC                        :C     256    1
 ...other files to last file.  Next the statistics were listed:

DATABASE INFORMATION:
 TURBOIMAGE DATABASE: !
 FILES STORED :                                        0
 FILES STORED :                                       91
 FILES NOT STORED :                                   19
 TOTAL MEDIA WRITTEN :                                 1
 :showvar ci@
 CIERROR = 0
 :showvar hpci@
 HPCIDEPTH = 1
 HPCIERR = 0
 :showjcw
 CIERROR = 0
 JCW = 0
 STOREJCW = 7
  :eoj

 :JOB TRESTORJ,NONSMPM.ESP,PURGEME.
  :file t;dev=tape
 :restore *t;[log in to unmask];local;show
 DATABASE INFORMATION:
 TURBOIMAGE DATABASE: !
 FILES RESTORED :                                      0
 FILES RESTORED :                               0
 RESTORE aborted because of error. (CIERR 1091)
 REMAINDER OF JOB FLUSHED.

Exactly what is on this tape?  SYSLIST output from Manager.sys batch job:
 RESTORE  *t;;LISTDIR
 MPE/iX MEDIA DIRECTORY
 MEDIA NAME        : STORE/RESTORE-HP/3000.MPEXL
 MEDIA VERSION     : MPE/iX 08.50 FIXED ASCII
 MEDIA NUMBER      : 1
 STORE  @.PUB.ESP;*t;show
 MEDIA CREATED WITH THE FOLLOWING OPTIONS
 MEDIA RECORD SIZE : 16384
 INTERLEAVE DEPTH  : 1
 FILENAME GROUP    ACCOUNT  CREATOR               MEDIA    SET
 AAA01   .PUB     .ESP      MGR     .ESP      >=      1
 ...other files (no database files though)
 SUMDAYS .PUB     .ESP      MGR     .ESP      >=      1
 SUMDISC .PUB     .ESP      MGR     .ESP      >=      1
 SUMJOBS .PUB     .ESP      MGR     .ESP      >=      1
 SUMLDVS .PUB     .ESP      MGR     .ESP      >=      1
 ...other files

Perhaps a user with PM could restore files from the tape?...
:JOB TEMPJ,MANAGER.SYS,PURGEME.
:restore *t;[log in to unmask]@.@;show;olddate;keep
 DATABASE INFORMATION:
 TURBOIMAGE DATABASE: !
 FILES RESTORED :                                      0
 FILES RESTORED :                               0
 RESTORE aborted because of error. (CIERR 1091)
 REMAINDER OF JOB FLUSHED.

I tried removing ;LOCAL and that had no effect.  I also tried restoring
just the file SUMLDVS and that resulted in an abort too.

ATOM RSS1 RSS2