Hi! We have been using mksquashfs with zstd compression, and after a few iterations of compression + we see a corruption in squashfs file. The error message is:
zstd uncompress failed with error code 10
FATAL ERROR: writer: failed to read/uncompress file temp/node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib/typescriptServices.d.ts
Looking at the kernel logs, we see:
Squashfs error: FATAL ERROR: Can't find a valid SQUASHFS superblock on <some-random-id>
Interestingly, this only happens after a few iterations of running mksquashfs and then using the file. And creating another squashfs file from the mounted squashfs file. This only happens for zstd and not any other compression algorithm. Would you know what could be causing this problem? Thank you!
squashfs-tools version: 4.6
zstd version: 1.5.5
uncompressed cache size: 2.5 Gb
compressed cache size: 536Mb
Hi! We have been using
mksquashfswithzstdcompression, and after a few iterations of compression + we see a corruption in squashfs file. The error message is:Looking at the kernel logs, we see:
Interestingly, this only happens after a few iterations of running mksquashfs and then using the file. And creating another squashfs file from the mounted squashfs file. This only happens for zstd and not any other compression algorithm. Would you know what could be causing this problem? Thank you!
squashfs-tools version:
4.6zstdversion:1.5.5uncompressed cache size: 2.5 Gb
compressed cache size: 536Mb