I have a router with a USB stick attached, with some data on it.
I wanted to save some space, and as I won't edit some of the files, I created a squashfs image (in a file).
However, mounting this squashfs image fails:
# mount -t squashfs -o loop unattended.sqfs unattended
mount: Mounting /home/samba/unattended.sqfs on /home/samba/unattended failed: Invalid argument
dmesg gives me this output:
SQUASHFS error: lzma returned unexpected result 0x1
SQUASHFS error: Unable to read cache block [53c:18]
SQUASHFS error: Unable to read inode [53c:18]
SQUASHFS error: Root inode create failed
I tried creating the image on a x86 machine, and on a router itself; mounting fails in both cases.