|
What is the
impact of deleting the .toc
and .dat
files from the repeater rpt_dir?
The file system was full so I deleted a few of these files - after this
"mistake" I had to rebuild the Repeater/Gateway. I understood these files to be
a reference to the packages that have been distributed?
Contributed By:
Marc Remes
The official ways to remove
files from MDIST2 depots are:
wdepot delete
to delete a specific file
wdepot purge
to purge all depot files
or
wunldsp
to unload a Software Package.
Take care: when you use the wdepot command, the SW_LOADED_COMPONENTS
table is not updated, meaning that software distribution still thinks the SP(B)
is still on the depot. When you wldsp
again, you'll need to force the load with -f
because the Change Management feature thinks the operation is not needed because
of the state in the INV db.
Also you can just remove the rpt_dir.
When you restart the Gateway/Repeater it will build valid (empty) './states'
directory. Theres no need to scratch the Repeater entirely.
|