ClearCase No such device or address

1)第一个问题,如何在clearcase里面查找一个文件,即使只知道文件名称。

使用如下命令:

find . -type f -name blm.c -print

2)读取cc文件的时候遇到No such device or address错误,参考IBM的文档查看

http://www-01.ibm.com/support/docview.wss?uid=swg21259738


Problem(Abstract)

Attempts to open a text file element in IBM Rational ClearCase result in "No such device or address".
Symptom

After restoring or moving a Rational ClearCase VOB storage, you get errors when you try to open a text file element.

Example


> tail installApp.py

installApp.py: No such device or address


The vob_log shows the following kind of errors.



2012-06-05T09:32:09+02:00 vob_server(974966): Error: unable to create directory c/cdft/0: Not a directory
2012-06-05T09:32:09+02:00 vob_server(974966): Error: Unable to create container <vob-storage>/c/cdft/0: Not a directory
2012-06-05T09:32:09+02:00 vob_server(974966): Error: unable to create directory c/cdft/20: Not a directory
2012-06-05T09:32:09+02:00 vob_server(974966): Error: Unable to create container <vob-storage>/c/cdft/20: Not a directory
2012-06-05T09:32:09+02:00 vob_server(974966): Error: unable to create directory c/cdft/25: Not a directory

Note: The cleartext pool does exist, and running checkvob returns all the expected output without any errors.
Cause

The Rational ClearCase processes were running during the move operation, because Rational ClearCase was not stopped before the move.

Before moving or restoring a VOB, it is important to stop Rational ClearCase on the host. For more information, refer to Moving VOBs section in IBM Rational ClearCase Administrator's Guide.

Resolving the problem

   1. Unmount the VOB.

      cleartool umount <vob-tag>



   2. Lock the VOB, if possible.

      cleartool lock vob:<vob-tag>



   3. Stop and start Rational ClearCase or stop the vob_server process related to this VOB. See

      1148639: About albd_list


   4. Mount the VOB.

      cleartool mount vob:<vob-tag>



   5. Unlock the VOB, if necessary.

      cleartool unlock vob:<vob-tag>


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

惹不起的程咬金

来都来了,不赏点银子么

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值