Re: xfs corrupted

Emmanuel Florac
2013-10-15T20:05:48Z

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@intellique.com>
| +33 1 78 94 84 02
------------------------------------------------------------------------