this post was submitted on 07 Nov 2024
43 points (100.0% liked)

Selfhosted

39982 readers
508 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

qBit does delete the file from my physical drive (direct attached storage, raid5). But won't update the free space in the WebUI. The discrepency is over 1TB, so I'd like to address this if someone can help me.

Some info:

  • qBit v.5.0.1, docker, from linuxserver.io
  • Ubuntu 24.04
  • Automatic Management Mode is checked
  • Torrent content removing mode: Delete files permanently
all 20 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 6 hours ago (1 children)

That's a lot of Linux Isos!

[–] [email protected] 6 points 6 hours ago

Gotta have EVERY distro

[–] [email protected] 1 points 5 hours ago

i've seen something like this before, where the kernel holds the file handle open for the process so that it thinks the file is still there. i think it's related to how the program closes the file but i don't remember the details. restarting qbittorent will most likely fix it.

[–] [email protected] 3 points 10 hours ago

Huh. I think I have the same issue. I just noticed it.

[–] [email protected] 19 points 17 hours ago* (last edited 17 hours ago) (2 children)

Has it been happening since qBittorrent 5.x ? Only reason I ask is that 5.0 did introduce a new feature per https://www.qbittorrent.org/news

FEATURE: Allow to move content files to Trash instead of deleting them (glassez)

Maybe double-check the qBittorrent settings and verify that isn't somehow enabled? I'm not on on that version yet so can't be sure how that new feature works or is configured.

If it's not that then I suspect the other comments are right e.g. a hardlinked file elsewhere would defintiely mean you need to delete all the hardlinks to actually free up space.

[–] [email protected] 8 points 16 hours ago

Yeah, I thought about that too. It's why I noted in the post that my files are set to delete and not be moved to the trash first. Those settings are in options/advanced.

[–] [email protected] 7 points 16 hours ago (1 children)
[–] [email protected] 3 points 16 hours ago (1 children)

Yup going to do that soon :)

Still on 4.x, bummer as I normally wait a while before doing major version software updates but it is what it is.

[–] [email protected] 2 points 14 hours ago* (last edited 14 hours ago)

So, I migrated to 5.x and I don't know if it was just me, or a change in the WebUI or something, but Sonarr stopped wanting to pull files in. I've been holding out on the Sonarr upgrade because last I looked at it, it wouldn't auto-migrate you over, etc.

But when I went to upgrade it - it said that now auto-migrates, and it does. However, the old migrated rules looked kinda dirty, so I was panicking a little. The imported/converted stuff all worked, mind you, I just didn't like how they looked. In the end, I ended up really really liking the new Sonarr system, though I did have to ask an LLM how to format some new regex.

[–] [email protected] 4 points 14 hours ago

I have the same problem.

[–] [email protected] 8 points 18 hours ago (1 children)

9,3TiByte equate to 10,2TByte. Maybe Ubuntu just rounds up to 11TByte at this point?

[–] [email protected] 6 points 18 hours ago

I deleted .25 terabytes and it hasn't changed at all. It used to increment up after every deletion, so this is new.

[–] [email protected] 5 points 17 hours ago (3 children)

Are you hard-linking it to somewhere else on the drive via any kind of automation?

For example, Sonarr can hard-link files to the directories they belong in, so that Qbit can continue seeding. If you then delete/remove the torrent/files -- then the hard link would still be there.

[–] [email protected] 1 points 16 hours ago

It is a really good thought. Your comment prompted me to check the whole machine (SSD + raid array) and I don't have any hard-linking of media files, torrent files or anything like that. So that isn't it.

I think it's just a bug in the system.

[–] [email protected] 1 points 16 hours ago

Exactly what I was going to say because this hit me a while back. I still have no good solution; I have to delete shows/movies from the *arr then manually delete them from qbitorrent too.

[–] [email protected] 1 points 17 hours ago (2 children)

Have you tried deleting the docker config and starting with a fresh install?

[–] [email protected] 2 points 17 hours ago

While this would almost certainly work, it would be nice if the root cause can be discovered and either fixed or worked around. Having to reinstall everytime one needs to free up disk space is .. less than ideal.

[–] [email protected] 1 points 16 hours ago

Not yet and hopefully I won't have to do that.

[–] [email protected] 0 points 13 hours ago

Yo, empty your computer recycle bin / yeah can. That's where the files are.