mkfs.erofs fails (failed to build shared xattrs, err 61)

Gael Donval gael.donval at manchester.ac.uk
Tue Mar 12 20:57:03 AEDT 2024


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.

Kind regards,
Gaël


More information about the Linux-erofs mailing list