Diskstatus pluging mounted partition

Hello, i’ve just try your script, and it’s working very well and looking very very nice.
I just got an issue to have the right size of my mounted raid0 disk in the plugin diskstatus (QuickBox dashboard.)

Situation :

  • I’m running on a home server with debian 8.6.
  • I’m not using quotas
  • System is install on an SSD
  • I have a 8to Raid0 mounted under /home/user/Medias
  • I’ve managed to get the good disk size on rutorrent and the good path by editing rutorrent config.php and .rtorrent.rc

I’ve read about making mounted partition as root, not sure if i have the good setting (i’m not that good on linux and partitionning fstab… have alwas been hard with me):slight_smile:

Fstab

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdf1 during installation
UUID=111c6c23-da8b-4ee4-a220-34e057d49168 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdf5 during installation
UUID=19f397b5-1ac6-4f73-b6be-abfed16a18c5 none            swap    sw              0       0
#raid0
UUID=c6bbd259-72d1-47e2-9d16-99329ddd5995       /home/hugs/Medias       ext4    rw      0       0

lsblk

NAME    MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda       8:0    0   1.8T  0 disk
└─sda1    8:1    0   1.8T  0 part
  └─md0   9:0    0   7.3T  0 raid0 /home/hugs/Medias
sdb       8:16   0   1.8T  0 disk
└─sdb1    8:17   0   1.8T  0 part
  └─md0   9:0    0   7.3T  0 raid0 /home/hugs/Medias
sdc       8:32   0   1.8T  0 disk
└─sdc1    8:33   0   1.8T  0 part
  └─md0   9:0    0   7.3T  0 raid0 /home/hugs/Medias
sdd       8:48   0   1.8T  0 disk
└─sdd1    8:49   0   1.8T  0 part
  └─md0   9:0    0   7.3T  0 raid0 /home/hugs/Medias
sde       8:64   0 232.9G  0 disk
├─sde1    8:65   0 225.2G  0 part  /
├─sde2    8:66   0     1K  0 part
└─sde5    8:69   0   7.7G  0 part  [SWAP]

Thx!

try mounting it under /home then the disk status widget will read the space.

1 Like

I just did, it’s working, but my /home/hugs folder is gone.
So i dont have anymore access to rtorrent.rc or any other config file that was in there. And rtorrent isnt working anymore

Any idea if i can get that back without making a clean install of server?
Can i just add a new rutorrent user?

yes by login in with root and then createSeedboxUser then use the same user as you have already.
login as root
another idea is do a unmount then your files should still be there then do a umount /home
mv /home/hugs ~/hugs then reboot so the fstab remounts the /home and then move the files to your new mount
mv ~/hugs /home/

1 Like

Wasnt working with the same user, i had the famous message incorrect link in rutorrent. But it worked well with a new user :slight_smile:

So thank you very much for your reactivity and your precious answers. And thx to all the team for this great work