• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. lhovarter
    3. Topics
    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 13
    • Groups 0

    Topics

    • L

      Pie charts on dashboard showing incorrect total and used size for Storage nodes

      Watching Ignoring Scheduled Pinned Locked Moved FOG Problems
      5
      0 Votes
      5 Posts
      2k Views
      L

      Ok, I found the reason. My old nodes are all 32-bit (we run fog on recycled hardware basically), my new node is 64-bit. In the freespace.php a recent change (somewhere within the last few months) made calculating $hdtotal and $hdused use intval(). This made them integers which is not a big deal on 64-bit systems in PHP but in 32-bit systems the harddrive space in bits is higher than the maximum size of an integer. If I restore the old freespace.php file it works fine.

      I don’t know a lot about coding in PHP but is there a way to cast the result of the calculation to a double or long for 32-bit compatibility?

    • L

      Snapin Problems

      Watching Ignoring Scheduled Pinned Locked Moved Solved FOG Problems
      18
      0 Votes
      18 Posts
      6k Views
      L

      No problem, thanks for the swift response and fix!

    • 1 / 1