Overlay issue when truncating files over 2G
Hi, I think I've found an issue with overlay. Steps to reproduce:
# cd $(mktemp -d) # mkdir lower upper work root # truncate -s 3G lower/sparse # mount -t overlay -o workdir=work,upperdir=upper,lowerdir=lower overlay work # truncate -s 0 work/sparse truncate: cannot open ‘work/sparse’ for writing: Value too large for defined data type
# umount work
My kernel is: 3.19.0-26-generic #28~14.04.1-Ubuntu SMP
Thanks,
Alkis Georgopoulos