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: Fri, 24 Oct 2014 09:43:59 +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=AxhLSNUqwQjxcLsEfxeQbWDlIZtBuUSUXhay5tyg3Po=; b=Ad2hRWh5jxMy2Dkcbw4FOUjh6PQT0FbX9+JVzK7Ha5bO7EVcXRiGHlWXKH+A4OX55i 7e/a4s5nsOILE/9FWsZbGAkpI8IPdHo7r1HYvLQLY//NZg23b7VDf9747gMHLUxXjON9 DPypwuxhF06FG95wV7l9k8XX8wFeiXVYmsDDLZk/c9jWM/eBrrY83vTIyl5o6IFJQCJ1 faRRsFpxwATb8RuAJf+FDvLH7R3ft6O4O5fyg13rdGKv/GwTMz+6Ft/4zeytxPe4VDYQ De6Mwi2s+dsIHfVtNgfWt1PsFwa2S+FPqO1EX1zR0lBzr6lNCIWFUlAb7fj6Ab14jHVV VhCQ==
In-reply-to: <CAGdb-8eq6HgYxiVei0j4bPZ4Um9NYJOkh42vZk=cibPX1s_k5A@xxxxxxxxxxxxxx>
References: <CAGdb-8dvNOdBfZ3K_g_o22vN30yBJN+pwr-0sORC+Aubv5=9Cg@xxxxxxxxxxxxxx> <543F3C9A.4060603@xxxxxxxxxxx> <CAGdb-8fE+jh0dojaScF=3Oc4Ovea=Tvw1tnRxwb+iroaZd3i9g@xxxxxxxxxxxxxx> <F2B1FDA1-8352-4D67-9873-9C069AC66E94@xxxxxxxxxxx> <CAGdb-8eq6HgYxiVei0j4bPZ4Um9NYJOkh42vZk=cibPX1s_k5A@xxxxxxxxxxxxxx>
I've some other issue here.

The xfsdump work, but xfsrestore can't restore the dump file correctly.
Got a lot of message like:
/sbin/xfsrestore: NOTE: ino 131 salvaging file, placing in orphanage/7772637.4193481073/resource98761.ini
and
/sbin/xfsrestore: NOTE: ino 50858443 gen 697595483 not referenced: placing in orphanage

Compare the file, some files are not restored.

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?

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



--

Tommy Wu



--

Tommy Wu
<Prev in Thread] Current Thread [Next in Thread>