Not able to set a view on clearcase getting i/p o/p error

好久不见. 提交于 2020-01-13 19:41:06

问题


Everything was working fine except the storage which was almost full 97% approx and after some time i started getting below errors.

When i tried to vi/ or ls the file i am getting the below errors.

ls: cannot open directory .: Input/output error

I tried to set a new view which is giving me the below error.

cleartool: Warning: Unable to preserve working dir "/vob/*" from old view in new view: Input/output error.

cleartool: Warning: Setting current working directory to "/".


回答1:


You need to check if your new view config spec does not reference anything from the old view.

A simple config spec can be used as a test (to check if all views have the same issue)

element * CHECKEDOUT
element * /main/LATEST

You can check that with a new snapshot view and a new dynamic view.

In any case, don't use setview: use the full path of the dynamic view:

/view/yourDynamicView/vobs/yourVob/...

If you are using setview, you should be able to ignore that warning, as it might be related to the old view only (and you want now to work in the new view).

But it would be best to not use cleartool setview (as I have mentioned before), and use:

cleartool startview yourDynamicView
cd /view/yourDynamicView/vobs/yourVob
# start working
cleartool ls



回答2:


Thanks @VonC for your valuable inputs but the issue was due to space crunch on the vob server no sooner the space issue was resolved the input output error I was getting got resolved.

Thanks



来源:https://stackoverflow.com/questions/24776324/not-able-to-set-a-view-on-clearcase-getting-i-p-o-p-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!