IBM Support

IZ28162: ON HP-UX DATABASE MIGRATION FROM V8 - V9 MAY FAIL WITH SQLB_AS_INVALID_STORAGE_PATH

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • On HP-UX Database Migration from V8 - V9 fails with
    SQLB_AS_INVALID_STORAGE_PATH due to not being able to get
    complete file system information due to buffer overrun.
    
    
    Snippet of db2diag.log
    ***********************
    2008-07-21-09.17.01.785694-240 I1837A651          LEVEL: Severe
    PID     : 16529                TID  : 1           PROC :
    db2agent (D02) 0
    INSTANCE: db2d02               NODE : 000
    APPHDL  : 0-8                  APPID: *LOCAL.db2d02.080721131701
    AUTHID  : DB2D02
    FUNCTION: DB2 UDB, buffer pool services, sqlbGetFileSystemInfo,
    probe:15
    MESSAGE :
    ZRC=0x800201A5=-2147352155=SQLB_AS_INVALID_STORAGE_PATH
              "Storage path does not exist or is inaccessible."
    DATA #1 : String, 30 bytes
    Could not get file system info
    DATA #2 : Pointer, 8 bytes
    0xc00000001d710b40
    DATA #3 : Pointer, 8 bytes
    0x9fffffffffff0b00
    DATA #4 : Bitmask, 4 bytes
    0x00000180
    
    2008-07-21-09.17.01.813628-240 I2489A529          LEVEL: Severe
    PID     : 16529                TID  : 1           PROC :
    db2agent (D02) 0
    INSTANCE: db2d02               NODE : 000
    APPHDL  : 0-8                  APPID: *LOCAL.db2d02.080721131701
    AUTHID  : DB2D02
    FUNCTION: DB2 UDB, buffer pool services,
    sqlbCopyStoragePathsFromDiskCB, probe:20
    MESSAGE :
    ZRC=0x800201A5=-2147352155=SQLB_AS_INVALID_STORAGE_PATH
              "Storage path does not exist or is inaccessible."
    DATA #1 : String, 29 bytes
    Error copying paths from disk
    

Local fix

  • For allocation of path buffers , db2 uses HPUX macro SYS_NMLN .
    By default , this macro has a value 9 , that means 8 characters
    plus null.
    So , the mount name and the path to the mount directory should
    be less or equal 8 .
    If you rename the directories to numbers, it might help. For
    instance , the path /0/1/2/ uses 7 characters .
    

Problem summary

  • ON HP-UX DATABASE MIGRATION FROM V8 - V9 MAY FAIL WITH
    SQLB_AS_INVALID_STORAGE_PATH
    

Problem conclusion

  • First fixed in DB2 UDB Version 9.1, FixPak 6
    

Temporary fix

  • For allocation of path buffers , db2 uses HPUX macro SYS_NMLN .
    By default , this macro has a value 9 , that means 8 characters
    plus null.
    So , the mount name and the path to the mount directory should
    be less or equal 8 .
    If you rename the directories to numbers, it might help. For
    instance , the path /0/1/2/ uses 7 characters .
    

Comments

APAR Information

  • APAR number

    IZ28162

  • Reported component name

    DB2 UDB ESE HP-

  • Reported component ID

    5765F4103

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-07-24

  • Closed date

    2008-11-04

  • Last modified date

    2008-11-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IZ28163 IZ28164

Fix information

  • Fixed component name

    DB2 UDB ESE HP-

  • Fixed component ID

    5765F4103

Applicable component levels

  • R910 PSY

       UP

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910"}]

Document Information

Modified date:
03 October 2021