Please add defrag to settings

Please add an option to defrag the disk to the settings. See https://www.howtoforge.com/tutorial/linux-filesystem-defrag/

Why? Linux doesn’t really need this like Windows systems

Support said bunch of inode problems on my disk. I deleted around 1 TB of files. I don’t know what Manny did remotely (told him ok to format). When I got home shows still there NBC NIGHTLY News fully recorded tonight.

Why do Linux defrag programs exist if not needed?

Take a look at this.

So I guess if your disk is full it may be necessary. But otherwise not usually needed

Also this: http://www.howtogeek.com/115229/htg-explains-why-linux-doesnt-need-defragmenting/

Specifically, “Linux’s ext2, ext3, and ext4 file systems – ext4 being the file system used by Ubuntu and most other current Linux distributions – allocates files in a more intelligent way. Instead of placing multiple files near each other on the hard disk, Linux file systems scatter different files all over the disk, leaving a large amount of free space between them. When a file is edited and needs to grow, there’s usually plenty of free space for the file to grow into. If fragmentation does occur, the file system will attempt to move the files around to reduce fragmentation in normal use, without the need for a defragmentation utility.”

1 Like

that name just makes me think…

3 Likes

Actually, the use of extents can greatly aid in decreased fragmentation… so really just ext4. For the record, reiserfs (v3) was probably the best filesystem I used fragmentation wise. Even after years of heavy enterprise use it only had about 20% fragmentation, that’s pretty good.

1 Like

“bunch of inode problems on my disk” isn’t a fragmentation problem. It’s a disk metadata corruption problem that usually requires the use of the fsck utility.

2 Likes

As others said Linux EXT is an advanced filesystem that does not require defragging. Now a “check disk” option aka fsck would be handy.

2 Likes

That’s what I was thinking of. Been a while since I ran Linux and forgot what it was called.

Please @TabloSupport

All file systems are prone to some form of fragmentation. Since I haven’t migrated an existing disk to a larger disk I haven’t been paying attention to which file system tablo uses. The forum lists ext2, ext3, and ext4.

File System ext2 is not a journaling file system and more prone to file system metadata corruption. But has a defrag utility. ext3 and ext4 file system are journaling file systems and should be less prone to metadata corruption and I don’t think they have a defrag utility.

I believe it depends on the firmware version at the time of formatting the HDD.

My first HDD was formatted ext3, when I upgraded to a larger about 8 months later, it was formatted ext4…

On newer Linux, you can use e4defrag -c to see the fragmentation. There are other tools out there as well. Useful info here: http://cromwell-intl.com/linux/performance-tuning/file-systems.html