Solved

Linux application-- disk surface test ?

Posted on 1998-10-20
4
1,291 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java / Linux and Regular Expressions 11 69
Can't See Site After DNS Resolved 7 47
Why isn't object file created? 6 41
Help on running oracle SQL script in linux 3 32
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

912 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

24 Experts available now in Live!

Get 1:1 Help Now