xfs
[Top] [All Lists]

Re: xfsdump not work in 3.17

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: xfsdump not work in 3.17
From: Tommy Wu <wu.tommy@xxxxxxxxx>
Date: Thu, 16 Oct 2014 12:14:07 +0800
Cc: xfs <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oJmU/82t2ZP1yvoJSDEbPI10L6nqOTlFPx/3nK6VYUY=; b=MTaYhqjkJeYoyZPSvyYDLKv7DGvLTY35cGZxbBaaDVQIOH1rV5jzZ97taSCpnhMU3G +XsKyFSVUKJMn0HSM1FMT1glelK+tJjUYV5PmCHM9PvDNv+r+wVo0REFo+lJR2yLFQ9D KbyMHY0tY5ACkFtmv8+7QArh7F/olmLx/1g6rNpsMCNLlR50PmWBiMAyjlad52pwUWm8 ihKHy74dP1ALT2Uj12YqAG12njEIHFvI9cqitRUFLXefdgiOGM2OsCU/3XaUra/GK578 6stCVGFrL45fP2QM8JvM3Aq50YXjX7nHoUfEALBHCdb0QhW0VO469jklYOPI6GtvpV/5 vJkQ==
In-reply-to: <543F3C9A.4060603@xxxxxxxxxxx>
References: <CAGdb-8dvNOdBfZ3K_g_o22vN30yBJN+pwr-0sORC+Aubv5=9Cg@xxxxxxxxxxxxxx> <543F3C9A.4060603@xxxxxxxxxxx>
after apply above patch, 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>