mkfs.erofs fails (failed to build shared xattrs, err 61)
Gao Xiang
hsiangkao at linux.alibaba.com
Tue Mar 12 21:44:48 AEDT 2024
Hi Gael,
On 2024/3/12 17:57, Gael Donval wrote:
> Dear list,
>
> $ mkdir foo && touch foo/bar && mkfs.erofs foo.erofs.img foo
>
> mkfs.erofs 1.7.1
> <E> erofs: failed to build shared xattrs: [Error 61] No data available
> <E> erofs: Could not format the device : [Error 61] No data available
>
> That is at a location backed by BTRFS (btrfs-progs v6.7.1) on kernel 6.8.0.
>
> If I use a TMPFS-supported folder instead all goes well.
>
>
> Of course (NB "-x-1"),
>
> $ mkdir foo && touch foo/bar && mkfs.erofs -x-1 foo.erofs.img foo
>
> also works but is not how mkfs.erofs is meant to work in the general case.
Thanks for your feedback.
Currently I don't have some BTRFS environment, I could set up one later.
Yet in parallel could you provide a full message of
"strace mkfs.erofs -x-1 foo.erofs.img foo" on BTRFS too?
Thanks,
Gao Xiang
>
> Kind regards,
> Gaël
More information about the Linux-erofs
mailing list