Cannot restore with fsarchiver 6.18

Post here if you found a bug or something really not expected in the program
Post Reply
patrick013
Posts: 7
Joined: Sat Sep 18, 2010 6:02 am

Cannot restore with fsarchiver 6.18

Post by patrick013 » Thu Feb 27, 2014 1:12 pm

Saved archive with 6.18, 6.18 would not restore.
Was able to restore with 6.17. Code below.
This was with 3.2.x and 3.4.x kernels.

Code: Select all

[[email protected] patrick]# fsarchiver restfs -v /media/backups/LXDE-2011-F.fsa id=0,dest=/dev/sdb13
============= extracting filesystem 0 =============
executing [mke2fs -V]...
command [mke2fs -V] returned 0
executing [mke2fs -V]...
command [mke2fs -V] returned 0
executing [mke2fs /dev/sdb13  -q  -r 1    -L 'LXDE2011-F'  -b 4096  -I 256  -i 512  -O has_journal,ext_attr,resize_inode,dir_index,filetype,extent,^journal_dev,^flex_bg,^meta_bg,^mmp,large_file,huge_file,sparse_super,uninit_bg,dir_nlink,extra_isize,^bigalloc ]...
command [mke2fs /dev/sdb13  -q  -r 1    -L 'LXDE2011-F'  -b 4096  -I 256  -i 512  -O has_journal,ext_attr,resize_inode,dir_index,filetype,extent,^journal_dev,^flex_bg,^meta_bg,^mmp,large_file,huge_file,sparse_super,uninit_bg,dir_nlink,extra_isize,^bigalloc ] returned 1
fs_ext2.c#284,extfs_mkfs(): command [mke2fs /dev/sdb13  -q  -r 1    -L 'LXDE2011-F'  -b 4096  -I 256  -i 512  -O has_journal,ext_attr,resize_inode,dir_index,filetype,extent,^journal_dev,^flex_bg,^meta_bg,^mmp,large_file,huge_file,sparse_super,uninit_bg,dir_nlink,extra_isize,^bigalloc ] failed with return status=1
oper_restore.c#1280,extractar_filesystem_extract(): cannot format the filesystem ext4 on partition /dev/sdb13
[[email protected] patrick]#

Lazy_Kent
Posts: 53
Joined: Sun Nov 15, 2009 1:08 pm
Location: Moscow, Russia

Re: Cannot restore with fsarchiver 6.18

Post by Lazy_Kent » Sat Mar 01, 2014 4:00 pm

Confirmed.

Code: Select all

# fsarchiver -j2 -z7 savefs boot.fsa /dev/sda1
Statistics for filesystem 0
* files successfully processed:....regfiles=47, directories=3, symlinks=3, hardlinks=0, specials=0
* files with errors:...............regfiles=0, directories=0, symlinks=0, hardlinks=0, specials=0

# fsarchiver archinfo boot.fsa
====================== archive information ======================
Archive type: 			filesystems
Filesystems count: 		1
Archive id: 			53170e6b
Archive file format: 		FsArCh_002
Archive created with: 		0.6.18
Archive creation date: 		2014-03-01_19-44-37
Archive label: 			<none>
Minimum fsarchiver version:	0.6.4.0
Compression level: 		7 (lzma level 1)
Encryption algorithm: 		none

===================== filesystem information ====================
Filesystem id in archive: 	0
Filesystem format: 		ext3
Filesystem label: 		boot
Filesystem uuid: 		f933b9fe-12e9-425d-8348-74d289bd0c2b
Original device: 		/dev/sda1
Original filesystem size: 	94.72 MB (99317760 bytes)
Space used in filesystem: 	63.16 MB (66230272 bytes)

# fsarchiver -v restfs boot.fsa id=0,dest=/dev/sda1
============= extracting filesystem 0 =============
executing [mke2fs -V]...
command [mke2fs -V] returned 0
executing [mke2fs -V]...
command [mke2fs -V] returned 0
executing [mke2fs /dev/sda1  -q  -r 1    -L 'boot'  -b 1024  -I 128  -i 251  -O has_journal,ext_attr,resize_inode,dir_index,filetype,^extent,^journal_dev,^flex_bg,^meta_bg,^mmp,^large_file,^huge_file,sparse_super,^uninit_bg,^dir_nlink,^extra_isize,^bigalloc ]...
command [mke2fs /dev/sda1  -q  -r 1    -L 'boot'  -b 1024  -I 128  -i 251  -O has_journal,ext_attr,resize_inode,dir_index,filetype,^extent,^journal_dev,^flex_bg,^meta_bg,^mmp,^large_file,^huge_file,sparse_super,^uninit_bg,^dir_nlink,^extra_isize,^bigalloc ] returned 1
fs_ext2.c#284,extfs_mkfs(): command [mke2fs /dev/sda1  -q  -r 1    -L 'boot'  -b 1024  -I 128  -i 251  -O has_journal,ext_attr,resize_inode,dir_index,filetype,^extent,^journal_dev,^flex_bg,^meta_bg,^mmp,^large_file,^huge_file,sparse_super,^uninit_bg,^dir_nlink,^extra_isize,^bigalloc ] failed with return status=1
oper_restore.c#1280,extractar_filesystem_extract(): cannot format the filesystem ext3 on partition /dev/sda1

Lazy_Kent
Posts: 53
Joined: Sun Nov 15, 2009 1:08 pm
Location: Moscow, Russia

Re: Cannot restore with fsarchiver 6.18

Post by Lazy_Kent » Sat Mar 08, 2014 9:53 am

Fixed in 0.6.19.

patrick013
Posts: 7
Joined: Sat Sep 18, 2010 6:02 am

Re: Cannot restore with fsarchiver 6.18

Post by patrick013 » Sun Mar 09, 2014 3:25 am

Very good to hear that.

Post Reply