Summary
This article explains how to use on-demand compaction to reduce the space Moka5 LivePCs occupy on host machines.
Applies To
Moka5 4.1.3
Running on-demand compaction
In Moka5 4.1.3, you can compact LivePCs on demand using the command line. This command-line method will be replaced in an upcoming release by an option exposed in Player.
Compaction usually takes between 15 and 30 minutes to complete.
On-demand compaction always optimizes for file size, regardless of how much disk space is available on the host.
Note: You can only run this type of compaction on shut-down LivePCs.
- If the LivePC is running, shut it down.
- Open the command line.
- Navigate to the do_rpc file in the Moka5 installation directory’s “bin” directory.
- Enter the following command to list your LivePC IDs:
localhost 29524 op list_apps - Enter the following command to compact the LivePC you specify:
localhost 29524 op compact_app id [Your LivePC ID]
- While compaction runs, the shut-down LivePC will be unavailable. You can monitor compaction status on Player. When the LivePC state changes back to “Ready,” compaction has completed.
Note: On-demand compaction will fail to compact files within the LivePC that are 6 GB or larger. Compaction will run on all other files.