* status on 'tune2fs -I 256' ?
@ 2009-06-04 23:51 Doug Hunley
2009-06-05 1:46 ` Eric Sandeen
0 siblings, 1 reply; 2+ messages in thread
From: Doug Hunley @ 2009-06-04 23:51 UTC (permalink / raw)
To: linux-ext4
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)?
Thanks
--
Douglas J Hunley - doug.hunley@gmail.com
http://douglasjhunley.com
Twitter: @hunleyd
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: status on 'tune2fs -I 256' ?
2009-06-04 23:51 status on 'tune2fs -I 256' ? Doug Hunley
@ 2009-06-05 1:46 ` Eric Sandeen
0 siblings, 0 replies; 2+ messages in thread
From: Eric Sandeen @ 2009-06-05 1:46 UTC (permalink / raw)
To: Doug Hunley; +Cc: linux-ext4
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-05 1:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-04 23:51 status on 'tune2fs -I 256' ? Doug Hunley
2009-06-05 1:46 ` Eric Sandeen
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).