HP3000-L Archives

July 1998, Week 5

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:
Gilles Schipper <[log in to unmask]>
Reply To:
Gilles Schipper <[log in to unmask]>
Date:
Thu, 30 Jul 1998 10:02:44 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (73 lines)
Lars wrote:
>May I veto here? As far as I understand, the VOLSET option does not
>select files that did live on the specified set but creates accounts
>and groups to place all files restored to the specified set (i.e.
>the NEWACCT and NEWGROUP pairs with ;ONVS and ;HOMEVS are performed).
>

I thought exactly as Lars did - until I actually tried it.

I discovered that the VOLSET option DOES select ONLY files that are
supposed to live on the specified set.

Demonstration follows:

:dstat all
   LDEV-TYPE    STATUS      VOLUME (VOLUME SET - GEN)
  ----------   --------    --------------------------
  1-C2490AM     MASTER      MEMBER1         (MPEXL_SYSTEM_VOLUME_SET-0)
  2-C2490A-       MASTER      MEMBER1         (USER01-0)
:report n.csl3000
ACCOUNT       FILESPACE-SECTORS     CPU-SECONDS    CONNECT-MINUTES
   /GROUP       COUNT    LIMIT    COUNT    LIMIT    COUNT    LIMIT
CSL3000         34928       **        0       **        0       **
Non-existent group. (CIERR 908)
:report n.csl3000;onvs=user01
Non-existent account. (CIERR 909)
::restore *t;@[log in to unmask];volset=user01;show=offline;olddate;create
STORE/RESTORE VERSION   C.55.25 (C) 1986 HEWLETT-PACKARD CO.

RESTORE  *t;@[log in to unmask];VOLSET=USER01;SHOW=OFFLINE;OLDDATE;CREATE

THU, JUL 30, 1998,  9:49 AM

'CREATE' OPTION DEFAULTING TO 'CREATE=ACCOUNT,GROUP,CREATOR,PATH'
BASED ON YOUR CAPABILITIES  (S/R 502)
RESTORE SKIPPING SLT IN PROGRESS ON LDEV 7

WILL RESTORE      233 FILES          ; NUMBER OF FILES ON MEDIA    12738

FILENAME GROUP    ACCOUNT  VOLUME RESTRICTIONS            SECTORS CODE   MEDIA
ACE     .CSLBUILD.CSL3000  COULD NOT BE GIVEN SPECIFIED VOLUME RESTRICTIONS
ACE     .CSLBUILD.CSL3000  MPEXL_SYSTEM_VOLUME_SET     :S      32            1
APPLSIM .CSLBUILD.CSL3000  COULD NOT BE GIVEN SPECIFIED VOLUME RESTRICTIONS
APPLSIM .CSLBUILD.CSL3000  MPEXL_SYSTEM_VOLUME_SET     :S      32            1
AQ      .CSLBUILD.CSL3000  COULD NOT BE GIVEN SPECIFIED VOLUME RESTRICTIONS
AQ      .CSLBUILD.CSL3000  MPEXL_SYSTEM_VOLUME_SET     :S      16            1
AQE01   .CSLBUILD.CSL3000  COULD NOT BE GIVEN SPECIFIED VOLUME RESTRICTIONS
......
......

As you can see, the attempt to restore files that reside on the system
volume set to the user01 volume set fails with the above error messages.

I can similarily demonstrate that:

:restore *t;@[log in to unmask]@;......;create;volset=user1

will only restore the appropriate files to their appropriate volume set.

Clearly there will be lots of error messages. However, if one does not know
exactly which groups/accounts belong to a specified volume set, this option
is a workable one.


---------------------------------------------------------------------------
Gilles Schipper
GSA Inc.
HP3000 & HP9000 System Administration Specialists
300 John Street, Box 87651   Thornhill, ON Canada L3T 7R4
Voice: 905.889.3000     Fax: 905.889.3001
Internet:  [log in to unmask]
---------------------------------------------------------------------------

ATOM RSS1 RSS2