xfs
[Top] [All Lists]

Re: xfs_repair use all memory

To: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Subject: Re: xfs_repair use all memory
From: Lampa <lampacz@xxxxxxxxx>
Date: Fri, 12 Jun 2015 12:36:58 +0200
Cc: 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:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Tus5aD/U5LNm9URdns+XBufYZO85NTBgX9PeHpd5FSY=; b=gWP7sHP61amYNugpTTFeQkzoNEztqbBqbUoUyG4p+YB2SuIGcXhBhAKQH3xo/XeJmU BTjg6WMOgBc+G7X7RM47YvK6BLUkctmSgBSWIzJMUvXstv6NSbjbOUd1z5QU8HOAc9Au uyDnhTtjpm4yx30WbEDYHZfXfZDq9G75ZP6w4iWQL573j8liccNKL5H6RB8N36sVNLG7 raqxzSVTinwIDe1+9eyR30jmXJ+HD+8VuqlMe3Yat+B56b2Y23dy1PRDdiePne+jZ99u IKfkjo4tAWdzVDyCskiHJRcYr4Kg0UGoikufwswZgIbkHT1WmFxTPVuM7wfnvgqzapPN 36RQ==
In-reply-to: <20150612122750.21c2a8e4@xxxxxxxxxxxxxxxxxxxx>
References: <CAG_XuNWrbyb97h3moqgYJLdvMr3J1OPGb2VknDTpcO0-8upMnw@xxxxxxxxxxxxxx> <20150612122750.21c2a8e4@xxxxxxxxxxxxxxxxxxxx>
Hello,

thank you for fast reply. I run memtest - and it's ok. It's virtual
host running under esxi 5.5

If i try delete directory on drive got lot of errors

[  150.327050] Pid: 5892, comm: rm Not tainted 3.2.0-4-amd64 #1 Debian
3.2.68-1+deb7u1
[  150.327053] Call Trace:
[  150.327066]  [<ffffffffa02fb567>] ? xfs_da_do_buf+0x1aa/0x53c [xfs]
[  150.327078]  [<ffffffffa02fbb67>] ?
xfs_da_read_buf.constprop.12+0x24/0x29 [xfs]
[  150.327091]  [<ffffffffa02fc795>] ? xfs_da_path_shift+0xb6/0x171 [xfs]
[  150.327104]  [<ffffffffa03025f1>] ? xfs_dir2_leafn_toosmall+0x1ae/0x1db [xfs]
[  150.327117]  [<ffffffffa02fceb1>] ? xfs_da_join+0x9a/0x18f [xfs]
[  150.327129]  [<ffffffffa02fada3>] ? xfs_da_fixhashpath+0x5c/0xe3 [xfs]
[  150.327143]  [<ffffffffa0303485>] ?
xfs_dir2_node_removename+0x445/0x470 [xfs]
[  150.327155]  [<ffffffffa02fd850>] ? xfs_dir_removename+0x112/0x120 [xfs]
[  150.327168]  [<ffffffffa02e2cfe>] ? xfs_remove+0x1f9/0x321 [xfs]
[  150.327180]  [<ffffffffa02db16d>] ? xfs_vn_unlink+0x37/0x6e [xfs]
[  150.327185]  [<ffffffff81105719>] ? vfs_unlink+0x68/0xbb
[  150.327189]  [<ffffffff81106613>] ? do_unlinkat+0xd0/0x156
[  150.327194]  [<ffffffff81356172>] ? system_call_fastpath+0x16/0x1b
[  150.327198] XFS (dm-0): Internal error xfs_trans_cancel at line
1925 of file /build/linux-4wkEzn/linux-3.2.68/fs/xfs/xfs_trans.c.
Caller 0xffffffffa02e2e11
[  150.327200]
[  150.327203] Pid: 5892, comm: rm Not tainted 3.2.0-4-amd64 #1 Debian
3.2.[  150.327050] Pid: 5892, comm: rm Not tainted 3.2.0-4-amd64 #1
Debian 3.2.68-1+deb7u1
[  150.327053] Call Trace:
[  150.327066]  [<ffffffffa02fb567>] ? xfs_da_do_buf+0x1aa/0x53c [xfs]
[  150.327078]  [<ffffffffa02fbb67>] ?
xfs_da_read_buf.constprop.12+0x24/0x29 [xfs]
[  150.327091]  [<ffffffffa02fc795>] ? xfs_da_path_shift+0xb6/0x171 [xfs]
[  150.327104]  [<ffffffffa03025f1>] ? xfs_dir2_leafn_toosmall+0x1ae/0x1db [xfs]
[  150.327117]  [<ffffffffa02fceb1>] ? xfs_da_join+0x9a/0x18f [xfs]
[  150.327129]  [<ffffffffa02fada3>] ? xfs_da_fixhashpath+0x5c/0xe3 [xfs]
[  150.327143]  [<ffffffffa0303485>] ?
xfs_dir2_node_removename+0x445/0x470 [xfs]
[  150.327155]  [<ffffffffa02fd850>] ? xfs_dir_removename+0x112/0x120 [xfs]
[  150.327168]  [<ffffffffa02e2cfe>] ? xfs_remove+0x1f9/0x321 [xfs]
[  150.327180]  [<ffffffffa02db16d>] ? xfs_vn_unlink+0x37/0x6e [xfs]
[  150.327185]  [<ffffffff81105719>] ? vfs_unlink+0x68/0xbb
[  150.327189]  [<ffffffff81106613>] ? do_unlinkat+0xd0/0x156
[  150.327194]  [<ffffffff81356172>] ? system_call_fastpath+0x16/0x1b
[  150.327198] XFS (dm-0): Internal error xfs_trans_cancel at line
1925 of file /build/linux-4wkEzn/linux-3.2.68/fs/xfs/xfs_trans.c.
Caller 0xffffffffa02e2e11
[  150.327200]
[  150.327203] Pid: 5892, comm: rm Not tainted 3.2.0-4-amd64 #1 Debian
3.2.68-1+deb7u1
[  150.327205] Call Trace:
[  150.327220]  [<ffffffffa031265e>] ? xfs_trans_cancel+0x55/0xd7 [xfs]
[  150.327232]  [<ffffffffa02e2e11>] ? xfs_remove+0x30c/0x321 [xfs]
[  150.327241]  [<ffffffffa02db16d>] ? xfs_vn_unlink+0x37/0x6e [xfs]
[  150.327245]  [<ffffffff81105719>] ? vfs_unlink+0x68/0xbb
[  150.327248]  [<ffffffff81106613>] ? do_unlinkat+0xd0/0x156
[  150.327250]  [<ffffffff81356172>] ? system_call_fastpath+0x16/0x1b
[  150.327254] XFS (dm-0): xfs_do_force_shutdown(0x8) called from line
1926 of file /build/linux-4wkEzn/linux-3.2.68/fs/xfs/xfs_trans.c.
Return address = 0xffffffffa0312677
[  150.327262] XFS (dm-0): Corruption of in-memory data detected.
Shutting down filesystem
[  150.327264] XFS (dm-0): Please umount the filesystem and rectify
the problem(s)
[  159.304287] XFS (dm-0): xfs_log_force: error 5 returned.
68-1+deb7u1
[  150.327205] Call Trace:
[  150.327220]  [<ffffffffa031265e>] ? xfs_trans_cancel+0x55/0xd7 [xfs]
[  150.327232]  [<ffffffffa02e2e11>] ? xfs_remove+0x30c/0x321 [xfs]
[  150.327241]  [<ffffffffa02db16d>] ? xfs_vn_unlink+0x37/0x6e [xfs]
[  150.327245]  [<ffffffff81105719>] ? vfs_unlink+0x68/0xbb
[  150.327248]  [<ffffffff81106613>] ? do_unlinkat+0xd0/0x156
[  150.327250]  [<ffffffff81356172>] ? system_call_fastpath+0x16/0x1b
[  150.327254] XFS (dm-0): xfs_do_force_shutdown(0x8) called from line
1926 of file /build/linux-4wkEzn/linux-3.2.68/fs/xfs/xfs_trans.c.
Return address = 0xffffffffa0312677
[  150.327262] XFS (dm-0): Corruption of in-memory data detected.
Shutting down filesystem
[  150.327264] XFS (dm-0): Please umount the filesystem and rectify
the problem(s)
[  159.304287] XFS (dm-0): xfs_log_force: error 5 returned.


i will try your xfsprogs version


2015-06-12 12:27 GMT+02:00 Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>:
> Le Fri, 12 Jun 2015 12:14:49 +0200
> Lampa <lampacz@xxxxxxxxx> Ãcrivait:
>
>> i have 8TB filesystem but unable to check it or repair
>>
>> df -h
>> /dev/mapper/vg0-data                                       8,0T  7,5T
>> 525G  94% /home
>
> I have successfully repaired bigger FS with 2 GB of RAM, that's weird.
> Try using a fresher xfs_repair (3.2.x), newer versions are easier on
> RAM.
>
> Just in case it may help you, here's one I compiled myself for amd64:
>
> http://update.intellique.com/pub/xfs_repair-3.2.2.gz
>
> However if you have XFS error, please first get sure you haven't an
> underlying (hardware?) problem...
>
> --
> ------------------------------------------------------------------------
> Emmanuel Florac     |   Direction technique
>                     |   Intellique
>                     |   <eflorac@xxxxxxxxxxxxxx>
>                     |   +33 1 78 94 84 02
> ------------------------------------------------------------------------



-- 
Lampa

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