Skip to main content

Accessing a ClearCase VOB's root folder yields "No such file or directory"


Technote (troubleshooting)


Problem(Abstract)

Listing an IBM Rational ClearCase VOB mount-point from a Dynamic View shows question mark characters ("?").

Symptom

You can mount the VOB, but you cannot access it from a Dynamic View.


% cleartool pwv
Working directory view: ** NONE **
Set view: tview

% ls -ld /vobs/vob_tag
drwxrwxrwx 2 user1 group1 4096 Oct 30 11:55 /vobs/vob_tag

% cleartool mount /vobs/vob_tag

% ls -ld /vobs/vob_tag
ls: /vobs/vob_tag: No such file or directory

% cd /vobs/vob_tag
-bash: cd: /vobs/vob_tag: No such file or directory

% ls -l /vobs
total 8
?--------- ? ?               ?        ?            ? vob_tag
drwxr-xr-x 2 user0 group0 4096 Mar 20  2012 test
drwxrwxrwx 2 user1       group1 4096 Dec 24  2011 tvob



Loading the VOB in Snapshot View also fails.


Set config spec and load snapshot view "snapview"?  [yes]
cleartool: Error: Unable to determine version for VOB root directory element.
cleartool: Error: Unable to access "/vobs/vob_tag": No such file or directory.
cleartool: Error: 1 config spec load rule problems encountered.
Log has been written to "/home/user2/snapview.vws/update.2012-10-31T15:32:54-04:00.updt".

Cause

The "main" branch was renamed.

Diagnosing the problem

The VOB is not corrupt, because dbcheck and reformatvob do not yield any error.

Resolving the problem

Add the new branch name to the view's config spec or rename the branch back to "main".


EXAMPLE

% cleartool catcs
element * CHECKEDOUT
element * /main/LATEST
element * /main_NEW/LATEST

% cleartool ls -d /vobs/vob_tag
/vobs/vob_tag/.@@/main_NEW/2    Rule: /main_NEW/LATEST.


Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Rational ClearCase

VOB


Software version:
7.1, 8.0


Operating system(s):
AIX, Linux, Solaris


Reference #:
1616739


Modified date:
2012-11-16

Translate my page

Content navigation