There is a critical UFS filesystem bug in that started with Linux 4.8.4 and exists in kernel 4.9.30 and below as well as 4.11.3 and below.
Files larger than 2 GibiBytes (2GB) copied from a UFS filesystem are quietly chopped down to a maximum of 2GB.
Please upgrade to at least Linux 4.9.31 or Linux 4.11.4 which are now available.
https://www.kernel.org/
Here is the patch:
Code:
--- a/fs/ufs/super.c.orig 2017-05-28 17:20:53.000000000 -0700
+++ b/fs/ufs/super.c 2017-06-03 17:08:33.340100262 -0700
@@ -812,9 +812,8 @@ static int ufs_fill_super(struct super_b
uspi->s_dirblksize = UFS_SECTOR_SIZE;
super_block_offset=UFS_SBLOCK;
- /* Keep 2Gig file limit. Some UFS variants need to override
- this but as I don't know which I'll let those in the know loosen
- the rules */
+ sb->s_maxbytes = MAX_LFS_FILESIZE;
+
switch (sbi->s_mount_opt & UFS_MOUNT_UFSTYPE) {
case UFS_MOUNT_UFSTYPE_44BSD:
UFSD("ufstype=44bsd\n");