Need help on moving VOBs on the same server with ClearCase

Mark Owens's picture
Mark Owens asked on June 7, 2011 - 5:56pm | Replies (5).

We're going to have to move our VOBs from one location on our server to another larger filesystem on the same computer. (in Linux, though there is a Windows box used for ease of administration)

Will we need to re-register or otherwise mess with our views to point to the right place, or will it be able to 'follow' the move, since it's only on the same computer?

My understanding of the operation is this:

1. Everyone checks everything in
2. Lock VOBs
3. Back Up VOBs
4. Unregister VOBs
5. Copy VOBs to new area, preserving permissions
6. Reregister VOBs
7. Unlock VOBs
8. Test

I shouldn't need to rmtag, or run fixprot or do a SIDwalk, right?

It's the same registry region, the same domain, the same server, just a different under-the-hood filesystem location on the server.

5 Answers

Mark Owens's picture

Hmm. looks like tags hold the storage location. Maybe I got register and tag backwards?

nagarajk's picture
nagarajk replied on June 10, 2011 - 6:16am.

yes, you need to unmount & remove the vob tag. And you need to kill the vob_server process or better stop & start the clearcase finally.

martina's picture
martina replied on June 12, 2011 - 9:44am.

you need to also mktag -replace.
The views will pick up on the new location, no need to mess with them.

Mark Owens's picture

Thanks all! This worked well, save for some avoidable permissions issues.

Now all I need to do is get the moved VOBs recognized in the Windows region.

martina's picture
martina replied on June 15, 2011 - 10:41am.

mktag -replace works there as well, but you will have to give it a lot of parameters.
rmtag and running the region synchronizer may be easier.

CMCrossroads is a TechWell community.

Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.