xfs
[Top] [All Lists]

Re: xfs corrupted

To: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Subject: Re: xfs corrupted
From: Stefanita Rares Dumitrescu <katmai@xxxxxxxxxxxxxxx>
Date: Tue, 15 Oct 2013 22:18:31 +0200
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20131015220528.19b15823@xxxxxxxxxxxxxx>
References: <1381826507281-35009.post@xxxxxxxxxxxxx> <20131015203434.2f336fd8@xxxxxxxxxxxxxx> <525D8D67.2090301@xxxxxxxxxxxxxxx> <20131015213447.40d05ea0@xxxxxxxxxxxxxx> <525D9E3B.5040507@xxxxxxxxxxxxxxx> <20131015220528.19b15823@xxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
well that did not work. the machine just freezes.

On 15/10/2013 22:05, Emmanuel Florac wrote:
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.


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