The free disk space shown (19.81 TB available) is in Tebibytes, not Terabytes, so should be abbreviated TiB, not TB. Either that or display 21.78 TB available.

from /dvr
"disk": {
"free": 21776898273280,
"total": 39824689463296,
"used": 18047669555200
},
21,776,898,273,280 Bytes = 19.81 TebiBytes or 21.78 TeraBytes
Which number is greater?
10 or 3
Answer
3₁₀ is greater than 10₂
Appears that RAM is displaying in Gibibytes (which is GiB), but it says GB (which is Gigabytes).

from /system/memory
{
"total": 8181002240,
"available": 7073157120,
"used": 786464768,
"usedPercent": 9.61330586312124,
"free": 721838080,
...
}
8,181,002,240 Bytes = 7.62 Gibibytes or 8.18 Gigabytes