<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
On 2021/8/20 21:16, Igor Eisberg wrote:<br>
<blockquote type="cite"
cite="mid:CABjEcnEg6TSuCCTfpttXBT+Ue+iGGKv1PWNAn+WrpVE4qEQmfw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">You're quicker than expected, thanks for
answering.
<div>Not sure how to check if lz4 was builtin, but considering
that erofsfuse is only about 34.5KB (stripped) I would guess
not?</div>
<div>Here's the output of erofsfuse -d (it prints this but
never exists back to shell unless I do Ctrl+C):</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<p>You can use lz4 --version to check the version of lz4 library, I
have got the same error on the old version, better to use the
version above 1.9.2.</p>
<p>If the problem still exists, you can use the -d --dbglevel=9
option, and then perform a read to get the detailed log.<br>
</p>
<p>Thanks,</p>
<p>Jianan</p>
<blockquote type="cite"
cite="mid:CABjEcnEg6TSuCCTfpttXBT+Ue+iGGKv1PWNAn+WrpVE4qEQmfw@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">erofsfuse 1.3</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">disk: product.img</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">mountpoint: product-mnt</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">dbglevel: 7</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">FUSE library version:
2.9.9</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">nullpath_ok: 0</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">nopath: 0</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">utime_omit_ok: 0</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">unique: 1, opcode: INIT
(26), nodeid: 0, insize: 56, pid: 0</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">INIT: 7.27</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">flags=0x003ffffb</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">max_readahead=0x00020000</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">EROFS: erofsfuse_init()
Line[23] Using FUSE protocol 7.27</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"> INIT: 7.19</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"> flags=0x00000011</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
max_readahead=0x00020000</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"> max_write=0x00020000</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"> max_background=0</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
congestion_threshold=0</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"> unique: 1, success,
outsize: 40</blockquote>
</blockquote>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 20 Aug 2021 at 15:49,
Gao Xiang <<a href="mailto:xiang@kernel.org"
moz-do-not-send="true" class="moz-txt-link-freetext">xiang@kernel.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi
Igor,<br>
<br>
On Fri, Aug 20, 2021 at 03:34:05PM +0300, Igor Eisberg wrote:<br>
> Hey there, getting straight to the point.<br>
> Our team is using Debian 10, in which erofs mounting is
not supported and<br>
> we have no option of updating the kernel, nor do we have
sudo permissions<br>
> on this server.<br>
> <br>
> Our only choice is to use erofsfuse to mount an Android
image (compression<br>
> was used on that image), for the sole purpose of
extracting its contents to<br>
> another folder for processing.<br>
> Tried on Debian 10, pop_OS! and even the latest Kubuntu
(where native<br>
> mounting is supported), but on all of them I could not
copy files which are<br>
> compressed from the mounted image to another location
(ext4 file system).<br>
> <br>
> The error I'm getting is: "Operation not supported (95)"<br>
> <br>
<br>
Thanks for your feedback.<br>
<br>
Could you check if lz4 was built-in when building erofsfuse? I
guess<br>
that is the reason (lack of lz4 support builtin).<br>
<br>
If not, could you add -d to erofsfuse when starting up?<br>
<br>
Thanks,<br>
Gao Xiang<br>
<br>
> Notes:<br>
> * Only extremely small (< 1 KB) files which are stored
uncompressed are<br>
> copied successfully.<br>
> * Copying works perfectly when mounting the image with
"sudo mount" on the<br>
> latest Kubuntu, so it has to be something with erofsfuse.<br>
> <br>
> Anything you can do to help resolve this?<br>
> <br>
> Best,<br>
> Igor.<br>
</blockquote>
</div>
</blockquote>
</body>
</html>