Moka5
Moka5


Managing Disk Space on Hosts with Moka5 LivePCs   « Go Back

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.
  1. If the LivePC is running, shut it down.
  2. Open the command line.
  3. Navigate to the do_rpc file in the Moka5 installation directory’s “bin” directory.
  4. Enter the following command to list your LivePC IDs:
    localhost 29524 op list_apps
  5. Enter the following command to compact the LivePC you specify:
    localhost 29524 op compact_app id [Your LivePC ID]
  6. 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.