fsarchiver: cannot make filesystem
Alpine Edge, tested with x86_64 and aarch64
In order to obtain files from the .fsa
archive I use this simple trick:
- Creating a dummy block:
$ dd if=/dev/zero of=test.img count=1024 bs=1M
1024+0 records in
1024+0 records out
- Creating a loop device:
$ losetup /dev/loop0 test.img
$ losetup -a
/dev/loop/0: []: (/home/my_user/test.img)
- Restoring
.fsa
:
$ fsarchiver restfs backup_test.fsa id=0,dest=/dev/loop0
In the third step, fsarchiver
throws this error:
fs_ext2.c#373,extfs_mkfs(): command [mke2fs /dev/loop0 -q -F -b 4096 -U 3671e993-ecaa-44a9-baca-89935e15ffa9 -I 256 -r 1 -O has_journal,ext_attr,resize_inode,dir_index,^sparse_super2,filetype,extent,^journal_dev,flex_bg,^meta_bg,^mmp,64bit,^inline_data,^ea_inode,^large_dir,large_file,huge_file,sparse_super,^uninit_bg,dir_nlink,extra_isize,^bigalloc,metadata_csum,^project ] failed with return status=1
oper_restore.c#1296,extractar_filesystem_extract(): cannot make filesystem ext4 on partition /dev/loop0
On the Arch Linux installation fsarchiver
works fine.