Forum Discussion

f25's avatar
f25
Level 4
12 years ago

How to determine if CR rebasing completed

Hi,

I am trying to find a way to find out if the post 6.6.3a PureDisk upgrade Content Router rebasing has completed.

It is quite easy to check with the crcontrol if the rebasing option is enabled or disabled at all but I would like to know if the rebasing is still "in progress" or is this "completed". I am aware that this rebasing runs in backgroud and not 24/7 but how to check if all CR entries have been rebased??

Thanks!

  • Hi,

    See below command, it will show if rebasing is busy or not.

    crcontrol --rebasestate
    Image rebasing: ON
    Rebasing busy: Yes

  • But - as far as I was informed - rebasing does not run all day long, so for most of the time it will be:

    Rebasing busy: No

  • Take a look in your contentrouter file, and search for Rebase, your Rebasequota is listed there, i think default is 500GB.

  • Hi,

    Ok but that is like performance setting. Not a trace if the whole Content Router Storage has completed rebaising.

    MyPDHost:~ # grep Rebase /etc/puredisk/contentrouter.cfg
    RebaseScatterThreshold=64MB
    RebaseQuota=500GB
     

    Ok! Got it:

    MyPDHost:~ # bzcat /Storage/log/spoold/spoold.log.* | grep Rebas
    October 25 10:53:42 INFO [1077967168]: _storeClassConvertMain: Rebasing thread is shutting down
    October 25 12:02:34 INFO [1077967168]: _storeClassConvertMain: Rebasing thread is shutting down
    October 25 12:17:06 INFO [1077967168]: _storeClassConvertMain: Rebasing thread is shutting down
    MyPDHost:~ # cat /Storage/log/spoold/spoold.log  | grep Rebas

    So, no rebasing actions since 25th October. Do I understand correctly that it has completed?

    Have I solved the issue?