From: David Arendt <admin-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
To: Ryusuke Konishi <ryusuke-sG5X7nlA6pw@public.gmane.org>
Cc: users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
Subject: Re: error on kernel 2.6.29 while running cleaner on a 1tb volume
Date: Sat, 28 Mar 2009 09:09:27 +0100 [thread overview]
Message-ID: <49CDDB37.9030603@prnet.org> (raw)
In-Reply-To: <20090327.194735.32664212.ryusuke-sG5X7nlA6pw@public.gmane.org>
Hi,
today I have tried the lssu on a dedicated server running nilfs and here
I had the following result:
fr ~ # lssu -a /dev/sda2 | grep -e "2009-" | grep -v -e "-d-"
2558 2009-03-23 16:59:05 --- 2048
4967 2009-03-28 09:07:10 ad- 1928
so I suppose corruption will soon occur here.
Is there something I can do to manually mark it as dirty or should I go
the backup/restore route ?
Thanks in advance
Bye,
David Arendt
Ryusuke Konishi wrote:
> Hi David,
> On Fri, 27 Mar 2009 15:20:05 +0900 (JST), Ryusuke Konishi wrote:
>
>> Hi,
>> On Fri, 27 Mar 2009 06:55:56 +0100, David Arendt <admin-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org> wrote:
>>
>>> Hi,
>>>
>>> one thing I forgot to mention, in /etc/nilfs_cleanerd.conf I changed
>>> n_segments_per clean to 20 in order to clean faster when running the
>>> cleaner manually. Could this have any influence ?
>>>
>> Yes, maybe. It raises memory pressure then may induce unusual path of
>> execution like cache invalidation. It may even increase the chance of
>> revealing underlying problems in relocation of on-disk blocks.
>>
>> Decreasing cleaning_interval is safer in general. We'll try the
>> condition.
>>
>> Regards,
>> Ryusuke
>>
>
> I examined the case of nsegments_per_clean = 20 and met an
> inconsistent state as follows:
>
> # lssu -a
> SEGNUM DATE TIME STAT NBLOCKS
> ...
> 7418 2009-03-27 18:41:33 -d- 2048
> 7419 2009-03-27 18:41:48 -d- 2048
> 7420 2009-03-27 18:42:08 -d- 2048
> 7421 2009-03-27 18:42:28 -d- 2048
> 7422 2009-03-27 18:42:48 --- 2048
> 7423 2009-03-27 18:43:03 --- 2048
> 7424 2009-03-27 18:43:23 -d- 2048
> 7425 2009-03-27 18:43:33 ad- 1166
> 7426 ---------- --:--:-- ad- 0
> 7427 ---------- --:--:-- --- 0
> ...
>
> Here, the segment 7422 and 7423 are in-use but not dirty.
>
> This is crucial because these segments will be reallocated and
> overridden later. I suspect there is a bug of error handling
> somewhere, and it evaporates the dirty flag and causes the crash.
>
> If you have a (not broken) nilfs partition made under heavy stress,
> could you try ``lssu -a'' likewise ?
>
> I'll dig into this from now.
>
> Regards,
> Ryusuke Konishi
>
next prev parent reply other threads:[~2009-03-28 8:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-25 5:22 error on kernel 2.6.29 while running cleaner on a 1tb volume David Arendt
[not found] ` <49C9BF81.6090203-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
2009-03-25 11:18 ` admin-/LHdS3kC8BfYtjvyW6yDsg
2009-03-25 17:19 ` Ryusuke Konishi
[not found] ` <20090326.021932.61004088.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-03-27 5:18 ` David Arendt
[not found] ` <49CC6193.9040900-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
2009-03-27 5:55 ` David Arendt
[not found] ` <49CC6A6C.9060006-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
2009-03-27 6:20 ` Ryusuke Konishi
[not found] ` <20090327.152005.04656990.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-03-27 10:47 ` Ryusuke Konishi
[not found] ` <20090327.194735.32664212.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-03-27 11:13 ` admin-/LHdS3kC8BfYtjvyW6yDsg
2009-03-28 8:09 ` David Arendt [this message]
[not found] ` <49CDDB37.9030603-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
2009-03-28 12:52 ` Ryusuke Konishi
[not found] ` <20090328.215257.15833655.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-03-29 15:25 ` David Arendt
[not found] ` <49CF92EC.2020803-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
2009-03-29 16:38 ` Ryusuke Konishi
2009-03-27 5:58 ` Ryusuke Konishi
[not found] ` <20090327.145831.16149916.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-03-27 11:20 ` admin-/LHdS3kC8BfYtjvyW6yDsg
[not found] ` <44728.212.24.212.169.1238152837.squirrel-YfwCgBv0H3oBXFe83j6qeQ@public.gmane.org>
2009-03-27 11:36 ` Ryusuke Konishi
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=49CDDB37.9030603@prnet.org \
--to=admin-/lhds3kc8bfytjvyw6ydsg@public.gmane.org \
--cc=ryusuke-sG5X7nlA6pw@public.gmane.org \
--cc=users-JrjvKiOkagjYtjvyW6yDsg@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.