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.
My first experience with Windows 8 inspired bafflement and frustration. But I walked away from my first few minutes with Windows 10 with a sense of jealousy. It looks like a significant improvement, and I want it on my PC right now.
Microsoft gave the first look at its Windows 10 operating system on Tuesday, a major release that will span all hardware from PCs to phones and try to address the ills that have dogged Windows 8.
Humbled by businesses' dislike for Windows 8, Microsoft has issued a mea culpa, offered the world a first peek at Windows 10 and pledged that the new OS will delight IT executives. But the true test of whether Microsoft can move past its Windows 8 mistakes will come when Windows 10 is commercially released at some point next summer.
Microsoft's major update to its operating system, called Windows 10 and unveiled Tuesday, has been built to blend old and new in a way that will be familiar to Windows 7 users while also retaining much of its more modern tile interface.
Aware that the "if you build it, they will come" principle doesn't always apply to newly deployed IT systems, Microsoft has developed a website to help companies promote Office 365 usage among employees.
After spending the past two years in damage control mode over Windows 8, Microsoft will officially begin a new era for its OS on Tuesday, when it's expected to unveil a preview of Windows' next major version during an event focused on enterprise customers.
Microsoft, which recently announced the consolidation of several of its conferences, is now going in the opposite direction and resurrecting WinHEC, which was last held in 2008.
The 'Shellshock' Bash shell bug is a big deal, but it's relatively easy to keep your home PC safe.
Yes, recent versions of Mac OS X are vulnerable to the critical "Shellshock" Bash bug revealed earlier this week, including OS X Mavericks--but don't sweat it unless you're doing ninja-level Unix tricks with shell commands already.
Late Thursday, Apple issued the iOS 8.0.2 update, which follows quickly on the heels of the flawed-and-quickly-pulled 8.0.1 update that disabled Touch ID and cellular capabilities on the iPhone 6 and iPhone 6 Plus.

White Papers & Webcasts

See more White Papers | Webcasts

Join us:
Facebook

Twitter

Pinterest

Tumblr

LinkedIn

Google+

randomness