I'm closing this bug as after rebooting onto current linux
4.4.0-43-generic the problem went away.
** Changed in: linux (Ubuntu)
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
blockdev also reports the wrong value:
# blockdev --getsz /dev/sdd1
32787056
strace shows that fstat() reports the wrong value.
9175 02:20:07.714355 open("/dev/sdd1", O_RDONLY) = 3
9175 02:20:07.714387 uname({sysname="Linux", nodename="desktop-clc",
release="4.4.0-38-generic",
Taking the first sector output and decoding it shows:
00 - 00 01 01 - 0c - 3f a0 00 - 00 08 00 00 - 00 00 10 00
00 - 00 81 01 - 83 - 3f 20 00 - 00 08 10 00 - 00 00 10 00
00 - 00 01 01 - 83 - 3f 20 00 - 00 08 20 00 - 00 00 20 00
00 - 00 01 01 - 83 - 3f e0 3f - 00 08 40 00 - 00 f8 79 03
Which