How to check disk fragmentation in Linux?

jhotz

Is there a way to check fragmentation of a disk in Linux other than the occasional fsck report on boot?

Tags: linux
Answer this Question

Answers

2 total
jimlynch
Vote Up (10)

HTG Explains: Why Linux Doesn’t Need Defragmenting
http://www.howtogeek.com/115229/

"If you’re a Linux user, you’ve probably heard that you don’t need to defragment your Linux file systems. You’ll also notice that Linux distributions don’t come with disk-defragmenting utilities. But why is that?

To understand why Linux file systems don’t need defragmenting in normal use – and Windows ones do – you’ll need to understand why fragmentation occurs and how Linux and Windows file systems work differently from each other."

rousseau
Vote Up (7)

Yes, you can run fsck yourself. Here is the script cutesy of Rucent88 at Superuser:
http://superuser.com/a/657320

Ask a question

Join Now or Sign In to ask a question.
Look to Vista for how Redmond will treat Windows 8 as it moves on to the next bright, shiny OS.
As with previous versions of OS X, it's not difficult to create a bootable installer drive from the Yosemite beta installer, though the processes have changed slightly since Mavericks.
If you've leapt aboard the beta without thinking carefully about what this would mean for day-to-day use, and you now wish you had Mavericks (OS X 10.9) back, we're here to help.
A new model of the Raspberry Pi is out, but it's not Raspberry Pi 2
Microsoft seems on the brink of announcing a major enhancement to its operating system lines, namely merging them into a single OS that could bring big benefits for corporate users.
Apple has "inadvertently admitted" to creating a "backdoor" in iOS, according to a post by a forensics scientist, iOS author and ex-hacker.
Financial results are oh-so boring, but Microsoft's latest quarterly results hid a surprising number of juicy tidbits
Given that this marks the first time a major new version of OS X has been available to users before it's actually released (not counting the original Mac OS X Public Beta), you likely have questions. We've got answers.
Parallels Access 2.0 is a remote-access app that lets you view and control your Mac or Windows machine from any iOS device. You can connect either over a local network, or (as long as both machines are connected to the Internet) over the Internet.
The humble lockscreen is about to become the most important interface on your smartphone, says columnist Mike Elgan.
Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

randomness