IBM Support

PM94950: Unable to open checked-out 2 gigabyte versioned DO for write access without O_LARGEFILE option on AIX

Fixes are available

Rational ClearCase Fix Pack 12 (7.1.2.12) for 7.1.2
Rational ClearCase Fix Pack 8 (8.0.0.8) for 8.0
Rational ClearCase Fix Pack 1 (8.0.1.1) for 8.0.1
Rational ClearCase Fix Pack 14 (7.1.2.14) for 7.1.2
Rational ClearCase Fix Pack 11 (8.0.0.11) for 8.0
Rational ClearCase Fix Pack 4 (8.0.1.4) for 8.0.1
Rational ClearCase Fix Pack 5 (8.0.1.5) for 8.0.1
Rational ClearCase Fix Pack 12 (8.0.0.12) for 8.0
Rational ClearCase Fix Pack 15 (7.1.2.15) for 7.1.2
Rational ClearCase Fix Pack 6 (8.0.1.6) for 8.0.1
Rational ClearCase Fix Pack 13 (8.0.0.13) for 8.0
Rational ClearCase Fix Pack 16 (7.1.2.16) for 7.1.2
Rational ClearCase Fix Pack 17 (7.1.2.17) for 7.1.2
Rational ClearCase Fix Pack 14 (8.0.0.14) for 8.0
Rational ClearCase Fix Pack 7 (8.0.1.7) for 8.0.1
Rational ClearCase Fix Pack 18 (7.1.2.18) for 7.1.2
Rational ClearCase Fix Pack 15 (8.0.0.15) for 8.0
Rational ClearCase Fix Pack 8 (8.0.1.8) for 8.0.1
Rational ClearCase Fix Pack 19 (7.1.2.19) for 7.1.2
Rational ClearCase Fix Pack 16 (8.0.0.16) for 8.0
Rational ClearCase Fix Pack 9 (8.0.1.9) for 8.0.1
Rational ClearCase Fix Pack 17 (8.0.0.17) for 8.0
Rational ClearCase Fix Pack 10 (8.0.1.10) for 8.0.1
Rational ClearCase Fix Pack 18 (8.0.0.18) for 8.0
Rational ClearCase Fix Pack 11 (8.0.1.11) for 8.0.1
Rational ClearCase Fix Pack 19 (8.0.0.19) for 8.0
Rational ClearCase Fix Pack 12 (8.0.1.12) for 8.0.1
Rational ClearCase Fix Pack 20 (8.0.0.20) for 8.0
Rational ClearCase Fix Pack 13 (8.0.1.13) for 8.0.1
Rational ClearCase Fix Pack 21 (8.0.0.21) for 8.0
Rational ClearCase Fix Pack 14 (8.0.1.14) for 8.0.1
Rational ClearCase Fix Pack 15 (8.0.1.15) for 8.0.1
Rational ClearCase Fix Pack 16 (8.0.1.16) for 8.0.1
Rational ClearCase Fix Pack 17 (8.0.1.17) for 8.0.1
Rational ClearCase Fix Pack 18 (8.0.1.18) for 8.0.1
Rational ClearCase Fix Pack 19 (8.0.1.19) for 8.0.1
Rational ClearCase Fix Pack 20 (8.0.1.20) for 8.0.1
Rational ClearCase Fix Pack 21 (8.0.1.21) for 8.0.1
Rational ClearCase Fix Pack 22 (8.0.1.22) for 8.0.1
Rational ClearCase Fix Pack 23 (8.0.1.23) for 8.0.1
Rational ClearCase Fix Pack 24 (8.0.1.24) for 8.0.1
Rational ClearCase Fix Pack 25 (8.0.1.25) for 8.0.1

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Due to a defect in the copy-on-write code in IBM Rational
    ClearCase MVFS, when a 64-bit application attempts to open a
    checked-out versioned derived object on AIX without explicitly
    specifying the O_LARGEFILE option to the open() function, the
    system call will fail to return a file descriptor and the
    following error will be presented to the user. Note 'error 127'
    on AIX is EOVERFLOW (value too large to be stored in data type)
    which occurs when files larger than OFF_MAX (2 gigabytes minus
    one byte) are opened without O_LARGEFILE.
    
    cleartext copy-on-write view=root1 vob=/vobs/vob1
    dbid=0x80000004 - error 127
    cleartext pname=
    /viewstore/root/root1.vws/.s/00009/80000004520558c7cow
    change oid failed view=root1 vob=/vobs/vob1 dbid=0x80000004 -
    error 127
    cleartext pname=
    /viewstore/root/root1.vws/.s/00009/80000004520558c7cow
    
    However when using an application compiled with -maix64,
    O_LARGEFILE should be passed automatically so this error is not
    expected.
    
    Steps to reproduce:
    
    1. Create a 2G file (for example, dd if=/dev/zero of=file1 bs=1M
    count=2048)
    2. Set into a view to a VOB and copy the file into the view
    3. Create a Makefile that copies the 2G file to another file.
    For example:
    
    =====Makefile=====
    all:
            cp file1 file2
    ==================
    
    4. Run clearmake to generate the derived object 'file2'.
    5. Convert the DO into an element with 'cleartool mkelem -ci
    file2'.
    6. Check out the versioned DO with 'cleartool co file2'.
    7. Attempt to open the file with a simple 64-bit C program that
    uses the open() function and has been compiled with the -maix64
    option.
    
    Workaround: Explicitly specify the O_LARGEFILE option to open()
    function.
    

Local fix

Problem summary

  • A user of IBM Rational ClearCase is, in some cases, unable to
    open a checked out 2 gigabyte file without the O_LARGEFILE
    option on AIX.
    

Problem conclusion

  • This has been fixed in IBM Rational ClearCase versions 7.1.2.12,
     8.0.0.08 and 8.0.1.01.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM94950

  • Reported component name

    CLEARCASE WIN

  • Reported component ID

    5724G2900

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-08-12

  • Closed date

    2013-10-07

  • Last modified date

    2014-05-20

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

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

Fix information

  • Fixed component name

    CLEARCASE WIN

  • Fixed component ID

    5724G2900

Applicable component levels

  • R712 PSY

       UP

  • R800 PSY

       UP

  • R801 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 November 2021