Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Migration to S0

&pagelevel(4)&pagelevel

Migration to S0 moves a file from a volume set of an SM pubset to another volume set of the same SM pubset. This enables you to

  • reorganize an SM pubset

  • redistribute the files on an SM pubset when a new, empty volume set is added

  • move to a different volume set all the files of a volume set that are to be removed from an SM pubset.

Migration to S0 is not implemented in HSMS by means of a new statement. The existing HSMS functions allow the HSMS administrator to carry out the migration to S0 in three consecutive steps which can be put together in an SDF(-P) procedure:

  1. Select files to be migrated using the HSMS statement SELECT-FILE-NAMES. Below are two examples:

    • To reorganize a pubset, all the files are selected that are not located on the best volume set in terms of their attributes:

      //SELECT-FILE-NAMES FILE-NAMES=:<sm-pubset-id>:$*.*, -
         SELECT-FROM=*CATALOG(STORAGE-LEVEL=*S0, - 
            SUPPORT=*SYSTEM-MANAGED-PUBSET -
                    (ALLOCATION-QUALITY=*NOT-BEST-VOLUME-SET)), -
         OUTPUT=<files-to-move.list>
      
    • To remove a volume sets from an SM pubset, all the files are selected that are located on that volume set:

      //SELECT-FILE-NAMES FILE-NAMES=:<sm-pubset-id>:$*.*, -
         SELECT-FROM=*CATALOG(STORAGE-LEVEL=*S0, - 
           SUPPORT=*SYSTEM-MANAGED-PUBSET(VOLUME-SET-ID=<volume-set-id>)), - 
         OUTPUT=<files-to-move.list> 
      
  2. Migration of files to S2 level:

    //MIGRATE-FILES ENVIRONMENT=*SYSTEM-MANAGED(CATALOG-ID=<sm-pubset-id>) , -
          FROM-STORAGE=*S0-STORAGE-LEVEL(FILE-NAMES=*FROM-FILE( -
             files-to-move.list>),TO-STORAGE=*S2-STORAGE-LEVEL) 
    
  3. Recall files to S0 level with the HSMS statement RECALL-MIGRATED-FILES:

    • If files are to be recalled to the volume set that best matches their attributes, the following statement must be used:

      //RECALL-MIGRATED-FILES FILE-NAMES=*FROM-FILE(files.to.move.list) , -
         ENVIRONMENT=*SYSTEM-MANAGED(CATALOG-ID=<sm-pubset-id>)
    • If files are to be stored on a certain volume set of the SM pubset, the following statement must be used:

      //RECALL-MIGRATED-FILES FILE-NAMES=*FROM-FILE(files.to.move.list) , -
         ENVIRONMENT=*SYSTEM-MANAGED(CATALOG-ID=<sm-pubset-id>, -
             NEW-DATA-SUPPORT=<volume-set-id>)