All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: Doug Hunley <doug.hunley@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: status on 'tune2fs -I 256' ?
Date: Thu, 04 Jun 2009 20:46:17 -0500	[thread overview]
Message-ID: <4A2878E9.40802@redhat.com> (raw)
In-Reply-To: <7284e2210906041651g10761a2fy7eda6d308b7ccb4d@mail.gmail.com>

Doug Hunley wrote:
> I recently converted my '/' filesytem to ext4 from ext3 using:
> tune2fs  -O extents,uninit_bg,dir_index /dev/md3
> 
> I did *not* use '-I 256' as I'd read several reports of this causing
> corruption. However, I've just checked the ext4.txt as shipped with
> 2.6.29 and it quite clearly states:
> If the filesystem was created with 128 byte inodes, it can be
>     converted to use 256 byte for greater efficiency via:
> 
>         # tune2fs -I 256 /dev/hda1
> 
> Is this now safe to do? Or should the documentation be updated to
> reflect the current corruption issue? Would I be ok to run 'tune2fs -I
> 256 /dev/md3' (followed by a forced fsck)?

AFAIK it still has dangerous corners... We should probably update the
ext4.txt, and TBH I'd rather disable the functionality in e2fsprogs
until it's safe.

(the case I ran into was when there was not actually enough space to
double the size of all the inodes - it did not know this ahead of time
and it did not fail gracefully).

-Eric

      reply	other threads:[~2009-06-05  1:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-04 23:51 status on 'tune2fs -I 256' ? Doug Hunley
2009-06-05  1:46 ` Eric Sandeen [this message]

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=4A2878E9.40802@redhat.com \
    --to=sandeen@redhat.com \
    --cc=doug.hunley@gmail.com \
    --cc=linux-ext4@vger.kernel.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 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.