Re: e4defrag don't work really well

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

 



On 2/12/23 12:14 PM, Reindl Harald wrote:
> 
> what's wrong with e4defrag that it pretends it reduced th efragments of a file to 1 while in the next "e4defrag -c" (why does that only list 5 files at all) the same file is listed again with the same old frag count?

You might want to examine the actual allocation before and after with "filefrag -v"
which could offer some clues to whether anything was modified by e4defrag.

(I would also suggest that there is no need to defragment a 3-extent 2 megabyte
file, in general.)

-Eric

> ----------------------------
> 
> [root@srv-rhsoft:~]$ e4defrag -c /mnt/data/audio/
> e4defrag 1.46.5 (30-Dec-2021)
> <Fragmented files>                             now/best       size/ext
> 1. /mnt/data/audio/Smokie/Solid Ground/Smokie - Little Town Flirt.mp3
>                                                  3/1           2389 KB
> 2. /mnt/data/audio/Ace Frehley/Second Sighting/Ace Frehley - Fallen Angel.mp3
>                                                  3/1           2389 KB
> 3. /mnt/data/audio/Mr. Big/Defying Gravity/Mr. Big - Mean To Me.mp3
>                                                  3/1           2389 KB
> 4. /mnt/data/audio/Juice Newton/Quiet Lies/Juice Newton - Im Gonna Be Strong.mp3
>                                                  3/1           2389 KB
> 5. /mnt/data/audio/Vicious Rumors/Something Burning/Vicious Rumors - Ballhog.mp3
>                                                  3/1           2389 KB
> 
> ----------------------------
> 
> [root@srv-rhsoft:~]$ e4defrag "/mnt/data/audio/Smokie/Solid Ground/Smokie - Little Town Flirt.mp3"
> e4defrag 1.46.5 (30-Dec-2021)
> ext4 defragmentation for /mnt/data/audio/Smokie/Solid Ground/Smokie - Little Town Flirt.mp3
> [1/1]/mnt/data/audio/Smokie/Solid Ground/Smokie - Little Town Flirt.mp3:        100%    [ OK ]
>  Success:                       [1/1]
> 
> ----------------------------
> 
> [root@srv-rhsoft:~]$ e4defrag -c /mnt/data/audio/
> e4defrag 1.46.5 (30-Dec-2021)
> <Fragmented files>                             now/best       size/ext
> 1. /mnt/data/audio/Smokie/Solid Ground/Smokie - Little Town Flirt.mp3
>                                                  3/1           2389 KB
> 2. /mnt/data/audio/Ace Frehley/Second Sighting/Ace Frehley - Fallen Angel.mp3
>                                                  3/1           2389 KB
> 3. /mnt/data/audio/Mr. Big/Defying Gravity/Mr. Big - Mean To Me.mp3
>                                                  3/1           2389 KB
> 4. /mnt/data/audio/Juice Newton/Quiet Lies/Juice Newton - Im Gonna Be Strong.mp3
>                                                  3/1           2389 KB
> 5. /mnt/data/audio/Vicious Rumors/Something Burning/Vicious Rumors - Ballhog.mp3
>                                                  3/1           2389 KB
> 



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux