Description of problem: $ mkdir testdata $ touch testdata/马磊 $ sudo chown -R root.root testdata # workaround for bug 584228 $ virt-make-fs -t vfat --partition=mbr testdata disk.img Formatting 'disk.img', fmt=raw size=292864 virt-make-fs: error copying contents into filesystem An error here usually means that the program did not estimate the filesystem size correctly. Please read the BUGS section of the manpage. tar_in: tar subcommand failed on directory: /: tar: ./\351\251\254\347\243\212: Cannot open: Invalid argument tar: Exiting with failure status due to previous errors at /usr/bin/virt-make-fs line 512, <PIPE> line 1. Version-Release number of selected component (if applicable): 1.18.0 How reproducible: 100% Steps to Reproduce: 1. See above.
Worked around by adding utf8 option in virt-make-fs (commit d5d9ceee8b56a10761e207ad9970ebf704fc46e8).