Linux NILFS development
 help / color / mirror / Atom feed
From: Jan de Kruyf <jan.de.kruyf-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: NILFS Users mailing list <users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org>
Subject: Re: [SPAM] Re: urgent help need! disk partition info lost
Date: Fri, 6 Nov 2009 22:02:35 +0200	[thread overview]
Message-ID: <ee5afd760911061202qeb092c6tc95e305b25f843a@mail.gmail.com> (raw)
In-Reply-To: <debc30fc0911061124r1a13335v61c8df3dffa70c51-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 2396 bytes --]

Oh du cleveres Kerlchen. What a way to spend a beautiful friday!
Well you were smart after all I must say. And I would like to add that
I have done similar things with ext2 and it was not half as easy. So Nilfs
shines
as far as I am concerned.

And yes I did expect the partially lost file because the faulty superblock
was written after
the superblock at 0x400400.

So let us sign a petition to the Master (Ryusuke are you listening!) to
provide a special mount-flag
for recovery purposes only so the mounting goes on as far as practical with
suitable warnings.
Perhaps you could supply a diff with the changes you made for your case
Paul.

> I guess you're going to make a backup every week from now :)

Nah, he's got friends -- whaddo ye mean . . . .

Regards,

Jan de Kruyf.


On Fri, Nov 6, 2009 at 9:24 PM, Jérôme Poulin <jeromepoulin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:

> On Fri, Nov 6, 2009 at 12:43 PM, Paul L <ninegua-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > Ok, based on the info so far, I've successfully recovered my files!
> >
> ...
> >
> > 6. Now it seemed no way to proceed, and I decided to try my luck by
> > modifying nilfs_search_super_root(...) function to do a partial check
> > instead of a full check (by changing the flag from 1 to 0). Compiled,
> > installed, and rebooted.
> >
> This is where I'd like to add, the filesystem should always allow to
> mount read-only whatever there is corruption or not, if there is bad
> bad trouble it should mount read-only and ignore the cleanerd, isn't
> that right?
>
> > It then all worked out from there. I immediately plugged in a USB
> > drive, and copied all my files to the backup. Only one file seemed to
> > have been damaged during the incident. I didn't bother to check if all
> > the prevoius checkpoint on the nilfs2 partition worked and just went
> > ahead and re-partitioned and re-formatted the SD card.
> >
> > I must thank Jan de Kruyf for the tremendeous help! Thank you all very
> much!
> >
> > Now I'm just going to celebrate the magical recovery from the loss of
> > months' hard work!
> >
> >
> I guess you're going to make a backup every week from now :)
> _______________________________________________
> users mailing list
> users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
> https://www.nilfs.org/mailman/listinfo/users
>

[-- Attachment #1.2: Type: text/html, Size: 3185 bytes --]

[-- Attachment #2: Type: text/plain, Size: 158 bytes --]

_______________________________________________
users mailing list
users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
https://www.nilfs.org/mailman/listinfo/users

  parent reply	other threads:[~2009-11-06 20:02 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-02 19:06 urgent help need! disk partition info lost Paul L
     [not found] ` <856033f20911021106u771f823dkb48395958ad83a37-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-02 19:38   ` Jan de Kruyf
     [not found]     ` <ee5afd760911021138p25f34ca4gcb66547812cb858e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-02 21:20       ` Paul L
     [not found]         ` <856033f20911021320w68e11498w4d5619ce5d586e80-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-02 23:27           ` Paul L
     [not found]             ` <856033f20911021527j3dbe86bcy37e9da592e1f0d5d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-03 18:14               ` Jan de Kruyf
     [not found]                 ` <ee5afd760911031014l5bd4899ble3b6522e758bfb8d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-03 19:48                   ` Paul L
     [not found]                     ` <856033f20911031148o4d856a59vc711d1053ac9d1bc-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-03 21:36                       ` Jan de Kruyf
     [not found]                         ` <ee5afd760911031336g122fc338r8d2879a48d5e11d6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-04  2:23                           ` Paul L
     [not found]                             ` <856033f20911031823m715b1f91q818e9c78cda9315d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-04 18:46                               ` Jan de Kruyf
     [not found]                                 ` <ee5afd760911041046s70ada5d6w686ce83814b3e9e6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-04 19:27                                   ` David Arendt
2009-11-04 19:31                                   ` Paul L
     [not found]                                     ` <856033f20911041131n54c420fuf16b10fefb343188-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-04 21:16                                       ` Jan de Kruyf
     [not found]                                         ` <ee5afd760911041316x3adf0bd3h5b15a82012129a9d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-04 22:21                                           ` David Arendt
2009-11-04 21:26                                       ` Jan de Kruyf
     [not found]                                         ` <ee5afd760911041326g77cab1d9r90f55657dc11a789-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-05  1:19                                           ` Paul L
     [not found]                                             ` <856033f20911041719w12410864hdbdb8d5e6aed2070-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-05  3:57                                               ` Paul L
     [not found]                                                 ` <856033f20911041957n7c88e5afvb60b6de9ee42bce7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-05 15:18                                                   ` Jan de Kruyf
     [not found]                                                     ` <ee5afd760911050718t4eca6855kdf70fcc7f2014bf8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-05 18:02                                                       ` [SPAM] " Paul L
     [not found]                                                         ` <856033f20911051002x79461f91o60e07f651a24f7c4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-05 20:11                                                           ` Jan de Kruyf
     [not found]                                                             ` <ee5afd760911051211n788e4f36g7f60d06e691817d8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-06 17:43                                                               ` Paul L
     [not found]                                                                 ` <856033f20911060943i35d9cae4rcaf6a6dd12a6d845-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-06 19:24                                                                   ` Jérôme Poulin
     [not found]                                                                     ` <debc30fc0911061124r1a13335v61c8df3dffa70c51-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-06 20:02                                                                       ` Jan de Kruyf [this message]
2009-11-07 12:28                                                               ` [SPAM] " Ryusuke Konishi
     [not found]                                                                 ` <c4a7c9420911070428s3983d570nc15ab02a7e1b10be-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-07 19:28                                                                   ` 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=ee5afd760911061202qeb092c6tc95e305b25f843a@mail.gmail.com \
    --to=jan.de.kruyf-re5jqeeqqe8avxtiumwx3w@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