From: Paul L <ninegua-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: corrupted filesystem (again!)
Date: Sat, 29 Jan 2011 15:06:03 -0800 [thread overview]
Message-ID: <AANLkTimZ6qXBwF0zYquz5Yep_x0zbCbNgcTCW7sTCs0U@mail.gmail.com> (raw)
Hi all,
If my memory serves me right, this is the 4th time I've had corrupted
filesystem after using nilfs2 for almost 2 years. With help from the
list, I've managed to recover every time! A big thank you to the
everyone who helped! Let's see if this time I have any luck.
When I first noticed something wrong with the file system, command 'ls
-l' would list some files with outrageously big size, like 20 digits
or something. I don't remember doing any particular task before I
noticed this. So I thought I would just reboot and see if things come
back normal.
After a reboot, the disk failed to mount. That was almost two weeks
ago, and I was using 2.0.20. I didn't do anything further except
backing up the entire disk data.
Today I had a little more time and decided to upgrade to
nilfs2-2.0.21, and still the same. Here is what dmesg showed me when I
mount the file system (after I turned on CONFIG_NILFS_DEBUG and "echo
'-vvv recovery' > /proc/fs/nilfs2/debug_option"):
NILFS nilfs_fill_super: start(silent=0)
NILFS warning: broken superblock. using spare superblock.
NILFS warning: broken superblock. using spare superblock.
NILFS(recovery) nilfs_search_super_root: looking segment
(seg_start=1087488, seg_end=1089535, segnum=531, seg_seq=837256)
NILFS(recovery) load_segment_summary: checking segment
(pseg_start=1088825, full_check=1)
NILFS(recovery) load_segment_summary: done (ret=0)
NILFS(recovery) nilfs_search_super_root: found super root: segnum=531,
seq=837256, pseg_start=1088825, pseg_offset=1396
segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds
NILFS(dat) nilfs_dat_translate: failed (ret=-2)
NILFS warning (device mmcblk0p1): nilfs_ifile_get_inode_block: unable
to read inode: 2
NILFS: get root inode failed
NILFS(segment) nilfs_segctor_thread: segctord exiting.
NILFS nilfs_fill_super: aborted
NILFS put_nilfs: the_nilfs on bdev mmcblk0p1 was freed
Apparently, it was trying to use the spare superblock, but still
couldn't find the root inode.
I also tried the fsck0.niilfs2 utility from nilfs-utils-2.0.18. It
didn't help either. Here is the output:
Super-block:
revision = 2.0
blocksize = 4096
write time = 2011-01-18 23:22:07
indicated log: blocknr = 1088825
segnum = 531, seq = 837256, cno=1787400
Clean FS.
A valid log is pointed to by superblock (No change needed): blocknr = 1088825
segnum = 531, seq = 837256, cno=1787400
creation time = 2011-01-18 23:22:07
I'm pretty clueless on what to do next. Any help would be greatly appreciated!
--
Regards,
Paul Liu
--
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 reply other threads:[~2011-01-29 23:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-29 23:06 Paul L [this message]
[not found] ` <AANLkTimZ6qXBwF0zYquz5Yep_x0zbCbNgcTCW7sTCs0U-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-01-31 10:48 ` corrupted filesystem (again!) 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=AANLkTimZ6qXBwF0zYquz5Yep_x0zbCbNgcTCW7sTCs0U@mail.gmail.com \
--to=ninegua-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@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;
as well as URLs for NNTP newsgroup(s).