Topic
  • 6 replies
  • Latest Post - ‏2013-12-04T18:35:43Z by JirongHu
JirongHu
JirongHu
681 Posts

Pinned topic How to check a VOB's physical size?

‏2006-11-24T21:06:31Z |
Can't recall the command. I want to compare the size after a "reformatvob". Thanks.

Jirong
Updated on 2006-12-11T07:33:29Z at 2006-12-11T07:33:29Z by blackmamba
  • SystemAdmin
    SystemAdmin
    47293 Posts

    Re:How to check a VOB's physical size?

    ‏2006-11-25T01:35:28Z  
    cleartool space command can be used

    eg., cleartool space -vob -update <vob-tag>

    The –update option generates fresh data and updates the cache before displaying the report

    Thanks & Regards
    Kesini

    JirongHu <disadmin@us.ibm.com> wrote:
    Can't recall the command. I want to compare the size after a "reformatvob". Thanks.

    Jirong
    _______________________________________________
    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com

    Want to start your own business? Learn how on Yahoo! Small Business.
    http://att1.html
    _______________________________________________
    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com
  • blackmamba
    blackmamba
    18 Posts

    Re:How to check a VOB's physical size?

    ‏2006-12-11T07:33:29Z  
    cleartool space command can be used

    eg., cleartool space -vob -update <vob-tag>

    The –update option generates fresh data and updates the cache before displaying the report

    Thanks & Regards
    Kesini

    JirongHu <disadmin@us.ibm.com> wrote:
    Can't recall the command. I want to compare the size after a "reformatvob". Thanks.

    Jirong
    _______________________________________________
    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com

    Want to start your own business? Learn how on Yahoo! Small Business.
    http://att1.html
    _______________________________________________
    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com
    Hi,
    cleartool space -vob -generate <vobtag>
    Run this command first to generate the physical size occupied by all pools.
    after running this commond you have to run below commond to get the physical size occupied by all pools

    cleartool space -vob <vobtag>

    you will going to get the results like below mentioned.try it out.
    [ Use(Mb) %Use Directory
    0.0 0% administration data C:\<share>\<vob.vbs>\admin
    0.2 0% VOB database C:\<shar>\<vob.vbs>\db
    0.0 0% cleartext pool C:\<share>\<vob.vbs>\c\cdft
    0.0 0% derived object pool C:\<share>\<vob.vbs>\d\ddft
    0.0 0% source pool C:\<share>\<vob.vbs>\s\sdft

    ----
    0.2 0% Subtotal
    5225.1 52% Filesystem clearcase:c:\ (capacity 10001.4 Mb)

    Total usage 11-Dec-06.12:51:16 for vob "\lst_vob" is 0.2 Mb].

    regards,
    mutturaj.
  • JirongHu
    JirongHu
    681 Posts

    Re:How to check a VOB's physical size?

    ‏2013-11-12T16:17:11Z  
    Hi,
    cleartool space -vob -generate <vobtag>
    Run this command first to generate the physical size occupied by all pools.
    after running this commond you have to run below commond to get the physical size occupied by all pools

    cleartool space -vob <vobtag>

    you will going to get the results like below mentioned.try it out.
    [ Use(Mb) %Use Directory
    0.0 0% administration data C:\<share>\<vob.vbs>\admin
    0.2 0% VOB database C:\<shar>\<vob.vbs>\db
    0.0 0% cleartext pool C:\<share>\<vob.vbs>\c\cdft
    0.0 0% derived object pool C:\<share>\<vob.vbs>\d\ddft
    0.0 0% source pool C:\<share>\<vob.vbs>\s\sdft

    ----
    0.2 0% Subtotal
    5225.1 52% Filesystem clearcase:c:\ (capacity 10001.4 Mb)

    Total usage 11-Dec-06.12:51:16 for vob "\lst_vob" is 0.2 Mb].

    regards,
    mutturaj.

    This time I don't have the root password, and the "ccadmin" user id doesn't allow me to run the -update. So I want to know, how much difference can be with and without -update.

    I have a disk is 400G, but "cleartool space -vob" (with -update) shows only 100G for all VOBs.

    /var/adm/rational/clearcase/log $ df -h /scmdata2

    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VG_SCMDATA2-LV_SCMDATA2
                          493G  468G     0 100% /scmdata2

    /var/adm/rational/clearcase/log $ cleartool space -update -vob /vobs/RLM

    Updating space information for "/vobs/RLM" on host "scm-bcclpdapp01".
    cleartool: Error:
    No access (ACL restrict you) to create job on host ("scm-bcclpdapp01").
    cleartool: Error: Failed to update space data.
    /var/adm/rational/clearcase/log $

  • JirongHu
    JirongHu
    681 Posts

    Re:How to check a VOB's physical size?

    ‏2013-11-12T19:57:44Z  
    cleartool space command can be used

    eg., cleartool space -vob -update <vob-tag>

    The –update option generates fresh data and updates the cache before displaying the report

    Thanks & Regards
    Kesini

    JirongHu <disadmin@us.ibm.com> wrote:
    Can't recall the command. I want to compare the size after a "reformatvob". Thanks.

    Jirong
    _______________________________________________
    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com

    Want to start your own business? Learn how on Yahoo! Small Business.
    http://att1.html
    _______________________________________________
    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com

    I used -update and found this. Does this look right to you? What shall my next step?

    Updating space information for "/vobs/CIPG_CVCM" on host "scm-bcclpdapp01".

    Job is running on host ("scm-bcclpdapp01.tsa.bmo.com"), waiting for it to finish.
    ............... Use(Mb)  %Use  Directory
        77.1    0%  VOB database /scmdata2/vobs/CIPG_CVCM.vbs/db
         0.0    0%  administration data /scmdata2/vobs/CIPG_CVCM.vbs/admin
     91382.2   17%  cleartext pool /scmdata2/vobs/CIPG_CVCM.vbs/c/cdft
         0.0    0%  derived object pool /scmdata2/vobs/CIPG_CVCM.vbs/d/ddft
    108581.5   20%  source pool /scmdata2/vobs/CIPG_CVCM.vbs/s/sdft
    --------  ----  ---------------------------------------------------------
    200040.8   37%  Subtotal 
    505760.3   94%  Filesystem scm-bcclpdapp01:/scmdata2 (capacity 539244.1 Mb)
     
    Total usage 2013-11-12T11:50:35-05:00 for vob "/vobs/CIPG_CVCM" is 200040.8 Mb

     

    /vobs/CIPG_CVCM/wm80 $ du -sk * | sort -n
    0       dev_edi
    0       EDI
    0       ENH
    92421   TEAM_SHARED
    656390  dev_infra
    3259123 CIPGREP
    3707117 DIT
    6469820 SIT
    9509932 CORE
    15605546        dev_core
    /vobs/CIPG_CVCM/wm80 $
     
  • brcowan
    brcowan
    733 Posts

    Re:How to check a VOB's physical size?

    ‏2013-11-15T21:30:01Z  
    • JirongHu
    • ‏2013-11-12T19:57:44Z

    I used -update and found this. Does this look right to you? What shall my next step?

    Updating space information for "/vobs/CIPG_CVCM" on host "scm-bcclpdapp01".

    Job is running on host ("scm-bcclpdapp01.tsa.bmo.com"), waiting for it to finish.
    ............... Use(Mb)  %Use  Directory
        77.1    0%  VOB database /scmdata2/vobs/CIPG_CVCM.vbs/db
         0.0    0%  administration data /scmdata2/vobs/CIPG_CVCM.vbs/admin
     91382.2   17%  cleartext pool /scmdata2/vobs/CIPG_CVCM.vbs/c/cdft
         0.0    0%  derived object pool /scmdata2/vobs/CIPG_CVCM.vbs/d/ddft
    108581.5   20%  source pool /scmdata2/vobs/CIPG_CVCM.vbs/s/sdft
    --------  ----  ---------------------------------------------------------
    200040.8   37%  Subtotal 
    505760.3   94%  Filesystem scm-bcclpdapp01:/scmdata2 (capacity 539244.1 Mb)
     
    Total usage 2013-11-12T11:50:35-05:00 for vob "/vobs/CIPG_CVCM" is 200040.8 Mb

     

    /vobs/CIPG_CVCM/wm80 $ du -sk * | sort -n
    0       dev_edi
    0       EDI
    0       ENH
    92421   TEAM_SHARED
    656390  dev_infra
    3259123 CIPGREP
    3707117 DIT
    6469820 SIT
    9509932 CORE
    15605546        dev_core
    /vobs/CIPG_CVCM/wm80 $
     

    ~100 GB of source pool, and ~95GB of cleartext? When was the last time you scrubbed the VOB successfully?

    Anyway, the du output while set in a view will not really give you an accurate picture of the size of the VOB since you won't see all the space used by all versions.

    When you total up the sizes in du -sk, you get 38,379 MB or, if you like, about 38 GB. So, this would seem to indicate that you see about 1/3 - 1/6 of the versions in the VOB VOB (depending on the element types in play here) in this view. That sounds about right...

  • JirongHu
    JirongHu
    681 Posts

    Re:How to check a VOB's physical size?

    ‏2013-12-04T18:35:43Z  
    • brcowan
    • ‏2013-11-15T21:30:01Z

    ~100 GB of source pool, and ~95GB of cleartext? When was the last time you scrubbed the VOB successfully?

    Anyway, the du output while set in a view will not really give you an accurate picture of the size of the VOB since you won't see all the space used by all versions.

    When you total up the sizes in du -sk, you get 38,379 MB or, if you like, about 38 GB. So, this would seem to indicate that you see about 1/3 - 1/6 of the versions in the VOB VOB (depending on the element types in play here) in this view. That sounds about right...

    Update: scrubber wasn't running at all. Thanks for the help.