Mike Burger wrote:
I read on one of the redhat lists, this morning, about "badblocks" which
acts as a low-level test utility for detecting physically bad blocks on
your hard drive. However, the man page only seems to point to its use
with ext2 (at least on my 7.1 system).
So...is there a badblocks-type utility for XFS formatted systems?
badblocks has no notion of the filesystem.
In default mode it doesn't even write to the drive, it only reads it,
you can force it to write patterns via the -w switch, and after writing
it then reads it back to see if it gets the same data as was written.
So, you're safe to use badblocks with any device, as long as you don't
write anything to it.
Yes, even mounted filesystems work, and why shouldn't they?
As I said, as long asyou don't use -w, because if it's mounted you'll
mes it up, if it's not mounted, you'll still mess it up :D
// Stefan
|