Harddrive Is Probably Full

(marginalia.nu)

27 points | by ilreb 6 hours ago ago

15 comments

  • dredmorbius 23 minutes ago

    "Save" is cheap. "I might need this sometime later."

    Delete is expensive. "Am I positive I'll never need this again?"

    As a consequence, "cheap" actions (saves) accumulate, "expensive" ones (deletes) accrue until cheap becomes expensive as space becomes tight.

    Ultimately, options become:

    - Find criteria for rapidly assessing what data can be deleted.

    - Purchase cheap archival storage and migrate old data to that.

    - A media or device crash induces loss of arbitrarily-selected data.

  • komadori an hour ago

    I recently ran `df` and was surprised to see that I'd used more than half of the two terabyte SSD in my laptop. So, being apparently atypically proactive, my first action was delete all of the target directories in my Rust projects and was equally surprised to see that it freed up nearly 10% of my disk usage (~200 GB)!

    • tyleo an hour ago

      I’ve also noticed this with rust. Those target directories can get huge.

  • mfro 2 hours ago

    I think about this problem often in life because of my tendency to procrastinate. Only the long term effects that cause me serious paranoia get any real attention (failing to meet social expectations, major health issues, large-figure finance problems). It’s absolutely necessary to define the constraints before they define you. This requires a lot of forward thinking and effort but considering how little time we get on this earth… worth it

  • throw2ih020 an hour ago

    If you're on Windows, WizTree (https://diskanalyzer.com/) is great for figuring out what's consuming your storage space.

    On Linux/macOS you can use `du` from the command line (or ask an AI to make a convenience wrapper for you).

    • phendrenad2 25 minutes ago

      DaisyDisk is also a great option on Mac.

  • rahimnathwani an hour ago

    If you're on Windows, MacOS or Linux, a great tool for interactively discovering and deleting large folders and files is dua:

    https://github.com/Byron/dua-cli

    If you're on MacOS and suspect a lot of space is taken by multiple copies of the same files, use fclones to turn them into APFS clones. (You can also use this on Linux, as ext4 supports hard links, but only if you're sure the duplicates won't diverge.)

  • kmoser an hour ago

    This is a variation of Parkinson's Law https://en.wikipedia.org/wiki/Parkinson%27s_Law: "Data expands to fill the space available for storage."

  • victorbjorklund an hour ago

    My harddrive at 1tb has around the same amount of free space in % as my previous computer with just 256gb.

  • AKSF_Ackermann an hour ago

    And i am wondering what do people even fill their storage with, and why do they need so much. In my case it is ~200-300 out of 1TB on 2 laptops, 37 out of 128gb on phone. And i don't even actively manage it.

    • throw2ih020 an hour ago

      I have one single video game I play that takes up around 650GB, so I have a dedicated drive for it. And between 1 and 2 TB of movies, TV, and photos. Everything else is ephemeral/scratch space for whatever I'm working on.

      I used to be into amateur movie making and editing, and back then I needed many TB of space for the stuff I pulled off my cameras before it got edited down.

      • RugnirViking an hour ago

        What video game!? I've seen games that reach up to the already crazy number of 100gb, but I usually just don't install those, with few exceptions

    • msh an hour ago

      My photo library is around 700 gb.

    • efilife 32 minutes ago

      I have 2TB filled and I need more. I make music so I need a lot of storage for my instruments and samples. This is measured in tens and often hundreds of gigabytes. I also play games. Games' sizes range wildly from 10 to 200 GBs. I also do gamedev. The textures get big and get duplicated between projects. Programming (npm modules for example), add to this personal data, media archives and 2TB is not enough

  • ThrowawayTestr 2 hours ago

    I bought a 8tb drive just before prices exploded so I'm alright