From: Ryusuke Konishi <ryusuke-sG5X7nlA6pw@public.gmane.org>
To: users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org,
reinoud-S783fYmB3Ccdnm+yROfE0A@public.gmane.org
Subject: Re: nilfs2 fails to mount after io/error
Date: Sun, 07 Dec 2008 12:55:48 +0900 (JST) [thread overview]
Message-ID: <20081207.125548.06356389.ryusuke@osrg.net> (raw)
In-Reply-To: <20081206195308.GA11115-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
On Sat, 6 Dec 2008 20:53:08 +0100, Reinoud Zandijk <reinoud-S783fYmB3Ccdnm+yROfE0A@public.gmane.org> wrote:
> Hi folks, hi Ryusuke,
>
> On Sun, Dec 07, 2008 at 04:05:09AM +0900, Ryusuke Konishi wrote:
> > On Thu, 4 Dec 2008 14:04:31 +0100, Adrian Ulrich wrote:
> > Sorry to keep you waiting. ;-)
> >
> > I will attach a patch against nilfs2-utils-2.0.6, which adds the
> > tool 'fsck0.nilfs2'.
> >
> > # fsck0.nilfs2 <device name>
> >
> > will, hopefully, correct your partition.
> > (I'm not sure because it's not yet tested enough)
>
> looks nice Ryusuke. Could the problem be averted though by *only* writing the
> superblock on dismount or when the origional block would be overwritten.
> Seperated by a disc flush of course :)
Well, unless NILFS itself had destroyed data by bugs, the filesystem
should have a very good chance to be salvaged by only modifying the
superblock like this tool does.
The GC may have reused data blocks needed by the re-selected old
checkpoint, but it is likely very few since there is time lag from
when blocks are marked unused to when they are actually overwritten
under the current GC policy (i.e. FIFO order poclicy).
Is this answering your question?
Regards,
Ryusuke Konishi
next prev parent reply other threads:[~2008-12-07 3:55 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-26 18:22 nilfs2 fails to mount after io/error Adrian Ulrich
[not found] ` <20081126182158.20FD28306-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-11-27 17:10 ` Reinoud Zandijk
[not found] ` <20081127171006.GA3654-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
2008-11-27 21:55 ` Adrian Ulrich
2008-11-28 7:43 ` Ryusuke Konishi
[not found] ` <20081128.164300.47236105.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-11-28 14:37 ` Adrian Ulrich
[not found] ` <20081128153732.be4f5cf8.adrian-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-01 16:50 ` Ryusuke Konishi
[not found] ` <20081202.015029.88482681.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-01 17:14 ` Adrian Ulrich
[not found] ` <20081201171411.99215829D-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-02 5:22 ` Ryusuke Konishi
[not found] ` <20081202.142225.78011419.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-02 6:44 ` Adrian Ulrich
[not found] ` <20081202064345.31DB4802A-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-03 3:00 ` Ryusuke Konishi
[not found] ` <20081203.120021.27010822.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-03 6:49 ` Adrian Ulrich
[not found] ` <20081203064930.B64F0829D-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-03 14:39 ` Ryusuke Konishi
[not found] ` <20081203162628.B82C3829D@blinkenlights.ch>
[not found] ` <20081203162628.B82C3829D-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-04 8:06 ` Ryusuke Konishi
[not found] ` <20081204.170654.88475919.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-04 8:29 ` Adrian Ulrich
[not found] ` <20081204092947.c29d230d.adrian-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-04 12:58 ` Ryusuke Konishi
[not found] ` <20081204.215805.88483726.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-04 13:04 ` Adrian Ulrich
[not found] ` <20081204140431.ec72f1ec.adrian-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-06 19:05 ` Ryusuke Konishi
[not found] ` <20081207.040509.20004012.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-06 19:53 ` Reinoud Zandijk
[not found] ` <20081206195308.GA11115-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
2008-12-07 3:55 ` Ryusuke Konishi [this message]
2008-12-07 12:23 ` Adrian Ulrich
[not found] ` <20081207132335.868f8479.adrian-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-07 16:04 ` Ryusuke Konishi
[not found] ` <20081208.010407.85941224.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-12-08 16:57 ` Adrian Ulrich
[not found] ` <20081208165702.DC1388309-4ZM2p5qjiQGewZBzVTKGGg@public.gmane.org>
2008-12-08 19:08 ` Ryusuke Konishi
2008-12-04 8:30 ` Chris Samuel
[not found] ` <200812041931.02528.chris-Ru3vu9m2XlBAfugRpC6u6w@public.gmane.org>
2008-12-04 10:25 ` 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=20081207.125548.06356389.ryusuke@osrg.net \
--to=ryusuke-sg5x7nla6pw@public.gmane.org \
--cc=reinoud-S783fYmB3Ccdnm+yROfE0A@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