public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* btrfsck aborts after transid verify failed?
@ 2009-10-21  6:05 John Dong
  2009-10-21  7:47 ` Yan, Zheng 
  0 siblings, 1 reply; 8+ messages in thread
From: John Dong @ 2009-10-21  6:05 UTC (permalink / raw)
  To: linux-btrfs

This is a fairly stock Ubuntu Karmic install within a VMWare session, 
converted from ext4 via btrfs-convert out of git, and also btrfs.ko 
compiled out of git.

A btrsfsck run after removing the ext2_saved image yielded the following:

parent transid verify failed on 17092046848 wanted 9067 found 8931
btrfsck: disk-io.c:416: find_and_setup_root: Assertion `!(!root->node)' 
failed.
[1]    2252 abort (core dumped)  sudo btrfsck /dev/sda2


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: btrfsck aborts after transid verify failed?
  2009-10-21  6:05 John Dong
@ 2009-10-21  7:47 ` Yan, Zheng 
  2009-10-21 13:21   ` John Dong
  0 siblings, 1 reply; 8+ messages in thread
From: Yan, Zheng  @ 2009-10-21  7:47 UTC (permalink / raw)
  To: John Dong; +Cc: linux-btrfs

On Wed, Oct 21, 2009 at 2:05 PM, John Dong <jdong@ubuntu.com> wrote:
> This is a fairly stock Ubuntu Karmic install within a VMWare session,
> converted from ext4 via btrfs-convert out of git, and also btrfs.ko c=
ompiled
> out of git.
>
> A btrsfsck run after removing the ext2_saved image yielded the follow=
ing:
>
> parent transid verify failed on 17092046848 wanted 9067 found 8931
> btrfsck: disk-io.c:416: find_and_setup_root: Assertion `!(!root->node=
)'
> failed.
> [1] =A0 =A02252 abort (core dumped) =A0sudo btrfsck /dev/sda2
>

Did you run btrfsck on mounted FS ?

Yan, Zheng
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: btrfsck aborts after transid verify failed?
  2009-10-21  7:47 ` Yan, Zheng 
@ 2009-10-21 13:21   ` John Dong
  2009-10-21 13:44     ` Yan, Zheng 
  0 siblings, 1 reply; 8+ messages in thread
From: John Dong @ 2009-10-21 13:21 UTC (permalink / raw)
  To: Yan, Zheng ; +Cc: linux-btrfs


On Oct 21, 2009, at 3:47 AM, Yan, Zheng wrote:
>
> Did you run btrfsck on mounted FS ?
>
> Yan, Zheng

Yes, I did. I thought it was okay to do so?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: btrfsck aborts after transid verify failed?
  2009-10-21 13:21   ` John Dong
@ 2009-10-21 13:44     ` Yan, Zheng 
  0 siblings, 0 replies; 8+ messages in thread
From: Yan, Zheng  @ 2009-10-21 13:44 UTC (permalink / raw)
  To: John Dong; +Cc: linux-btrfs

On Wed, Oct 21, 2009 at 9:21 PM, John Dong <jdong@ubuntu.com> wrote:
> On Oct 21, 2009, at 3:47 AM, Yan, Zheng wrote:
>>
>> Did you run btrfsck on mounted FS ?
>>
>> Yan, Zheng
>
> Yes, I did. I thought it was okay to do so?

No, btrfs doesn't support that.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: btrfsck aborts after transid verify failed?
@ 2009-10-21 13:48 John Dong
  2009-10-26  9:41 ` Chris Mason
  0 siblings, 1 reply; 8+ messages in thread
From: John Dong @ 2009-10-21 13:48 UTC (permalink / raw)
  To: linux-btrfs

Hmph, apparently sending HTML-containing e-mail is more of a taboo than 
I thought!

-------- Original Message --------
Subject: 	Re: btrfsck aborts after transid verify failed?
Date: 	Wed, 21 Oct 2009 09:45:54 -0400
From: 	John Dong <jdong@ubuntu.com>
To: 	Yan, Zheng <yanzheng@21cn.com>
CC: 	linux-btrfs@vger.kernel.org



On 10/21/2009 09:44 AM, Yan, Zheng wrote:
> On Wed, Oct 21, 2009 at 9:21 PM, John Dong<jdong@ubuntu.com>  wrote:
>    
>> >  On Oct 21, 2009, at 3:47 AM, Yan, Zheng wrote:
>>      
>>> >>
>>> >>  Did you run btrfsck on mounted FS ?
>>> >>
>>> >>  Yan, Zheng
>>>        
>> >
>> >  Yes, I did. I thought it was okay to do so?
>>      
> No, btrfs doesn't support that.
>    
Whoops! My bad then!

BTW, the wiki still says

http://btrfs.wiki.kernel.org/index.php/Btrfsck:

Do a limited check of the FS extent trees. Can be run on mounted and 
unmounted FS.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: btrfsck aborts after transid verify failed?
  2009-10-21 13:48 btrfsck aborts after transid verify failed? John Dong
@ 2009-10-26  9:41 ` Chris Mason
  2009-10-27 22:23   ` Johannes Hirte
  0 siblings, 1 reply; 8+ messages in thread
From: Chris Mason @ 2009-10-26  9:41 UTC (permalink / raw)
  To: John Dong; +Cc: linux-btrfs

> On 10/21/2009 09:44 AM, Yan, Zheng wrote:
> >On Wed, Oct 21, 2009 at 9:21 PM, John Dong<jdong@ubuntu.com>  wrote:
> >>>  On Oct 21, 2009, at 3:47 AM, Yan, Zheng wrote:
> >>>>>
> >>>>>  Did you run btrfsck on mounted FS ?
> >>>>>
> >>>>>  Yan, Zheng
> >>>
> >>>  Yes, I did. I thought it was okay to do so?
> >No, btrfs doesn't support that.
> Whoops! My bad then!
> 
> BTW, the wiki still says
> 
> http://btrfs.wiki.kernel.org/index.php/Btrfsck:
> 
> Do a limited check of the FS extent trees. Can be run on mounted and
> unmounted FS.

Thanks!, I've updated the docs.

-chris


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: btrfsck aborts after transid verify failed?
  2009-10-26  9:41 ` Chris Mason
@ 2009-10-27 22:23   ` Johannes Hirte
  2009-11-02 21:44     ` Chris Mason
  0 siblings, 1 reply; 8+ messages in thread
From: Johannes Hirte @ 2009-10-27 22:23 UTC (permalink / raw)
  To: Chris Mason; +Cc: John Dong, linux-btrfs

Am Montag 26 Oktober 2009 10:41:04 schrieb Chris Mason:
> > On 10/21/2009 09:44 AM, Yan, Zheng wrote:
> > >On Wed, Oct 21, 2009 at 9:21 PM, John Dong<jdong@ubuntu.com>  wrote:
> > >>>  On Oct 21, 2009, at 3:47 AM, Yan, Zheng wrote:
> > >>>>>  Did you run btrfsck on mounted FS ?
> > >>>>>
> > >>>>>  Yan, Zheng
> > >>>
> > >>>  Yes, I did. I thought it was okay to do so?
> > >
> > >No, btrfs doesn't support that.
> >
> > Whoops! My bad then!
> >
> > BTW, the wiki still says
> >
> > http://btrfs.wiki.kernel.org/index.php/Btrfsck:
> >
> > Do a limited check of the FS extent trees. Can be run on mounted and
> > unmounted FS.
> 
> Thanks!, I've updated the docs.

Will this be added in future or is this feature completely thrown away?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: btrfsck aborts after transid verify failed?
  2009-10-27 22:23   ` Johannes Hirte
@ 2009-11-02 21:44     ` Chris Mason
  0 siblings, 0 replies; 8+ messages in thread
From: Chris Mason @ 2009-11-02 21:44 UTC (permalink / raw)
  To: Johannes Hirte; +Cc: John Dong, linux-btrfs

On Tue, Oct 27, 2009 at 11:23:43PM +0100, Johannes Hirte wrote:
> Am Montag 26 Oktober 2009 10:41:04 schrieb Chris Mason:
> > > On 10/21/2009 09:44 AM, Yan, Zheng wrote:
> > > >On Wed, Oct 21, 2009 at 9:21 PM, John Dong<jdong@ubuntu.com>  wrote:
> > > >>>  On Oct 21, 2009, at 3:47 AM, Yan, Zheng wrote:
> > > >>>>>  Did you run btrfsck on mounted FS ?
> > > >>>>>
> > > >>>>>  Yan, Zheng
> > > >>>
> > > >>>  Yes, I did. I thought it was okay to do so?
> > > >
> > > >No, btrfs doesn't support that.
> > >
> > > Whoops! My bad then!
> > >
> > > BTW, the wiki still says
> > >
> > > http://btrfs.wiki.kernel.org/index.php/Btrfsck:
> > >
> > > Do a limited check of the FS extent trees. Can be run on mounted and
> > > unmounted FS.
> > 
> > Thanks!, I've updated the docs.
> 
> Will this be added in future or is this feature completely thrown away?

It is definitely on the list to be added in the future.  Online fsck is
a big part of my plans for keeping btrfs usable in the long term.

-chris


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-11-02 21:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-21 13:48 btrfsck aborts after transid verify failed? John Dong
2009-10-26  9:41 ` Chris Mason
2009-10-27 22:23   ` Johannes Hirte
2009-11-02 21:44     ` Chris Mason
  -- strict thread matches above, loose matches on Subject: below --
2009-10-21  6:05 John Dong
2009-10-21  7:47 ` Yan, Zheng 
2009-10-21 13:21   ` John Dong
2009-10-21 13:44     ` Yan, Zheng 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox