linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Tune2fs metadata_csum
@ 2012-12-17  4:04 Anders Lind
  2012-12-17  7:23 ` Zheng Liu
  2012-12-17 14:37 ` Theodore Ts'o
  0 siblings, 2 replies; 4+ messages in thread
From: Anders Lind @ 2012-12-17  4:04 UTC (permalink / raw)
  To: linux-ext4@vger.kernel.org

Hi ext4 developers,


I tired to use tune2fs metadata_csum feature on my ext4 filesystem.
I got message like:
~$ sudo tune2fs -O metadata_csum /dev/sda5
tune2fs 1.42 (29-Nov-2011)
Setting filesystem feature 'metadata_csum' not supported.


Is this tool supposed been used on unmounted device or it could be mounted?


BTW. I googled this problem on internet. Seems no clear answer yet.

Thank you!
Best,

Anders


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

* Re: Tune2fs metadata_csum
  2012-12-17  4:04 Tune2fs metadata_csum Anders Lind
@ 2012-12-17  7:23 ` Zheng Liu
  2012-12-17 14:37 ` Theodore Ts'o
  1 sibling, 0 replies; 4+ messages in thread
From: Zheng Liu @ 2012-12-17  7:23 UTC (permalink / raw)
  To: Anders Lind; +Cc: linux-ext4@vger.kernel.org

On Sun, Dec 16, 2012 at 08:04:01PM -0800, Anders Lind wrote:
> Hi ext4 developers,
> 
> 
> I tired to use tune2fs metadata_csum feature on my ext4 filesystem.
> I got message like:
> ~$ sudo tune2fs -O metadata_csum /dev/sda5
> tune2fs 1.42 (29-Nov-2011)
> Setting filesystem feature 'metadata_csum' not supported.

Hi Anders,

You need to upgrade your e2fsprogs because metadata_csum feature is
applied on Aug this year.

Regards,
                                                - Zheng

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

* Re: Tune2fs metadata_csum
  2012-12-17  4:04 Tune2fs metadata_csum Anders Lind
  2012-12-17  7:23 ` Zheng Liu
@ 2012-12-17 14:37 ` Theodore Ts'o
  2012-12-18  3:19   ` Darrick J. Wong
  1 sibling, 1 reply; 4+ messages in thread
From: Theodore Ts'o @ 2012-12-17 14:37 UTC (permalink / raw)
  To: Anders Lind; +Cc: linux-ext4@vger.kernel.org

On Sun, Dec 16, 2012 at 08:04:01PM -0800, Anders Lind wrote:
> 
> I tired to use tune2fs metadata_csum feature on my ext4 filesystem.
> I got message like:
> ~$ sudo tune2fs -O metadata_csum /dev/sda5
> tune2fs 1.42 (29-Nov-2011)
> Setting filesystem feature 'metadata_csum' not supported.
> 
> Is this tool supposed been used on unmounted device or it could be mounted?

TYhe metadata_csum feature is in the e2fsprogs "master" branch in the
e2fsprogs git tree.  The feature is not part of an official e2fsprogs
release yet.  One of the things that I want to really check very
carefully before I release e2fsprogs 1.43 is that e2fsck sanely
recovers from checksum failures while it tries replaying the journal.

Essentially, metadata_csum is supposed to provide better recovery from
device failures (it doesn't really provide any kind of performance
advantage), and I want to be 100% sure that it is **always** better
when hardware-induced corruption happens before we release it.

Regards,

						- Ted

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

* Re: Tune2fs metadata_csum
  2012-12-17 14:37 ` Theodore Ts'o
@ 2012-12-18  3:19   ` Darrick J. Wong
  0 siblings, 0 replies; 4+ messages in thread
From: Darrick J. Wong @ 2012-12-18  3:19 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: Anders Lind, linux-ext4@vger.kernel.org

On Mon, Dec 17, 2012 at 09:37:03AM -0500, Theodore Ts'o wrote:
> On Sun, Dec 16, 2012 at 08:04:01PM -0800, Anders Lind wrote:
> > 
> > I tired to use tune2fs metadata_csum feature on my ext4 filesystem.
> > I got message like:
> > ~$ sudo tune2fs -O metadata_csum /dev/sda5
> > tune2fs 1.42 (29-Nov-2011)
> > Setting filesystem feature 'metadata_csum' not supported.
> > 
> > Is this tool supposed been used on unmounted device or it could be mounted?
> 
> TYhe metadata_csum feature is in the e2fsprogs "master" branch in the
> e2fsprogs git tree.  The feature is not part of an official e2fsprogs
> release yet.  One of the things that I want to really check very
> carefully before I release e2fsprogs 1.43 is that e2fsck sanely
> recovers from checksum failures while it tries replaying the journal.

Oh, right, I /was/ planning (last year) to go dig through recovery.c, wasn't I?
And I think I was going to change the replay/checksum behavior so that checksum
errors would result in that block being skipped, without aborting the entire
replay.

(Or something like that?  My memory is hazy.)

Well, thanks for the reminder.

--D
> 
> Essentially, metadata_csum is supposed to provide better recovery from
> device failures (it doesn't really provide any kind of performance
> advantage), and I want to be 100% sure that it is **always** better
> when hardware-induced corruption happens before we release it.
> 
> Regards,
> 
> 						- Ted
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" 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] 4+ messages in thread

end of thread, other threads:[~2012-12-18  3:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-17  4:04 Tune2fs metadata_csum Anders Lind
2012-12-17  7:23 ` Zheng Liu
2012-12-17 14:37 ` Theodore Ts'o
2012-12-18  3:19   ` Darrick J. Wong

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).