[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian 8.1 ext4 directory sizes



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Nov 10, 2015 at 08:19:10PM +0100, Thomas Schmitt wrote:
> Hi,
> 
> tomas@tuxteam.de wrote:
> >  tune2fs -l <block device>
> 
> "You can tune a filesystem, but you cannot tune a fish."

Ah, oldies but goldies :-)

> Ok. I have features "dir_index" and "extent".
> But the directories don't shrink when being emptied.
> So proposed option 1 by Dan Ritter does not work for me.

I think those don't shrink directories.

> I still wonder for what a 3.8 GHz Xeon needs 2 seconds
> when scanning 7.5 MB of invalid directory entries in RAM.

This is pretty unfortunate, yes :-(

Seems you'll have to go with re-creating the dir. Or sneak in -D in the
regular file system check, if that's possible.

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZCTGQACgkQBcgs9XrR2kZ5KgCcCMfQ+9qkz8dIwYZ1xT1F2S1m
v6cAn1gK61S/pNign3+whMs4mOtopRLS
=wqPL
-----END PGP SIGNATURE-----


Reply to: