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)
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!