spaghettiwestern
spaghettiwestern

Reputation: 393

Clearcase Restore lost+found Folder Element

Running Clearcase 7.1.1.09 on a windows server. Lost+found directory element was removed using CCRC from a VOB. I can still see the lost+found directory in main/0. How can I restore the lost+found directory element of a VOB? According to this article http://www-01.ibm.com/support/docview.wss?uid=swg21135672 the lost+found directory element cannot be removed whatever that means.

Thanks for any help.

Upvotes: 3

Views: 2591

Answers (1)

VonC
VonC

Reputation: 1325137

It means the /Vobs/MyVob/main/0 will always contain lost+found.

You may have ln, renamed or moved lost+found in more recent version of that Vob (like, for instance /Vobs/MyVob/main/4), you can always:

cleartool co -nc /Vobs/MyVob
cleartool ln /Vobs/MyVob/main/0/lost+found /Vobs/MyVob/lost+found
cleartool ci -c "restore lost+found" /vobs/MyVob

In Windows:

cleartool startview aDynamicView
cleartool mount \MyVob
cd m:\aDynamicView\MyVob
cleartool co -nc .
cleartool ln .@@/main/0/lost+found ./lost+found
cleartool ci -c "restore lost+found" .

That would create, in this example, a 5th version of the Vob root directory, with in it referenced once again the lost+found directory, effectively restoring it.

(as shown in this thread, see also cleartool man ls)

Since ln isn't available a sa CCRC command, you need to contact a ClearCase admin who will have access to the CCRC server (and the full ClearCase vob server) in order to restore that lost+found directory.

Upvotes: 2

Related Questions