incorrect disk used space info

  • I have the following picture - /dev/sdb reports 0.00B in use, while about 10TB is used in reality

    while detail button information returns me the correct information:

    for /dev/sdb

    Label: none uuid: a6d020c2-523e-4dc6-8d3f-c11d89d6bbc4
    Total devices 1 FS bytes used 9.67TiB
    devid 1 size 16.37TiB used 12.05TiB path /dev/sdb


    for /dev/sdc

    Label: none uuid: e807e7e6-10a5-453c-afe0-13754571a3db
    Total devices 1 FS bytes used 10.47TiB
    devid 1 size 14.55TiB used 11.17TiB path /dev/sdc


    as well as df returns correct info

    /dev/sdc 15T 11T 4.1T 72% /srv/dev-disk-by-uuid-e807e7e6-10a5-453c

    /dev/sdb 17T 9.7T 6.5T 60% /srv/dev-disk-by-id-ata-ST18000NM009J


    is it possible to fix some how?


    PS. /dev/sdb is a host managed zoned device and since omv can't format such a device from webui, it was formated manualy and added manualy to fstab and config.xml.

    • Official Post

    but detail info in the same page


    returns correct results

    Label: none uuid: a6d020c2-523e-4dc6-8d3f-c11d89d6bbc4
    Total devices 1 FS bytes used 9.67TiB
    devid 1 size 16.37TiB used 12.05TiB path /dev/sdb

    This may be true, but the values of these tools are not used for the display. As you can see from the code that it is not trivial to make the calculation, it is also not easy to find the error; especially as the code comes from a developer in the community and I am therefore not really familiar with it. It is best if you execute the commands that the code executes step by step yourself and see where the error is in the code. If I know what the problem is, I can fix it. Otherwise there is nothing I can do as it is very unlikely that I can reproduce your setup and status in my developer machine.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!