问题
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