From: Emmanuel Florac <eflorac@intellique.com>
To: Lampa <lampacz@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: xfs_repair use all memory
Date: Wed, 17 Jun 2015 13:42:00 +0200 [thread overview]
Message-ID: <20150617134200.6d5b08f3@harpe.intellique.com> (raw)
In-Reply-To: <CAG_XuNWJhCGrSB7jOi54wzdjxXVec+i=s6szkWea=8sx7SD50g@mail.gmail.com>
Le Wed, 17 Jun 2015 13:33:48 +0200
Lampa <lampacz@gmail.com> écrivait:
> unable to repair - running without -n parameter requires more memory.
> Always killed by kernel
>
If you have some storage room available on another filesystem, create
some swap space. I've done it once on a 1 GB RAM machine (adding up 8
GB of swap). The repair will be much, much longer but it works.
To create 64GB of swap space in a file, do something like this:
dd if=/dev/zero bs=1M count=65536 of=/some/file.swp
mkswap /some/file.swp
swapon /some/file.swp
However preferably don't use a single spinning drive, it's much too
slow. Flash devices are to be preferred, even a good quality USB thumb
drive will do.
--
------------------------------------------------------------------------
Emmanuel Florac | Direction technique
| Intellique
| <eflorac@intellique.com>
| +33 1 78 94 84 02
------------------------------------------------------------------------
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2015-06-17 11:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-12 10:14 xfs_repair use all memory Lampa
2015-06-12 10:27 ` Emmanuel Florac
2015-06-12 10:36 ` Lampa
2015-06-12 13:43 ` Emmanuel Florac
2015-06-17 11:33 ` Lampa
2015-06-17 11:37 ` Carsten Aulbert
2015-06-17 11:42 ` Emmanuel Florac [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150617134200.6d5b08f3@harpe.intellique.com \
--to=eflorac@intellique.com \
--cc=lampacz@gmail.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox