All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Reiser4: File lost during log rollback.
       [not found] <6ec7a4340708280229l61d86d1dsf113890277bee68e@mail.gmail.com>
@ 2007-09-02 18:14 ` Christian Kujau
       [not found]   ` <6ec7a4340709030319k58b3a1afm994e188cb37170fe@mail.gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: Christian Kujau @ 2007-09-02 18:14 UTC (permalink / raw)
  To: Xu CanHao; +Cc: reiserfs-devel

On Tue, 28 Aug 2007, Xu CanHao wrote:
> I've heard someone said reiser4's possibility of losing some file
> when crash. Well, I have one exactly the same experience: my system is
> slackware 11.0, and vanilla 2.6.21+patch for 2.6.21+r4tools 1.0.5,
> after one or two times of power loss, (at least)my /usr/sbin/sendmail
> lost, and the partition free space have a ~200MB less. Because of
> /usr/sbin/sendmail is not system critical file, I think the loss could
> happened some days ago. Any ideas?

Does this happen to your system when it has crashed or are you losing
files during runtime? Did you try 2.6.22? Checked /lost+found, the system 
logs? Does fsck report something useful?

-- 
BOFH excuse #435:

Internet shut down due to maintenance

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

* Reiser4: File lost during log rollback.
       [not found]   ` <6ec7a4340709030319k58b3a1afm994e188cb37170fe@mail.gmail.com>
@ 2007-09-03 12:07     ` Xu CanHao
  2007-09-04 18:58       ` Christian Kujau
  2007-09-19 14:59       ` Edward Shishkin
  0 siblings, 2 replies; 6+ messages in thread
From: Xu CanHao @ 2007-09-03 12:07 UTC (permalink / raw)
  To: reiserfs-devel

Hello!

1, The system had some power lost recently, I believe the file lost
during one time(I did not write to that file at once).
2, Is there any evidence show that 2.6.22 much more stable(or at least
solved that behavior)?
3, There is no /lost+found directory in a reiser4 partition(AFAIK it's ext2/3).
4, I've no idea _when_ does the file lost, so tracing the logs is not possible.
5, fsck.reiser4 reports no corruption.

Thanks!


2007/9/3, Christian Kujau <lists@nerdbynature.de>:
> On Tue, 28 Aug 2007, Xu CanHao wrote:
> > I've heard someone said reiser4's possibility of losing some file
> > when crash. Well, I have one exactly the same experience: my system is
> > slackware 11.0, and vanilla 2.6.21+patch for 2.6.21+r4tools 1.0.5,
> > after one or two times of power loss, (at least)my /usr/sbin/sendmail
> > lost, and the partition free space have a ~200MB less. Because of
> > /usr/sbin/sendmail is not system critical file, I think the loss could
> > happened some days ago. Any ideas?
>
> Does this happen to your system when it has crashed or are you losing
> files during runtime? Did you try 2.6.22? Checked /lost+found, the system
> logs? Does fsck report something useful?
>
> --
> BOFH excuse #435:
>
> Internet shut down due to maintenance
>

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

* Re: Reiser4: File lost during log rollback.
  2007-09-03 12:07     ` Xu CanHao
@ 2007-09-04 18:58       ` Christian Kujau
  2007-09-05 13:15         ` Xu CanHao
  2007-09-19 14:59       ` Edward Shishkin
  1 sibling, 1 reply; 6+ messages in thread
From: Christian Kujau @ 2007-09-04 18:58 UTC (permalink / raw)
  To: reiserfs-devel

On Mon, 3 Sep 2007, Xu CanHao wrote:
> 1, The system had some power lost recently, I believe the file lost
> during one time(I did not write to that file at once).

Hm, I'm not entirely sure if Reiser4 guarantees userdata consistency or 
"just" meta-data consistency. If the latter is the case: if the 
filesystem was in a usable state, reiser4 helped - if not, one should 
try to reproduce it and file a bug...

> 2, Is there any evidence show that 2.6.22 much more stable(or at least
> solved that behavior)?

I don't use reiser4 on a regular basis, but given that development is 
still in flux, it's worth a try, IMHO.

C.
-- 
BOFH excuse #251:

Processes running slowly due to weak power supply

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

* Re: Reiser4: File lost during log rollback.
  2007-09-04 18:58       ` Christian Kujau
@ 2007-09-05 13:15         ` Xu CanHao
  0 siblings, 0 replies; 6+ messages in thread
From: Xu CanHao @ 2007-09-05 13:15 UTC (permalink / raw)
  To: Christian Kujau; +Cc: reiserfs-devel

2007/9/5, Christian Kujau <lists@nerdbynature.de>:
> On Mon, 3 Sep 2007, Xu CanHao wrote:
> > 1, The system had some power lost recently, I believe the file lost
> > during one time(I did not write to that file at once).
>
> Hm, I'm not entirely sure if Reiser4 guarantees userdata consistency or
> "just" meta-data consistency. If the latter is the case: if the
> filesystem was in a usable state, reiser4 helped - if not, one should
> try to reproduce it and file a bug...

Reiser4's wandering log is something different with traditional
data/meta-data consistency. And the problem is: the file
/usr/sbin/sendmail totally lost.

>
> > 2, Is there any evidence show that 2.6.22 much more stable(or at least
> > solved that behavior)?
>
> I don't use reiser4 on a regular basis, but given that development is
> still in flux, it's worth a try, IMHO.

Yes, definitely not on a production system.

>
> C.
> --
> BOFH excuse #251:
>
> Processes running slowly due to weak power supply
> -
> To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" 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] 6+ messages in thread

* Re: Reiser4: File lost during log rollback.
  2007-09-03 12:07     ` Xu CanHao
  2007-09-04 18:58       ` Christian Kujau
@ 2007-09-19 14:59       ` Edward Shishkin
  2007-09-20  6:41         ` Xu CanHao
  1 sibling, 1 reply; 6+ messages in thread
From: Edward Shishkin @ 2007-09-19 14:59 UTC (permalink / raw)
  To: Xu CanHao; +Cc: reiserfs-devel

Xu CanHao wrote:

>Hello!
>
>1, The system had some power lost recently, I believe the file lost
>during one time(I did not write to that file at once).
>2, Is there any evidence show that 2.6.22 much more stable(or at least
>solved that behavior)?
>  
>

Yes,
it seems, you encountered the bug fixed in reiser4 patch for 2.6.22.
This was discussed in the list a long time ago, also the description
can be found in the patch header:

...
2) unix-file plugin fixups:
   . Fixed bug in extent2tail conversion.
     Bug description:
       when converting partially converted file
       (with flag REISER4_PART_MIXED installed)
       reiser4_cut_tree() starts to cut old metatada
       from wrong offset. Result is data corruption
       when booting after system crach, power loss,
       etc.;
...

Please, update your reiser4 and reiser4progs to the latest
versions, and let me know if any problems.

Thanks,
Edward.

>3, There is no /lost+found directory in a reiser4 partition(AFAIK it's ext2/3).
>4, I've no idea _when_ does the file lost, so tracing the logs is not possible.
>5, fsck.reiser4 reports no corruption.
>
>Thanks!
>
>
>2007/9/3, Christian Kujau <lists@nerdbynature.de>:
>  
>
>>On Tue, 28 Aug 2007, Xu CanHao wrote:
>>    
>>
>>>I've heard someone said reiser4's possibility of losing some file
>>>when crash. Well, I have one exactly the same experience: my system is
>>>slackware 11.0, and vanilla 2.6.21+patch for 2.6.21+r4tools 1.0.5,
>>>after one or two times of power loss, (at least)my /usr/sbin/sendmail
>>>lost, and the partition free space have a ~200MB less. Because of
>>>/usr/sbin/sendmail is not system critical file, I think the loss could
>>>happened some days ago. Any ideas?
>>>      
>>>
>>Does this happen to your system when it has crashed or are you losing
>>files during runtime? Did you try 2.6.22? Checked /lost+found, the system
>>logs? Does fsck report something useful?
>>
>>--
>>BOFH excuse #435:
>>
>>Internet shut down due to maintenance
>>
>>    
>>
>-
>To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" 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] 6+ messages in thread

* Re: Reiser4: File lost during log rollback.
  2007-09-19 14:59       ` Edward Shishkin
@ 2007-09-20  6:41         ` Xu CanHao
  0 siblings, 0 replies; 6+ messages in thread
From: Xu CanHao @ 2007-09-20  6:41 UTC (permalink / raw)
  To: Edward Shishkin, reiserfs-devel

2007/9/19, Edward Shishkin <edward@namesys.com>:
> Xu CanHao wrote:
>
> >Hello!
> >
> >1, The system had some power lost recently, I believe the file lost
> >during one time(I did not write to that file at once).
> >2, Is there any evidence show that 2.6.22 much more stable(or at least
> >solved that behavior)?
> >
> >
>
> Yes,
> it seems, you encountered the bug fixed in reiser4 patch for 2.6.22.
> This was discussed in the list a long time ago, also the description
> can be found in the patch header:
>
> ...
> 2) unix-file plugin fixups:
>    . Fixed bug in extent2tail conversion.
>      Bug description:
>        when converting partially converted file
>        (with flag REISER4_PART_MIXED installed)
>        reiser4_cut_tree() starts to cut old metatada
>        from wrong offset. Result is data corruption
>        when booting after system crach, power loss,
>        etc.;
> ...
>
> Please, update your reiser4 and reiser4progs to the latest
> versions, and let me know if any problems.
>
> Thanks,
> Edward.

oic, I recalled one of my partition is extent-only and it does not
have any data-lost for several months. It seems that if one use
extent-only, he/she would not experience such corruption(and maybe
better performance due to less tail_conversions?).

BTW: the latest _stable_ version is "reiser4-for-2.6.22-2.patch.gz"
for vanilla "linux-2.6.22.6.tar.bz2" and "reiser4progs-1.0.6.tar.gz",
right?

Thanks!

>
> >3, There is no /lost+found directory in a reiser4 partition(AFAIK it's ext2/3).
> >4, I've no idea _when_ does the file lost, so tracing the logs is not possible.
> >5, fsck.reiser4 reports no corruption.
> >
> >Thanks!
> >
> >
> >2007/9/3, Christian Kujau <lists@nerdbynature.de>:
> >
> >
> >>On Tue, 28 Aug 2007, Xu CanHao wrote:
> >>
> >>
> >>>I've heard someone said reiser4's possibility of losing some file
> >>>when crash. Well, I have one exactly the same experience: my system is
> >>>slackware 11.0, and vanilla 2.6.21+patch for 2.6.21+r4tools 1.0.5,
> >>>after one or two times of power loss, (at least)my /usr/sbin/sendmail
> >>>lost, and the partition free space have a ~200MB less. Because of
> >>>/usr/sbin/sendmail is not system critical file, I think the loss could
> >>>happened some days ago. Any ideas?
> >>>
> >>>
> >>Does this happen to your system when it has crashed or are you losing
> >>files during runtime? Did you try 2.6.22? Checked /lost+found, the system
> >>logs? Does fsck report something useful?
> >>
> >>--
> >>BOFH excuse #435:
> >>
> >>Internet shut down due to maintenance
> >>
> >>
> >>
> >-
> >To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" 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] 6+ messages in thread

end of thread, other threads:[~2007-09-20  6:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <6ec7a4340708280229l61d86d1dsf113890277bee68e@mail.gmail.com>
2007-09-02 18:14 ` Reiser4: File lost during log rollback Christian Kujau
     [not found]   ` <6ec7a4340709030319k58b3a1afm994e188cb37170fe@mail.gmail.com>
2007-09-03 12:07     ` Xu CanHao
2007-09-04 18:58       ` Christian Kujau
2007-09-05 13:15         ` Xu CanHao
2007-09-19 14:59       ` Edward Shishkin
2007-09-20  6:41         ` Xu CanHao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.