Page 2 of 2

Re: Toon firmware 5.15.6 released

PostPosted: Sun Oct 20, 2019 1:06 pm
by michel30
Thanks, this has helped me a lot I'm running now on 5.15.6 and I have 23,3 mb free space left after the update.

Re: Toon firmware 5.15.6 released

PostPosted: Sun Oct 20, 2019 7:44 pm
by TheHogNL
michel30 wrote:Thanks, this has helped me a lot I'm running now on 5.15.6 and I have 23,3 mb free space left after the update.


Can you share us in what location you had too much space in use? Maybe this helps this other guy with the same issue.

Re: Toon firmware 5.15.6 released

PostPosted: Sun Oct 20, 2019 8:04 pm
by michel30
Hello,

well I had directory's that was not in your list like a backup directory an update directory and also one very strange that had etc, lib and some other maps in. and these maps where also in / root..
but still when I match my files with yours than you will see that there are still more in my directory.

Code: Select all

0   /HCBv2
764   /bin
0   /boot
0   /configured
0   /dev
1104   /etc
4728   /lib
0   /linuxrc
26696   /mnt
0   /proc
41840   /qmf
136   /root
892   /sbin
0   /sys
0   /tmp
74836   /usr
1192   /var



But on my Toon there are also installed some apps from the app store.....

Re: Toon firmware 5.15.6 released

PostPosted: Sun Oct 20, 2019 8:25 pm
by TheHogNL
michel30 wrote:but still when I match my files with yours than you will see that there are still more in my directory.


Check that /mnt dir. Too high for 'after an update'. During update /mnt/data/update will contain the update files but those should be deleted afterwards. Then /mnt should mostly contain logs/config files and the bigest the hcb_rrd files (the elec/gas usage data/history).

Re: Toon firmware 5.15.6 released

PostPosted: Sun Oct 20, 2019 9:52 pm
by michel30
In my /mnt directory I have:

Code: Select all
352 Aug 16  2017 qmf
432 Oct  6 20:25 tsc
472 Oct 20 12:40 update


In the Update directory I have only:
Code: Select all
qb-auto-update-msg-sent
upgrade-qb2.sh
upgrade-qb2.sh.log
upgrade-qb2.sh.res


in the qmf directory I have:
Code: Select all
2312 Oct 20 21:30 config
1192 Oct 20 21:03 log
856 Oct 20 12:44 var

Re: Toon firmware 5.15.6 released

PostPosted: Mon Oct 21, 2019 9:13 am
by TheHogNL
Weird, combined that is not: 26696 /mnt

Re: Toon firmware 5.15.6 released

PostPosted: Mon Oct 21, 2019 6:05 pm
by michel30
Hello TheHogNL,

I was spitting in the directory /mnt to see where the big number is coming from and it is here:

20324 /mnt/data/qmf/var/hcb_rrd/

but the count files is 215 but at the front when I do du -sk /mnt/data/qmf/var/hcb_rrd/ * I see sometimes 175, 340, 42, etc..

Regards,
Michel

Re: Toon firmware 5.15.6 released

PostPosted: Mon Oct 21, 2019 7:29 pm
by TheHogNL
Hmm are there old (not used) rrd's in there?

Compare these both results:

Code: Select all
ls /mnt/data/qmf/var/hcb_rrd | cut -d\. -f1 | cut -d\- -f1,2,3,4,5 | sort -u


with

Code: Select all
grep uuid /qmf/config/config_hcb_rrd.xml | wc -l


if the first is more then then second then there are old rrd in there not being used in your system anymore and then

Code: Select all
for i in `find  /mnt/data/qmf/var/hcb_rrd | cut -d\/ -f7 | cut -d\. -f1 | cut -d\- -f1,2,3,4,5 | sort -u` ; do if ! grep -q $i /qmf/config/config_hcb_rrd.xml ; then ec
ho $i ; fi ; done


Should show which uuid's are not used anymore

Re: Toon firmware 5.15.6 released

PostPosted: Tue Oct 22, 2019 6:02 pm
by michel30
It does not cleanup...

ls /mnt/data/qmf/var/hcb_rrd | cut -d\. -f1 | cut -d\- -f1,2,3,4,5 | sort -u
105 files

grep uuid /qmf/config/config_hcb_rrd.xml | wc -l
29 files

for i in `find /mnt/data/qmf/var/hcb_rrd | cut -d\/ -f7 | cut -d\. -f1 | cut -d\- -f1,2,3,4,5 | sort -u` ; do if ! grep -q $i /qmf/config/config_hcb_rrd.xml ; then echo $i ; fi ; done

But when I check I still see 105 files plus when I do: du -sk /* than it says 26800 /mnt

Re: Toon firmware 5.15.6 released

PostPosted: Tue Oct 22, 2019 6:46 pm
by Toonz
if you don't mind losing your history you can also delete all rrd files. They will be created again anyway.

Re: Toon firmware 5.15.6 released

PostPosted: Tue Oct 22, 2019 7:22 pm
by TheHogNL
Can you send the file list of that rrd directory?

Re: Toon firmware 5.15.6 released

PostPosted: Tue Oct 22, 2019 8:09 pm
by TheHogNL
Just recieved your list of files. There are a lot of garbage in there.

All files older than one day in that directory are useless ( find /mnt/data/qmf/var/hcb_rrd/ -type f -mtime +1 ).
Make a copy of them and then remove them.

Re: Toon firmware 5.15.6 released

PostPosted: Wed Oct 23, 2019 7:09 pm
by michel30
Hello TheHogNL,

I thought so :) I deleted the old files and now I have 93 files from today with .dat and .rra in /mnt/data/qmf/var/hcb_rr.

When I run the command ls /mnt/data/qmf/var/hcb_rrd | cut -d\. -f1 | cut -d\- -f1,2,3,4,5 | sort -u , it will show 29 files and when I run grep uuid /qmf/config/config_hcb_rrd.xml | wc -l that it will also show 29.

regards,
Michel

Re: Toon firmware 5.15.6 released

PostPosted: Mon Nov 04, 2019 12:24 pm
by jumperone
The update script works perfectly.
With Putty of 4.15.6 after 4.22.7.
Then with the TLC menu from 4.22.7 after 5.05.6 and then after 5.15.6

everything works perfectly thanks

Re: Toon firmware 5.15.6 released

PostPosted: Mon Nov 04, 2019 8:38 pm
by TheHogNL
jumperone wrote:The update script works perfectly.
With Putty of 4.15.6 after 4.22.7.
Then with the TLC menu from 4.22.7 after 5.05.6 and then after 5.15.6

everything works perfectly thanks


Great! You maybe need to change your user profile footer as is has some text about failures :D