From: Juan Barry Manuel Canham <Linux-pOR+BrglI3BO41XttqYhMtHuzzzSOjJt@public.gmane.org>
To: Vyacheslav Dubeyko <slava-yeENwD64cLxBDgjK7y7TUQ@public.gmane.org>
Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Corrupted a nilfs volume
Date: Tue, 22 Jan 2013 00:47:40 +0000 [thread overview]
Message-ID: <2046642.TUXYeIIucd@jcanhamlaptop> (raw)
In-Reply-To: <1358748330.2546.6.camel@slavad-ubuntu>
On Monday 21 Jan 2013 10:05:30 Vyacheslav Dubeyko wrote:
Hi Vyacheslav,
Thanks for the quick response.
If there is nothing I can do to help, is there a way to fix it (is it just a
single corrupt file) or do I need to reformat?
Thanks, Juan
> Hi Juan,
>
> On Sun, 2013-01-20 at 22:15 +0000, Juan Barry Manuel Canham wrote:
> > Hi and thanks for the great fs.
> >
> > I managed to corrupt a volume (my /var)
> >
> > to do this I was running an upgrade and when I ran out of space I ran
> >
> > while true; do sudo nilfs-clean -v -S 10/1 -p 1 /dev/sda4; df -h
/var/ |
> > tail -n 1 ; sleep 1 ; done>
> > I'm running
> >
> > Linux JCanhamLaptop 3.3.0-rc4 #1 SMP Fri Feb 24 19:12:32 GMT 2012
x86_64
> > x86_64 x86_64 GNU/Linux>
> > I know it's an RC but I never got round to upgrading, hope this doesn't
> > invalidate my bug
> >
> > I've attached what I think are the relevant dmesg and syslog but they are
> > a bit long,
> >
> > I can make the system be remounted read-only by running apt-get autoclean
> >
> > Jan 20 22:08:15 localhost kernel: [129306.872119] NILFS: bad btree node
> > (blocknr=185027): level = 0, flags = 0x0, nchildren = 768 Jan 20 22:08:15
> > localhost kernel: [129306.872127] NILFS error (device sda4):
> > nilfs_bmap_last_key: broken bmap (inode number=11540) Jan 20 22:08:15
> > localhost kernel: [129306.872129]
> > Jan 20 22:08:15 localhost kernel: [129306.872131] Remounting filesystem
> > read-only Jan 20 22:08:15 localhost kernel: [129306.872135] NILFS warning
> > (device sda4): nilfs_truncate_bmap: failed to truncate bmap (ino=11540,
> > err=-5)
> >
> > Remounting rw works until I run autoclean
> > Jan 20 22:08:44 localhost kernel: [129335.576471] segctord starting.
> > Construction interval = 5 seconds, CP frequency < 30 seconds Jan 20
> > 22:08:44 localhost kernel: [129335.576483] NILFS warning: mounting fs
> > with errors Jan 20 22:08:44 localhost nilfs_cleanerd[16781]: start
> > Jan 20 22:08:44 localhost nilfs_cleanerd[16781]: pause (clean check)
> > Jan 20 22:08:45 localhost nilfs_cleanerd[16786]: start
> > Jan 20 22:08:45 localhost nilfs_cleanerd[16786]: pause (clean check)
>
> Thank you for your report.
>
> This issue is under investigation and fix. Currently, I think that the
> reason of the reported by you issue is low value of vm.min_free_kbytes
> and the issue with flush kernel thread. The issue with flush kernel
> thread is near of fix. So, it needs to wait sometime. I hope that the
> patch will be prepared soon. I need a time for testing and check the
> fix.
>
> With the best regards,
> Vyacheslav Dubeyko.
>
> > Thanks for any help and I hope I can help track down this bug
> >
> > Juan
--
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 prev parent reply other threads:[~2013-01-22 0:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-20 22:15 Corrupted a nilfs volume Juan Barry Manuel Canham
2013-01-21 6:05 ` Vyacheslav Dubeyko
2013-01-22 0:47 ` Juan Barry Manuel Canham [this message]
2013-01-23 5:52 ` Vyacheslav Dubeyko
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=2046642.TUXYeIIucd@jcanhamlaptop \
--to=linux-por+brgli3bo41xttqyhmthuzzzsojjt@public.gmane.org \
--cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=slava-yeENwD64cLxBDgjK7y7TUQ@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