Wrong Disk Status reported in Rutorrent and in Widget

I got confused while typing. I have now only diskspace activated and it shows the disk space in rutorrent status bar. The problem is it is wrong. Is like frozen, just like the amount shown in the QuickBox dashboard…

I am wondering if your quotas stopped.

Try this:

service quota stop
quotaoff -a
quotacheck -auMF vfsv1
quotaon -a
service quota start

See if that re-fires the quota.

I did it and both the widget and the rutorrent status bar changed.
Now the widget shows:
Free: 885.676 GB
Used: 14.3238 GB
Size: 900 GB

Except it should say 44.6GB used…

I think this may be a kimsufi related issue… there is another user (a beta squad member) that has numerous issues with Kimsufi and we think it may be a kernel issue.

What is the output of uname -a

Linux nsXXXXXX.ip-XXX-XX-XX.eu 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Should be no issues there.

Wold you be ok with me contacting tomorrow for login details so I may take a look at some of your server settings?

Hard to troubleshoot verbally, I’d have better luck hands on. These details would remain private via PM.

Yeah, no problem. Thanks.

I don’t think I’ll need access to your server for this issue. I was able to replicate it on a VirtualBox install. Do the following and tell me when you have a chance if this solves the issue.

apt-get install -y linux-image-extra-virtual
service quota stop
quotaoff -a
quotacheck -auMF vfsv1
quotaon -uv /
service quota start

In short it appears that the quota module was removed from the virtual kernel. If Kimsufi is putting their machines up via cloud images and other such “quick launch” measures, then this is most certainly the case. It would also explain the sea of 20 network interface adapters that Kimsufi uses.

I am going to implement this within the script on quota install on the next production release.

This may also help anyone else that is noticing diskspace not updating properly.

1 Like

I tried the commands above but nothing changed. :confused:
For the Rutorrent status bar disk meter my old seedbox provider used a plugin called “quotaspace”.
I was going to try to upload it to the server and see if it worked for rutorrent, but I couldn’t find the rutorrent installation folder (it isn’t in /var/www/).

Do you have anything else installed? Webmin or otherwise that could be conflicting with quotas.

RuTorrent is installed at /srv/rutorrent

No, I did a fresh install of Ubuntu 16.04 and installed QuickBox.
Is it possible to completely remove the quota system and let Rutorrent and the Dashboard Widget show the actual full disk space?

No, unfortunately they need to be able to read the diskspace. They will not dynamically know how much a particular mount has. You could attempt to install Webmin and see if it will recognize your quotas. Simply doing service quota stop followed by quotaoff -a would be sufficient enough to stop it.

You could also try to remount your quotas on the root partition.

quotaoff -a
service quota stop
mount -o remount /
quotacheck -auMF vfsv1
quotaon -uv /
service quota start

Something tells me there is more afoot here than realized though. I am starting to think Kimsufi is to blame. The other user with this same issue was able to solve it by installing the extra-virtual packages.

I have noticed one thing right now.
If I download the files via Rutorrent, the disk status will update just fine.
But if I transfer files from my old seedbox via BTSync or send files via SFTP and hash check them with Rutorrent the disk status won’t update…

What are the permissions on those transferred files? If they transfer into the directory as another user or as root, the data may not have the appropriate perms to read them as used space.

I checked and the files transferred by btsync were all owned by btsync, so I used the command:
sudo chown -R username:group /home/username/torrents

Now both the widget and the rutorrent status bar are updated properly.

Awesome! So, are we good on this then?

Yes, thank you very much for all your help. :smiley:

1 Like

Hey,

I had a similar issue

I would like to add something, if you use the default configuration (no quota on your first user) with /home as directory, you will have a wrong disk space on the widget.

So to fix it :

  • on your quickbox dashboard, go in plugin => uninstall diskspace then install diskspaceh
  • Use the command setdisk
  • He will ask you your username, then the quota space (so give the total of your disk)

The proper command to fix this is already included in QuickBox.

fix-disk_widget_home