Re: [cciug] Properly deleting a vob

From: Andrey Baranov (Andrey_Baranov-AAB037@email.mot.com)
Date: Wed Jul 18 2001 - 10:35:46 EDT


[cciug] Properly deleting a vobYap!!! It is a great idea!!!! "ps -ef | grep <VOB-tag>" on Windows NT/2000 Workstation is very helpfull...

By the way do you know that the mount in ClearCase imply mount on the OS level. It means to unmounting VOB tag you are using system "/etc/mount". So even killing VOB server and VOB RPC server processes you can't unmount VOB tag...

Regards,

-- 
Andrei Baranov (SQA CM Engineer)
Motorola SPSD - St. Petersburg Office

[X] General Business Use [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary

----- Original Message ----- From: Sakib Bhola To: 'Andrey Baranov' ; 'Jordan, William' ; 'cciug@rational.com' Sent: Wednesday, July 18, 2001 6:21 PM Subject: RE: [cciug] Properly deleting a vob

Instead of rebooting the vob server, if you did a ps -ef | grep <vob tag> and kill the vob server process, would that not kill any active view server processes as well? If this is true, then "Device busy" should be eliminated. Just a thought. Sakib. -----Original Message----- From: owner-cciug@rational.com [mailto:owner-cciug@rational.comOn Behalf Of Andrey Baranov Sent: Wednesday, July 18, 2001 8:28 AM To: Jordan, William; 'Andrey Baranov'; cciug@rational.com Subject: Re: [cciug] Properly deleting a vob

1) Try to reboot VOB server (100% working) and then umount your VOB 2) Try to restart ClearCase (50% working) and then umount VOB

You problem is - some process still using your VOB strorage so you can't umount it... Alternatively you may try to find this process and terminate it(fuser -ku <VOB tag> on Solaris). Or just find user who explore your VOB throught "cmd" or "explorier" and ask him/her to leave VOB. Unfortunately I don't know such command on NT, so the best way is to reboot VOB server and then umount your VOB (if needed). Alternatively you may try to logon from any DOMAIN workstation as VOB owner / member of ClearCase group and remove the VOB via this computer (VOB mounted on each workstation personally so ClearCase on your workstation may kill VOB located on other server w/o problems)

Regards, -- Andrei Baranov (SQA CM Engineer) Motorola SPSD - St. Petersburg Office

[X] General Business Use [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary

----- Original Message ----- From: Jordan, William To: 'Andrey Baranov' ; 'cciug@rational.com' Sent: Wednesday, July 18, 2001 4:09 PM Subject: RE: [cciug] Properly deleting a vob

Andrey, When I went to remove the tag, it told me I couldn't do it because my vob was still mounted. I got the following error when trying to unmount the vob: cleartool> umount \webAdmissionsForms Unmounting MVFS filesystem \webAdmissionsForms. cleartool: Error: Unable to unmount: error detected by ClearCase subsystem Thanks, Bill Jordan Internet Applications Architect II mailto:jordanwr@msx.upmc.edu University of Pittsburgh Medical Center Phone: (412) 647-9521

-----Original Message----- From: Andrey Baranov [mailto:Andrey_Baranov-AAB037@email.mot.com Sent: Wednesday, July 18, 2001 7:50 AM To: Jordan, William; cciug@rational.com Subject: Re: [cciug] Properly deleting a vob

/usr/atria/etc/rgy_check -vobs

all VOBs without tags or without regestration records will be listed.

Use:

cleartool unregister -vob -uuid <VOB-UUID> to remove VOB record from ClearCase registry and cleartool rmtag -vob <VOB-tag> to remove VOB tag itself use combination of this commands and "rm -rf" to kill VOB with corrupted structure.

Windows has the same set of istructions.

PS: Never change VOB storage (*.vbs) structure by OS commands (chmod, vi, rm, chown and etc.) to avoid such problems in future.

Regards, -- Andrei Baranov (SQA CM Engineer) Motorola SPSD - St. Petersburg Office [X] General Business Use [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary

----- Original Message ----- From: Jordan, William To: cciug@rational.com Sent: Wednesday, July 18, 2001 3:41 PM Subject: [cciug] Properly deleting a vob

Hello all,

I am trying to delete a vob and recreate a vob with the same name. I get errors when I do this. How do I clean this up and what is the proper way to delete a vob so this problem does not occur for me in the future?

Thanks for you help,

Bill Jordan Internet Applications Architect II mailto:jordanwr@msx.upmc.edu University of Pittsburgh Medical Center Phone: (412) 647-9521

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 22:03:56 EDT