From: Ryusuke Konishi <ryusuke-sG5X7nlA6pw@public.gmane.org>
To: users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org,
robinx99-hi6Y0CQ0nG0@public.gmane.org
Subject: Re: Kernel Bug after corrupted filesystem
Date: Sun, 04 Jan 2009 01:10:27 +0900 (JST) [thread overview]
Message-ID: <20090104.011027.32666159.ryusuke@osrg.net> (raw)
In-Reply-To: <20090103075438.264510-hi6Y0CQ0nG0@public.gmane.org>
Hi,
On Sat, 03 Jan 2009 08:54:38 +0100, robinx99-hi6Y0CQ0nG0@public.gmane.org wrote:
> Oops didn't send the mail to the mailinglist, so I will resend.
> Hi
> >
> > Thanks for your help.
> > I have another request:
> >
> > # dumpseg /dev/loop1 12
>
> root@robin-laptop:/tmp# dumpseg /dev/loop1 12
> segment: segnum = 12
> partial segment
> creation time = 2008-12-26 11:45:06
> nfinfo = 0
Uh, that was not good.
> > - This will dump the summary of the segment in question
> >
> > # dd if=/dev/loop1 bs=4k skip=24576 count=2 | hd
> >
> > - This will dump the (broken) root block of the file system
> >
> Ok I atached it to the email bzip2 compressed
This was informative.
The last segment was that written for GC and I actually confirmed that
the inconsistency of DAT root. It must be a bug of one of GC, btree,
or the DAT file.
> > According to your log, the btree root of DAT file (i.e. a table file
> > to translate disk addresses) seems inconsistent. It might not be
> > updated properly when GC moved its blocks. I suspect that it was
> > caused by some sort of GC problem.
> >
> > And, your nilfs partition seems to have shut down uncleanly before
> > this mount error repeatedly happened. Do you remember what the first
> > trouble was like?
> >
> Actualy I have no real idea. Didn't start the computer for some days
> over christmas, befor christmas I could use the filesystem withoul
> any trouble, and on december 26 I was unable to mount it. I actualy
> quite often moved files of the nilfs filesystem to an USB
> stick. Using comands like "mv /mnt/nilfs/directory/*.avi /mnt/usb &&
> poweroff". So there were some shutdowns I didn't watch, and I was
> thinking that the normal shutdown scripts should unmount every
> mounted filesystem. Well the computer was definitv off, but I have
> no idea if it could be possible that something importend was stoped
> to soon when it came to the point "sending all procecess the term
> signal"
>
> robinx99
Thank you once again.
There is no doubt that this corruption was caused by a bug of NILFS
because NILFS verifies validity of every segment with checksums.
If NILFS doesn't have any bugs, and write barrier is assured, the file
system must be recovered propery even if you have reset the PC during
GC (unless hardware failures occur, of course).
So we have to review code to find out the cause, and I believe your
information will help this.
Thanks,
Ryusuke
prev parent reply other threads:[~2009-01-03 16:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-30 13:19 Kernel Bug after corrupted filesystem robinx99-hi6Y0CQ0nG0
[not found] ` <20081230131953.298540-hi6Y0CQ0nG0@public.gmane.org>
2008-12-31 2:53 ` Ryusuke Konishi
[not found] ` <20081231.115354.105606600.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-31 3:12 ` Ryusuke Konishi
2008-12-31 11:17 ` Dennis Peiler
[not found] ` <20081231111707.25420-hi6Y0CQ0nG0@public.gmane.org>
2008-12-31 14:36 ` Ryusuke Konishi
[not found] ` <20081231.233620.76970897.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-01-01 8:34 ` dennis-peiler-hi6Y0CQ0nG0
2009-01-01 9:31 ` robinx99-hi6Y0CQ0nG0
[not found] ` <20090101093121.302730-hi6Y0CQ0nG0@public.gmane.org>
2009-01-01 15:27 ` Ryusuke Konishi
[not found] ` <20090102.002735.88475791.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-01-03 7:54 ` robinx99-hi6Y0CQ0nG0
[not found] ` <20090103075438.264510-hi6Y0CQ0nG0@public.gmane.org>
2009-01-03 16:10 ` Ryusuke Konishi [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=20090104.011027.32666159.ryusuke@osrg.net \
--to=ryusuke-sg5x7nla6pw@public.gmane.org \
--cc=robinx99-hi6Y0CQ0nG0@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox