xfs
[Top] [All Lists]

Re: xfs corrupted

To: Stefanita Rares Dumitrescu <katmai@xxxxxxxxxxxxxxx>
Subject: Re: xfs corrupted
From: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Date: Tue, 15 Oct 2013 22:05:28 +0200
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <525D9E3B.5040507@xxxxxxxxxxxxxxx>
Organization: Intellique
References: <1381826507281-35009.post@xxxxxxxxxxxxx> <20131015203434.2f336fd8@xxxxxxxxxxxxxx> <525D8D67.2090301@xxxxxxxxxxxxxxx> <20131015213447.40d05ea0@xxxxxxxxxxxxxx> <525D9E3B.5040507@xxxxxxxxxxxxxxx>
Le Tue, 15 Oct 2013 21:57:47 +0200 vous Ãcriviez:

> I have a machine with 4 gb ram, and 4 gb swap, and it's all been
> eaten up by xfs_repair, and slowed down to a crawl.
> 
> the sdc partition is the one being checked. i am all out of memory
> now. 4 gb phys and 4 gb swap all gone.
> 
> http://pastebin.ca/2467064
> 
> posted to pastebin for better formatting.
> 
> i was using:
> 
> [root@kp4 ~]# xfs_repair -o bhash=16384 -o ihash=16384 -o
> ag_stride=16 \
>  > /dev/sdc >& /tmp/repair.log  
> 
> but now i am trying the -m option to see if the memory can be
> limited, so the server doesn't freeze.

Or maybe you could turn the swap off entirely for the check. Apparently
all of the IOs are going to sda, which I suppose hosts the swap.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |   <eflorac@xxxxxxxxxxxxxx>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

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