xfs
[Top] [All Lists]

Re: xfsdump not work in 3.17

To: Tommy Wu <wu.tommy@xxxxxxxxx>
Subject: Re: xfsdump not work in 3.17
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu, 16 Oct 2014 00:22:33 -0500
Cc: xfs <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <CAGdb-8fE+jh0dojaScF=3Oc4Ovea=Tvw1tnRxwb+iroaZd3i9g@xxxxxxxxxxxxxx>
References: <CAGdb-8dvNOdBfZ3K_g_o22vN30yBJN+pwr-0sORC+Aubv5=9Cg@xxxxxxxxxxxxxx> <543F3C9A.4060603@xxxxxxxxxxx> <CAGdb-8fE+jh0dojaScF=3Oc4Ovea=Tvw1tnRxwb+iroaZd3i9g@xxxxxxxxxxxxxx>
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?

Eric

the xfsdump will hang after this message:

/sbin/xfsdump: dumping non-directory files


2014-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
<Prev in Thread] Current Thread [Next in Thread>