VM disk for OS (Debian 12.x) gets smaller and smaller - NOT the same disk i used for .bitdoin data directory which is mounted on another disk #30191

issue kosuodhmwa openend this issue on May 29, 2024
  1. kosuodhmwa commented at 2:14 pm on May 29, 2024: none

    I ask me why? Now i added the txindex=1 option to bitcoin.conf file and it’s the OS disk that gets smaller and smaller - NOT the disk where .bitcoin data directory is located… that’s very, very confusing i.m.o

    B: = bitcoin data disk where .bitcoin data directory is I: = disk where the virtualbox bitcoind VM (Debian 12.x) is.

    image

  2. kosuodhmwa commented at 2:15 pm on May 29, 2024: none
    maybe it saves tons of logs in /var/ log ??
  3. maflcko commented at 2:20 pm on May 29, 2024: member

    We can’t help you by guessing what you did and what went wrong. You’ll have to explain everything in detail.

    Make sure to fully read https://github.com/bitcoin/bitcoin/blob/master/doc/files.md and understand it, first.

  4. willcl-ark added the label Questions and Help on May 30, 2024
  5. laanwj commented at 4:33 pm on May 30, 2024: member

    maybe it saves tons of logs in /var/ log ??

    Bitcoin core itself doesn’t write anything to /var or anywhere but the data directory. Of course, it may be that some other process is doing that. You’d want to figure out what files use the disk space. i don’t know what’s a good tool for that in windows but in Linux you’d typically use du -h.

  6. maflcko commented at 4:35 pm on May 30, 2024: member
    On Windows you can just right click and the Properties dialogue should spit out the folder size, IIRC? (Haven’t used it in a decade). But yeah, without more details, there is nothing that can be done here.
  7. kosuodhmwa commented at 4:58 pm on May 30, 2024: none

    bitcoind is not (directly) on Windows 10 (pro, x64) - the screenshot just shows the drives used by my bitcoind Debian 12.5 virtual machine.

    since i added “txindex=1”, the drive B:\ where ~/.bitcoind linux mount point saves its data, free space decreased NOT, while I:\ drive (where the debian 12.5 os is, the rest, excluding ~/.bitcoind) space decreased rapidly… ca. from 40gb left to 3.7gb left

    My implication: bitcoind does not only save its data in ~/.bitcoin directory (“data directory” where the blockchain is)…

  8. sipa commented at 5:01 pm on May 30, 2024: member
    Well you can look at it, presumably? How much data is in the ~/.bitcoin directory? If it’s empty, perhaps there is a configuration error and some other directory is used as datadir?
  9. kosuodhmwa commented at 5:04 pm on May 30, 2024: none

    the bitcoin application directory seems to be also very big… now i’m confused, i was thinking the bitcoind saves all its volatile data in ~/.bitcoin [data] - not in ~/bitcoin [application]

    image

  10. kosuodhmwa commented at 5:06 pm on May 30, 2024: none

    Here the drive / mount point used for ~/.bitcoin (data) symlink

    /dev/sda1 1054729716 650342244 350736480 65% /mnt/btcdrive

  11. sipa commented at 5:08 pm on May 30, 2024: member

    Inside the VM, what do you get if you type ls -l ~/.bitcoin?

    The contents of ./bitcoin is presumably just your compilation artefacts. They won’t change unless you build again, and aren’t needed beyond the binaries in it (bitcoind, bitcoin-cli, …).

  12. kosuodhmwa commented at 5:18 pm on May 30, 2024: none
    Thank you very much - will look on it ASAP
  13. kosuodhmwa commented at 5:22 pm on May 30, 2024: none
    (Now the VM is completely fu**ed up, because of 0.0gb left, need to do some steps now)
  14. kosuodhmwa commented at 5:47 pm on June 1, 2024: none
    solved
  15. kosuodhmwa closed this on Jun 1, 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-12-21 15:12 UTC

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