I've some other issue here.
The xfsdump work, but xfsrestore can't restore the dump file correctly./sbin/xfsrestore: NOTE: ino 131 salvaging file, placing in orphanage/7772637.4193481073/resource98761.ini
/sbin/xfsrestore: NOTE: ino 50858443 gen 697595483 not referenced: placing in orphanage
2014-10-16 14:04 GMT+08:00 Tommy Wu <wu.tommy@xxxxxxxxx>:
sorry, miss the 2nd one.after apply both of them, xfsdump work fine now.--2014-10-16 13:22 GMT+08:00 Eric Sandeen <sandeen@xxxxxxxxxxx>:On Oct 15, 2014, at 11:14 PM, Tommy Wu <wu.tommy@xxxxxxxxx> wrote:after apply above patch,Which one? I pointed at 2... Did you apply both?Ericthe xfsdump will hang after this message:
/sbin/xfsdump: dumping non-directory files2014-10-16 11:33 GMT+08:00 Eric Sandeen <sandeen@xxxxxxxxxxx>:On 10/15/14 9:31 PM, Tommy Wu wrote:
> Hi!
>
> xfsdump 3.1.4
> xfsprogs 3.2.1
> linux kerenl 3.17/3.17.1
>
...
> It just create a small dump file, and if I run the same xfsdump again (or umount the filesystem), it will hang, like:
>
> fw1:/vol/backup/fw1# /sbin/xfsdump -v trace,drive=debug,media=debug -l 0 -o -J -F - /dev/vg/root | gzip > test.gz
> /sbin/xfsdump: using file dump (drive_simple) strategy
> /sbin/xfsdump: version 3.1.4 (dump format 3.0)
> /sbin/xfsdump: level 0 dump of fw1.teatime.com.tw:/
> /sbin/xfsdump: dump date: Thu Oct 16 10:30:09 2014
> /sbin/xfsdump: session id: b8354300-d54c-4131-b39c-7c0b63968208
> /sbin/xfsdump: session label: ""
> /sbin/xfsdump: ino map phase 1: constructing initial dump list
>
>
> switch back to kernel 3.16, the same command work fine.
>
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/xfs?id=a8b1ee8bafc765ebf029d03c5479a69aebff9693
addresses the small backup file, and
[PATCH] xfs: bulkstat doesn't release AGI buffer on error
(on the list) most likely addresses the hang, I think.
-Eric
--
Tommy Wu
Tommy Wu
--
Tommy Wu
_______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs