Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-19-2004, 08:35 AM   #1
Registered: Nov 2004
Posts: 108

Rep: Reputation: 15
Question How to check up a disk on presence of mistakes - logic and physical?

How to check up a disk on presence of mistakes - logic and physical?
Old 11-19-2004, 09:21 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
fsck /dev/device
Mount the device read-only first.
Old 11-19-2004, 09:54 AM   #3
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
This is to check for bad block in a harddisk

Mount the device readonly first

mount -o remount,ro /dev/device

/sbin/badblocks -s -c 1024 -b 4096 -o /tmp/ /dev/device > status.log

Output will be present in /tmp/

Note:e2fsck can also be used to check bad vlocks with the -c option



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Check for physical errors on /dev/hda? Waerner Linux - Newbie 5 10-28-2005 10:54 AM
Determine physical disk size Kristijan Linux - General 4 01-23-2005 06:56 PM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 03:10 AM
Installing on more than one physical disk Squiddy Slackware 5 11-02-2003 12:50 PM
how to detect floppy presence Shirley Linux - General 1 05-15-2002 08:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration