mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Kiper <dkiper@net-space.pl>
To: joe shmoe <joeshmoeypeter@yahoo.com>
Cc: Daniel Kiper <dkiper@net-space.pl>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	daniel.kiper@oracle.com
Subject: Re: kdump/kexec vmcore size doubles each time
Date: Tue, 24 Jul 2012 16:06:45 +0200	[thread overview]
Message-ID: <20120724140645.GA17687@router-fw-old.local.net-space.pl> (raw)
In-Reply-To: <1343087299.65126.YahooMailNeo@web160606.mail.bf1.yahoo.com>

On Mon, Jul 23, 2012 at 04:48:19PM -0700, joe shmoe wrote:
> Hi,
> Thank you for the reply.

You are welcome.

> I ended up opting for writing to filesystem rather than
> raw_device and this seems to have helped me sidestep the
> problem for now.

Good move.

> Unfortunately, I can't quite make a jump to later sources.
>
> I do have another question, I see KDUMP_KEEP_OLD_DUMPS mentioned
> to automatically clean up prior dumps (for ex: http://dedoimedo.com/computers/kdump.html
> and other SUSE docs).
> However, I cannot find any logic in sources to do this (and sure
> enough I don't see older cores in my /var/crash/ path clean up
> as new cores are dumped).
>
> Could someone please comment if:
> (i) KDUMP_KEEP_OLD_DUMPS is unsupported or not. If it IS supported,
> could someone please help with the relevant source code so I could
> debug why it isn't working? Yes, I did download kexec-tools git but
> cannot find anything relevant.
>
> (ii) If there is NO explicit source code to achieve this -- then
> do folks achieve such a cleanup through KDUMP_PRE and KDUMP_POST scripts?
> If yes, is there a standard-ish script out there to achieve this?

Sorry but I could not help because I do not use SUSE.
But maybe guys from SUSE could point out something.

Daniel

      reply	other threads:[~2012-07-24 14:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 22:08 joe shmoe
2012-07-20  9:36 ` Daniel Kiper
2012-07-23 23:48   ` joe shmoe
2012-07-24 14:06     ` Daniel Kiper [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=20120724140645.GA17687@router-fw-old.local.net-space.pl \
    --to=dkiper@net-space.pl \
    --cc=daniel.kiper@oracle.com \
    --cc=joeshmoeypeter@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®