You didn't ask for the log before! Not everyone is a mind readerThat's as maybe, but you've still not provided any data - such as what it says in the undelete log (WebIF >> Diagnostics >> empty_dustbin.log).
Thanks, I set things low as I was trying to stop it deleting early, didn't work thoughYou didn't ask for the log before! Not everyone is a mind reader
I've never experienced problems but with only a 512GB disk I cant afford to keep so much in the dustbin and have never needed to restore older recordings
My settings are much more aggressive
View attachment 6195
1Gib is less than an hours recording time and undelete is only run once per day.
So to get it to free up space before you run critically low on storage you need to start reducing the retention period well before you actually run out, 10Gib is far to low
So there's the problem then. Maybe you should run a fixdisk, and if you have any external file shares mounted in My Video I recommend you don't (because they're sure to confuse file space calculations).The last when the actual free space is 81GB, so something is calculating things wrong
For christ sake. How much of a mind reader do you have to be to realise that NOBODY can diagnose a fault unless they have some data to go on? I went looking to see what log files might be available, and so could anybody else.You didn't ask for the log before! Not everyone is a mind reader
system diskspace
and system diskfree
use a command like /mod/bin/busybox/stat -f -c {%S %b %f} /mnt/hd2
(adjust mount point for HD). It would be interesting to see the result of that on the problem system. Perhaps the undelete package uses its own less robust tactic for calculating the free space.Pretty massive one if you don't even know there is a logFor christ sake. How much of a mind reader do you have to be
the command /mod/bin/busybox/stat -f -c {%S %b %f} /mnt/hd2The Jim "class methods"system diskspace
andsystem diskfree
use a command like/mod/bin/busybox/stat -f -c {%S %b %f} /mnt/hd2
(adjust mount point for HD). It would be interesting to see the result of that on the problem system. Perhaps the undelete package uses its own less robust tactic for calculating the free space.
Also, tthere is a difference, when time-shift is enabled, between the actual free space and the free space available for recordings, which is less if the time-shift buffer has not yet used its reserved space. At one point the disk space display in the WebIf top bar could show negative values because of this.
/mod/bin/busybox/stat -f -c {%S %b %f} /mnt/hd2
{%S %b %f}
was supposed to be interpreted as a format string, from the BusyBox stat command information being:{ }
syntax is incorrect. This works for me:/mod/bin/busybox/stat -f -c "%S %b %f" /mnt/hd2
Have you run fixdisk yet, and if not why not?File: "/mnt/hd2"
ID: 0 Namelen: 255 Type: ext2/ext3
Block size: 4096
Blocks: Total: 477874319 Free: 22274267 Available: 0
Inodes: Total: 121380864 Free: 121365701
Does that tell us anything?
It is Jim script speak rather than Bash script speak. Bit of an oversight from /df there.I guess the{ }
syntax is incorrect
Quite so. Available (0) should be the same as Free, so I would guessHave you run fixdisk yet, and if not why not?
It usesThe Jim "class methods"system diskspace
andsystem diskfree
use a command like/mod/bin/busybox/stat -f -c {%S %b %f} /mnt/hd2
(adjust mount point for HD). It would be interesting to see the result of that on the problem system. Perhaps the undelete package uses its own less robust tactic for calculating the free space.
df
and find -mtime
to determine which files to delete from the dustbin (see /mod/sbin/empty_dustbin
- called by anacron).But from the format string %S %b %f undelete is not not looking at the available blocks so why is it thinking @Matthew is running so low on space and if the partition was read-only the deletes would be failing which is not what he is complaining ofAvailable (0) should be the same as Free, so I would guess that means the filesystem on that partition is read-only.
/mod/bin/busybox/stat -f /mnt/hd2
File: "/mnt/hd2"
ID: 0 Namelen: 255 Type: ext2/ext3
Block size: 4096
Blocks: Total: 117335874 Free: 39530806 Available: 33570290
Inodes: Total: 29860704 Free: 29826131
Shirley the first thing to do is find out if there are any file system irregularities? Otherwise the system is not clean and all bets are off whether things operate correctly.why is it thinking @Matthew is running so low on space
On my system Free != Available but not hugely different
Probably tryshould I find a time to run fix-disk?
tune2fs -m 0 /dev/sda2
instead, and then re-run the stat command.I needed to specify sdb2 instead of sda1 but it worked for meIt's 15% different. As xyz321 alluded to, I presume your reserved space is set to the standard 5%, so can't account for the difference.
Probably trytune2fs -m 0 /dev/sda2
instead, and then re-run the stat command.
All the partitions on all my boxes have had this done, and they all have Free=Available.
humax /mnt/hd2/mod/git # tune2fs -m 0 /dev/sdb2
tune2fs 1.42.13 (17-May-2015)
Setting reserved blocks percentage to 0% (0 blocks)
humax /mnt/hd2/mod/git # /mod/bin/busybox/stat -f /mnt/hd2
File: "/mnt/hd2"
ID: 0 Namelen: 255 Type: ext2/ext3
Block size: 4096
Blocks: Total: 117335874 Free: 35989718 Available: 35989718
Inodes: Total: 29860704 Free: 29826081
tune2fs -l /dev/sdb2
first to check what the previous reserved count was