Alternative read only paths for -blocksdir #27833

issue Brotcrunsher openend this issue on June 7, 2023
  1. Brotcrunsher commented at 11:43 am on June 7, 2023: contributor

    Please describe the feature you’d like to see added.

    The Blockchain is growing in size over the years. It would be nice to be able to store it accross multiple hard drives and specify additional blocksdirs that are meant for validation in full nodes. When the client writes a file, it is still written to the -blocksdir, always. When reading a file, it is first looked up in the -blocksdir. When it’s not present there, it is looked up in the additional blocksdirs, in order as they are specified by the command line arguments.

    No response

    Describe the solution you’d like

    No response

    Describe any alternatives you’ve considered

    Combining multiple hard drives is possible using a RAID, but these are prone to failure and would force the user to format their drives, which is possibly something that the user doesn’t want to do.

    Please leave any additional context

    I think I would be able to implement this myself. However, I want to know if this feature is wanted or if I might have overlooked some existing possibility to achieve this and generally want to collect some feedback on this.

  2. Brotcrunsher added the label Feature on Jun 7, 2023
  3. maflcko removed the label Feature on Jun 7, 2023
  4. maflcko added the label Questions and Help on Jun 7, 2023
  5. maflcko commented at 12:17 pm on June 7, 2023: member
    Not sure if it is worth it to add code for a rarely (or singly) used edge case. As you mention there is RAID. Also, it is possible to purchase a new storage media large enough. Finally, you can use -prune.
  6. fanquake commented at 12:45 pm on June 7, 2023: member
    Agree with Marco. You can use something like LVM to combine your drives, and then point to a single blocksdir. There’s no need for us to introduce complexity to mange this into Bitcoin Core.
  7. fanquake closed this on Jun 7, 2023

  8. bitcoin locked this on Jun 6, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-07-01 10:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me