原贴如下:
http://bbs.scmlife.com/viewthread.php?tid=12602&page=1#pid101508
找了台实验机模拟故障并测试了一下,发现thyswallow网友给出的解决方案可行。
以下是实验步骤:
Z:/28848654_test1/dsf_test>cleartool co -nc makefile
Checked out "makefile" from version "/main/1".
Z:/28848654_test1/dsf_test>cleartool lsvtree makefile
makefile@@/main
makefile@@/main/1
makefile@@/main/CHECKEDOUT view "28848654_test1"
Z:/28848654_test1/dsf_test>cleartool ls -l makefile
version makefile@@/main/CHECKEDOUT from /main/1 Rule: element * CHECKEDOUT
Z:/28848654_test1/dsf_test>cleartool desc -l vob:/dsf_test
versioned object base "/dsf_test"
........................................................................................................................
VOB holds objects from the following views:
cnbjclc103:C:/viewstore/28848654_test1.vws [uuid 837f5d81.f9e94ca0.8bdb.de:3c:e3:27:d6:24]
Attributes: FeatureLevel = 5
Hyperlinks:
AdminVOB@179@/dsf_test -> vob:/test_replica
RelocationVOB@264@/dsf_test -> vob:/test_replica
RelocationVOB@2@/test_replica <- vob:/test_replica
Z:/28848654_test1/dsf_test>cleartool lsco
--07-02T10:56 scnbjvobadm checkout version "makefile" from /main/1 (reserved)
Z:/28848654_test1/dsf_test>cleartool rmview -force -uuid 837f5d81.f9e94ca0.8bdb.de:3c:e3:27:d6:24
Removed references to view "cnbjclc103:C:/viewstore/28848654_test1.vws" from VOB "/dsf_test".
Z:/28848654_test1/dsf_test>cleartool ls -l makefile
view private object makefile file element makefile@@ [eclipsed]
Z:/28848654_test1/dsf_test>move //cnbjclc103/viewstore/28848654_test1.vws/.s/00027/80000003486aea6emakefile //cnbjclc103/viewstore/28848654_test1.vws/.s/00027/80000003486aea6emakefile.bak
1 file(s) moved.
Z:/28848654_test1/dsf_test>rename makefile makefile.bak
Incorrect function.
Z:/28848654_test1/dsf_test>del makefile
Z:/28848654_test1/dsf_test/makefile
Incorrect function.
Z:/28848654_test1/dsf_test>mvfsstorage makefile
mvfsstorage: Error: makefile - can't fetch cleartext
Z:/28848654_test1/dsf_test>cleartool getlog mvfs
=============================================================================
Log Name: mvfs Hostname: cnbjclc201 Date: 2008-07-02T13:35:27+08
Selection: Last 2 lines of log displayed
----------------------------------------------------------------------------------------------------------------
2008-07-02T13:35:20+08 mvfs(0): Error: {136 pid/tid 1d0800003044/855c9810d8bad578} cleartext pname= /Device/Mup/cnbjclc103/viewsto re/28848654_test1.vws/.s/00027/80000003486aea6emakefile
2008-07-02T13:35:20+08 mvfs(0): Error: {135 pid/tid 1d0800003044/855c9810d8bad578} cleartext lookup view=28848654_test1 vob=/dsf_t est dbid=0x80000003 - No such file or directory
=============================================================================
Z:/28848654_test1/dsf_test>echo makefile > //cnbjclc103/viewstore/28848654_test1.vws/.s/00027/80000003486aea6emakefile
Z:/28848654_test1/dsf_test>move makefile makefile.bak
1 file(s) moved.
Z:/28848654_test1/dsf_test>cleartool ls -l makefile
version makefile@@/main/1 Rule: element * /main/LATEST
Z:/28848654_test1/dsf_test>cleartool lsvtree makefile
makefile@@/main
makefile@@/main/1
Z:/28848654_test1/dsf_test>mvfsstorage makefile@@/main/1
//cnbjclc201/vobs_2/dsf_test.vbs/c/cdft/10/21/b5b6f81213b94b4386138ff3e02ad19f
Z:/28848654_test1/dsf_test>mvfsstorage makefile
//cnbjclc201/vobs_2/dsf_test.vbs/c/cdft/10/21/b5b6f81213b94b4386138ff3e02ad19f
Z:/28848654_test1/dsf_test>del makefile.bak