Value too large for defined data type on files larger than 2GB
Posted: Thu Feb 22, 2018 9:54 pm
I'm trying to verify the integrity of some files I have stored on an external disk, which is connected to my Pi Model B:
This works successfully on files that are less than 2GB in size. However, on files larger than 2GB in size I receive the following result:
I found the following information:
https://www.gnu.org/software/coreutils/ ... -data-type
At first, I thought maybe it has always been this way for my Pi and external disk setup but from what I can see, I have been having this issue since around October 2017. Prior to that, I was able to successfully generate checksum hashes on files larger than 2GB. I know this because every attempt at generating a hash for the file is output to another file.
Have GNU utilities in Raspbian (as of around October 2017) stopped being compiled with large file support?
Current Raspbian Lite OS version is:
Kernel is:
Is the problem because I am using Raspbian Lite, instead of the full distribution of Raspbian?
Code: Select all
openssl sha1 file.tar
Code: Select all
Value too large for defined data type
https://www.gnu.org/software/coreutils/ ... -data-type
At first, I thought maybe it has always been this way for my Pi and external disk setup but from what I can see, I have been having this issue since around October 2017. Prior to that, I was able to successfully generate checksum hashes on files larger than 2GB. I know this because every attempt at generating a hash for the file is output to another file.
Have GNU utilities in Raspbian (as of around October 2017) stopped being compiled with large file support?
Current Raspbian Lite OS version is:
Code: Select all
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
Code: Select all
Linux myPi 4.9.59+ #1047 Sun Oct 29 11:47:10 GMT 2017 armv6l GNU/Linux