From: Vyacheslav Dubeyko <slava-yeENwD64cLxBDgjK7y7TUQ@public.gmane.org>
To: Piotr Szymaniak <szarpaj-TbOm9Ca2r9GrDJvtcaxF/A@public.gmane.org>
Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: snapshots contain the same rrd database
Date: Wed, 26 Feb 2014 18:39:01 +0400 [thread overview]
Message-ID: <1393425541.5481.25.camel@slavad-CELSIUS-H720> (raw)
In-Reply-To: <20140226142140.GD2022@wloczykij>
On Wed, 2014-02-26 at 15:21 +0100, Piotr Szymaniak wrote:
> On Wed, Feb 26, 2014 at 05:54:21PM +0400, Vyacheslav Dubeyko wrote:
> > Hi Piotr,
> >
> > On Wed, 2014-02-26 at 14:32 +0100, Piotr Szymaniak wrote:
> > > Hi,
> > >
> > > I got a system crash after some 160+ days uptime. After a hard reboot I
> > > noticed my rrd database looks corrupted.
> > >
> > > So I changed some recent checkpoints to snapshots, mounted them and...
> > > all the rrd files are the same!
> > >
> >
> > To be honest, I don't understand clearly:
> > (1) How did you get the issue?
>
> To me it looks like the file hasn't changed since the first boot. Like
> it's not written at all? Is there a way to check something like "file
> position" on disk in specific snapshot?
>
> rrds are a bit weird databases. When created they are, ie. size A. And
> all the way in time they gather some data and are always in that size A.
> The size doesn't change. Maybe this is related?
So, as far as I can judge, you can reproduce the issue stably. And you
suppose that file doesn't be written at all. How segctor and
nilfs-clenared threads behave itself as processes? Could you check that
they doesn't eat 100% of CPU?
If segctor is unable to flush data then it makes sense to use "echo t
> /proc/sysrq-trigger" for getting info about processes state. This
command outputs into system log usually.
Thanks,
Vyacheslav Dubeyko.
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-02-26 14:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-26 13:32 snapshots contain the same rrd database Piotr Szymaniak
2014-02-26 13:54 ` Vyacheslav Dubeyko
2014-02-26 14:21 ` Piotr Szymaniak
2014-02-26 14:39 ` Vyacheslav Dubeyko [this message]
2014-02-27 2:45 ` Ryusuke Konishi
[not found] ` <20140227.114547.220041242.konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2014-02-27 10:58 ` Piotr Szymaniak
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=1393425541.5481.25.camel@slavad-CELSIUS-H720 \
--to=slava-yeenwd64clxbdgjk7y7tuq@public.gmane.org \
--cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=szarpaj-TbOm9Ca2r9GrDJvtcaxF/A@public.gmane.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