Found it. They multiply a 'size' attribute in sysfs, that is always in 512-byte units, by the logical block size (4096 in this case). https://github.com/CanonicalLtd/probert/blob/master/probert/utils.py#L239 … Still unfixed, which leads me to believe ~nobody is using their new server installer, or people would be complaining.
-
-
Show this thread
-
Nevermind the idea that if the logical_block_size file doesn't exist, they assume size is in *bytes* and don't multiply by anything. Whoever wrote this code just pulled this stuff out of nowhere, they didn't actually test anything but the 512-byte-disk case.
Show this thread
End of conversation
New conversation -
-
-
Confusion between 512 byte sectors and 4096 byte sectors? The multiple is 8 between the two.
-
Almost certainly. It's a 4K logical sector size disk, but the /sysfs block interface always reports size in 512-byte sectors. I bet the Ubuntu guys didn't bother to look this up and are blindly multiplying by the logical block size.
- Show replies
New conversation -
-
-
Why Ubuntu instead of redhat?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Long ago I came to the conclusion that Ubuntu server edition only exists because some people think Debian doesn't break in exciting new ways nearly often enough.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.