ClearCase故障處理一例:解決eclipsed狀態的私人檔案不能被刪除

來源:互聯網
上載者:User

原貼如下:

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.