Linux application-- disk surface test ?

Posted on 1998-10-20
Last Modified: 2012-05-04
Is there a Linux application where I can perform a disk
surface test on a Linux partition? Where can I get it?
Question by:thithi
  • 2

Expert Comment

Comment Utility
When you install redhat you can do surface test so it got to be with redhat linux, fsck will do surface test but it will not mark them as bad blocks

Accepted Solution

m4rc earned 50 total points
Comment Utility
im betting you want fsck. It will test the filesystem structure, inodes, all that and can try to repair problems it finds.  the pesky thing for me was that you can't fsck your current partition, so to check / you have to pull out your root/book disks or emergency repair disks and run fsck from there.  (i could be wrong about that, but it works for me)


       fsck - check and repair a Linux file system

       fsck [ -A ] [ -V ] [ -t fstype ] [ fs-options ] filesys

       fsck  is  used to check and optionally repair a Linux file
       system.   filesys  is  either  the   device   name   (e.g.
       /dev/hda1,  /dev/sdb2)  or  the mount point (e.g. /, /usr,
       /home) for the file system.

Author Comment

Comment Utility
Yes, I knew about fsck, but I wanted to check disk surface
like dos/win chekdisk, looking for bad blocks and
marking them if in that case. I found out there is a command
called "badblocks"  that works just fine.

Expert Comment

Comment Utility
hmmm, well im glad i -almost- helped you.  :)
duh, badblocks, i should have remembered that myself.

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now