IBM Support

cleartool reformatvob -load on AIX fails with db_VISTA database error -900

Troubleshooting


Problem

This technote explains why the error, [] db_VISTA database error -900 - no more space on file[], occurs when trying to reformat an IBM® Rational® ClearCase® VOB on AIX® without []Large File Enabled[].

Cause

Attempts to run cleartool reformatvob -load on AIX fails with the following error:


    “18810000 pass 2 actions performed...
    18815000 pass 2 actions performed...
    18820000 pass 2 actions performed...
    18825000 pass 2 actions performed...

    ***
    db_VISTA database error -900 - no more space on file
    db_loader: Error: DBMS error in "../db__ns.c" line 227
    db_loader: Error: DBMS error in /vobstore/vobs_dump/test.vbs/db.reformat.
    db_loader: Error: db_VISTA error -900
    db_loader: Error: Unexpected error from database library (1) in "../db__load.c" line 2084
    db_loader: Error: Error while processing dump record #18826109 in "pass2_dump_file"
    db_loader: Error: Error from libdb (1)
    cleartool: Error: Could not load database.
    cleartool: Error: Trouble loading versioned object base "/vobstore/vobs_dump/test.vbs".
    /vobstore/vobs_dump>df -k .
    Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
    /dev/tempsklv    20971520   8086636   62%    64443     2% /vobstore
    /vobstore/vobs_dump>”

The AIX filesystem is not configured to allow files larger than 2 Gigabytes (GB).

Review technote 1134066 for more details on Extended VOB Support.

Resolving The Problem



The filesystem must be upgraded to support large files, or files larger than 2 GB.

The command, lsfs –q <filesystem>, will show the parameters set on the filesystem.


Examples of two filesystems with and without large file support:

  1. /vobstore2 – set for large files:

    # lsfs -q /vobstore2
    Name Nodename Mount Pt VFS Size Options Auto Accounting
    /dev/tempsk2lv -- /vobstore2 jfs 123731968 rw yes no
    (lv size: 123731968, fs size: 123731968, frag size: 4096, nbpi: 131072, compress: no, bf: true, ag: 64)

  2. /vobstore – NOT set for large-files

    # lsfs -q /vobstore
    Name Nodename Mount Pt VFS Size Options Auto Accounting
    /dev/tempsklv -- /vobstore jfs 123731968 rw no no
    (lv size: 123731968, fs size: 123731968, frag size: 4096, nbpi: 4096, compress: no, bf: false, ag: 8)



Here is the command used to create, then build the filesystem on AIX:

The command string to create a filesystem on a previously existing Logical Volume (tempsk2lv in this example).

Note: The bf=true early in the command string.

/usr/sbin/crfs -v jfs -a bf=true -d'tempcc2lv' -m'/vobstore2' -A''`locale yesstr | awk -F: '{print $1}'`'' -p'rw' -t''`locale nostr | awk -F: '{print $1}'`'' -a nbpi='131072' -a ag='64'


Here is the output of the SMIT screen to change/show characteristics of a filesystem:
    ************************************************************
     
    Change / Show Characteristics of a Journaled File System
     
    Type or select values in entry fields.
    Press Enter AFTER making all desired changes.
     
                                                            [Entry Fields]
      File system name                                    /vobstore2
      NEW mount point                                    [/vobstore2]
      SIZE of file system          
           Unit Size                                     512bytes    
    *      Number of units                               [123731968]
      Mount GROUP                                        []
      Mount AUTOMATICALLY at system restart?              yes  
      PERMISSIONS                                         read/write
      Mount OPTIONS                                      []        
      Start Disk Accounting?                              no
      Fragment Size (bytes)                               4096
      Number of bytes per inode                           131072
      Compression algorithm                               no
      Large File Enabled                                                          true
      Allocation Group Size (MBytes)                      64


[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Operating System Configurations","Platform":[{"code":"PF002","label":"AIX"}],"Version":"2002.05.00;2003.06.15","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Database","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21234024