<div dir="ltr"><div>Hi Experts, <br></div><div>   I am testing EROFS in openSuse(Kernel: 5.4.7-1-default). I used the enwik8 and enwik9 as source file  (<a href="https://cs.fit.edu/~mmahoney/compression/textdata.html">https://cs.fit.edu/~mmahoney/compression/textdata.html</a>) for compression. But after I mount the erofs image, I am not able to read it (it is saying operation not permitted). Simple "ls" command is not working. But if I create EROFS image without compression flag, then after mount I am able to read the files. Seems there is some problem during compression. <br></div><div><br></div><div>I will appreciate if someone can help me out why this is happening.<br></div><div><br></div><div>Steps followed: <br></div><div><u>Erofs image creation & mount: </u><br></div><div>mkfs.erofs -zlz4hc enwik8.erofs.img enwik8/</div><div>mkfs.erofs 1.0<br>        c_version:           [     1.0]<br>        c_dbg_lvl:           [       0]<br>        c_dry_run:           [       0]<br></div><div>mount enwik8.erofs.img /mnt/enwik8/ -t erofs -o loop</div><div><br></div><div>ls -l /mnt/enwik8/<br>ls: cannot access '/mnt/enwik8/enwik8': Operation not supported<br>total 0<br>-????????? ? ? ? ?            ? enwik8<br></div><div><br></div><div>The problem seen for both lz4 & lz4hc. <br></div><div><br></div><div><u>Erofs image creation & mount without compression: </u></div><div>mkfs.erofs  enwik8_nocomp.erofs.img enwik8/<br>mkfs.erofs 1.0<br>        c_version:           [     1.0]<br>        c_dbg_lvl:           [       0]<br>        c_dry_run:           [       0]</div><div><br></div><div>mount enwik8_nocomp.erofs.img /mnt/enwik8_nocomp/ -t erofs -o loop</div><div><br></div><div>ls -l /mnt/enwik8_nocomp/<br>total 97660<br>-rw-r--r-- 1 root root 100000000 Jan 20 01:27 enwik8</div><div><br></div><div><div><u>Original enwik8 file:</u><br></div><div>ls -l enwik8<br>total 97660<br>-rw-r--r-- 1 root root 100000000 Jan 20 01:14 enwik8</div></div><div><br></div><div><u>Source code used for Lz4 and Erofs utils:</u><br></div><div><a href="https://github.com/hsiangkao/erofs-utils">https://github.com/hsiangkao/erofs-utils</a></div><div><a href="https://github.com/lz4/lz4">https://github.com/lz4/lz4</a></div><div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Thanks,<br>Saumya Prakash Panda<br><br></div></div></div>