Repack-in-Place
Example arweave configuration for repacking-in-place
1. Overview
You've been solo mining against 4 partitions of packed data
You want to repack it so you can join a mining pool
You want to repack in place so you don't need any extra storage capacity
Your packed data is stored on 4TB disks and is packed using the mining address
En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRIYou want to repack your data to the mining address
Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pYYou'll use one of the DHA-provided public VDF servers
You'll use the publicly available NSFW filter provided by Shepherd
NOTE Unlike with the other two repacking processes ("Sync and Pack" and "Cross-Module Repack"), you will not need to split up the "Repacking in Place" process into two steps. Entropy generation and repacking will happen in a single step.
Run your miner with:
a
repack_modulesentry for each storage module, describing the source and target packing
After the repack in place completes you'll need to rename all your storage module directories
See Running Your Node for more information
Sample Directory Structure
Mount points for 4TB disks that store your packed data:
/mnt/a/mnt/b/mnt/c/mnt/d
data_dir:/opt/dataStorage module symlinks:
/opt/data/storage_modules/storage_module_0_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9->/mnt/a/opt/data/storage_modules/storage_module_1_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9->/mnt/b/opt/data/storage_modules/storage_module_2_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9->/mnt/c/opt/data/storage_modules/storage_module_3_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9->/mnt/d
Wallets: no wallet.json needed since you are only packing
3. Sample Launch Command
Launch your node with the configuration file shown in the next section:
4. Sample Configuration
The same configuration in YAML, JSON, and command-line form:
/opt/arweave/config.yaml:
/opt/arweave/config.json:
With the CLI form there is no config file - every option is passed as a flag, with list options as a single-quoted JSON value (see Command-line Flags for the value syntax). The pre-2.9.7 space-separated launch style also still works (Legacy Configuration). For example:
Last updated
Was this helpful?