I've encountered several problems in trying to reconstruct an archive node. I've tried several machines and continue to encounter errors. I've tried both reconstructing an archive node by importing a full snapshot (2nd machine) and tried reconstructing an archive node from an existing full node (1st machine). The 1st machine is 1tb ssd drive with 8gb ram, modern Intel cpu and 2nd machine is a 1tb nvme drive, 32 gb ram, modern AMD cpu. The reconstruct process works great for both machines initially. The error occurs when the ".tezos-node" directory reaches > 100 Gb.
First Machine
The command "nohup tezos-node reconstruct &" gave the following error:
cat nohup.out Mar 7 17:03:47.021 - snapshot: Importing data from snapshot file ./BMbyDQVNNmWRncRL87xwFCgY5iDBVSuhrz5MiYWFjFVgXfUt7Br.full Mar 7 17:03:47.021 - snapshot: Retrieving and validating data. This can take a while, please bear with us Mar 7 17:42:07.171 - snapshot: Setting current head to block BMbyDQVNNmWRncRL87xwFCgY5iDBVSuhrz5MiYWFjFVgXfUt7Br Mar 7 17:42:08.384 - snapshot: Setting history-mode to full Mar 7 17:42:08.888 - snapshot: Successful import from file ./BMbyDQVNNmWRncRL87xwFCgY5iDBVSuhrz5MiYWFjFVgXfUt7Br.full Mar 24 22:33:43.725 - snapshot: Starting reconstruct from genesis Mar 24 22:33:43.726 - snapshot: Starting reconstruct toward the predecessor of the current head (BLbiPyETrSNa69bWHvxvmzChzvNyZNycbztEZxvn8xXsCrB1q3T) Mar 24 22:33:43.729 - snapshot: Enumerating all blocks to reconstruct Mar 24 22:46:07.703 - snapshot: Setting history-mode to archive (/home/xxxx/.opam/for_tezos/bin/tezos-node) Exit: exit because of uncaught exception: (Failure "MDB_MAP_FULL: Environment mapsize limit reached")
Second Machine
The command "nohup tezos-node snapshot import snapshot.full --reconstruct &" gave the following error:
cat nohup.out Mar 19 17:35:57.964 - snapshot: Importing data from snapshot file snapshot.full Mar 19 17:35:57.964 - snapshot: You may consider using the --block <block_hash> argument to verify that the b(/usr/bin/tezos-node) Exit: exit because of uncaught exception: (Failure "MDB_BAD_TXN: Transaction must abort, has a child, or is invalid")lock imported is the one you expected Mar 19 17:35:57.964 - snapshot: Retrieving and validating data. This can take a while, please bear with us Mar 19 17:48:20.486 - snapshot: Setting current head to block BLEz5LuE69e5LYL32L6MwvQeYrdqJbXM8itMsKJuQbNV6q5SJ4g Mar 19 17:48:21.333 - snapshot: Setting history-mode to archive (/usr/bin/tezos-node) Exit: exit because of uncaught exception: (Failure "MDB_BAD_TXN: Transaction must abort, has a child, or is invalid") Mar 24 20:04:57.867 - snapshot: Importing data from snapshot file snapshot.full Mar 24 20:04:57.867 - snapshot: You may consider using the --block <block_hash> argument to verify that the block imported is the one you expected Mar 24 20:04:57.867 - snapshot: Retrieving and validating data. This can take a while, please bear with us Mar 24 20:19:27.140 - snapshot: Setting current head to block BLEz5LuE69e5LYL32L6MwvQeYrdqJbXM8itMsKJuQbNV6q5SJ4g Mar 24 20:19:28.060 - snapshot: Setting history-mode to archive (/usr/bin/tezos-node) Exit: exit because of uncaught exception: (Failure "MDB_BAD_TXN: Transaction must abort, has a child, or is invalid")