IBM Support

UCM deliver is blocked by files from the lost+found directory

Troubleshooting


Problem

This technote explains how to resolve the error []cleartool: Error: Checkout disallowed for element[] which prevents an IBM® Rational® ClearCase® UCM deliver from proceeding when files are in the lost+found directory.

Symptom

While attempting to deliver changes in UCM, the following error occurs, and the deliver aborts:

cleartool: Error: Checkout disallowed for element "/view/pat_A_int/vobs/colors/lost+found/test1.txt
.8ddcf8ceeac811d78e070001809edca6": it belongs to a component that is read-only in this project.

Cause

The version of the parent directory that contains some newly added files was removed either by undoing the checkout (cleartool unco) or removing the version (cleartool rmver). This causes the files to be moved to the VOB's lost+found directory. Refer to technote 1120317 for more details on the lost+found directory and how files get moved there.

This issue is specific to subdirectory-level components (also known as subVOB components) or components stored in a Base ClearCase VOB, which is known as a Multiple component VOB. Refer to technote 1147165 for more details on this type of UCM component.

When using a subVOB component, undoing the checkout or removing the version of the directory, causes the newly added elements to move out of the component and into the lost+found directory. As a result, the checkout that is part of the deliver operation cannot proceed.

Resolving The Problem

The problem elements that are preventing the deliver need to be moved from the lost+found directory back into the original parent directory. The deliver will then be able to proceed.

For example:

    user@host$cd /vobs/colors/lost+found
    user@host$cleartool mv test1.txt.8ddcf8ceeac811d78e070001809edca6 ../compA/test1.txt
    Moved "test.txt.8ddcf8ceeac811d78e070001809edca6" to "../compA/test1.txt"

Refer to technote 1120317 for more directions for moving files from the lost+found directory.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"UCM: Deliver","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF015","label":"IRIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.1;7.1;7.1.1;7.1.2;8.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"UCM: Deliver","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21152797