LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-02-2004, 08:44 PM   #1
yelo
Member
 
Registered: Oct 2003
Distribution: Debian Unstable
Posts: 41

Rep: Reputation: 15
How to do a bad blocks check


just a min. ago, I flipped the switch on my surge protector with my foot(time to rethink placement ), resulting in half the lighting in my room going off, along with my computer. The computer seems fine(well, except for the fact I was multitasking my heart out), but, I would like to run a bad blocks check on my HD just to be sure. I'm running reiserfs.

Thanks!
 
Old 04-02-2004, 08:50 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Go root and type

fsck.rfs ( It maybe named slightly diffrently )

This should run a file system check. Though as reiserfs is a journalling filesystem it should check itself.
 
Old 04-02-2004, 10:14 PM   #3
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Re: How to do a bad blocks check

Quote:
just a min. ago, I flipped the switch on my surge protector with my foot(time to rethink placement ), resulting in half the lighting in my room going off, along with my computer.
A coworker at a former job used to come back from the ladies room, lunch, etc. and dump her purse under the desk. A good percentage of the time she'd manage to hit the power strip just so and abruptly cut power to her PC. She became a CCSP (Certified CHKDSK and SCANDISK Professional) in no time.
Quote:
I would like to run a bad blocks check on my HD just to be sure.
Someone else has already mention who to check the integrity of your filesystems. If you think the disk itself needs to be checked, look into the "badblocks" command. This will test the actual disk surface. Be very careful if you decide to run this command. It recognizes options that could very swiftly clobber a lot of data.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bad blocks bong.mau Linux - General 1 11-16-2005 02:17 PM
ReiserFS with bad blocks bruce ford Linux - Software 2 07-23-2005 04:15 AM
fsck many bad blocks mjolnir *BSD 5 01-13-2004 06:35 AM
e2fsck and bad blocks MunterMan Linux - Software 0 11-23-2003 09:58 AM
bad blocks on swap masand Linux - Hardware 6 05-22-2003 03:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:11 AM.

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