Solved

Linux application-- disk surface test ?

Posted on 1998-10-20
4
1,294 Views
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?
0
Comment
Question by:thithi
  • 2
4 Comments
 
LVL 5

Expert Comment

by:JBURGHARDT
ID: 1638317
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
0
 
LVL 1

Accepted Solution

by:
m4rc earned 50 total points
ID: 1638318
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)

m4rc

NAME
       fsck - check and repair a Linux file system

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

DESCRIPTION
       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.
0
 

Author Comment

by:thithi
ID: 1638319
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.
0
 
LVL 1

Expert Comment

by:m4rc
ID: 1638320
hmmm, well im glad i -almost- helped you.  :)
duh, badblocks, i should have remembered that myself.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP Apache application gives "Forbidden" message 5 55
Why isn't object file created? 6 57
Reset Root Password on CentOS 6 4 53
Linux script delete files 3 30
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

776 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