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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-02-2004, 09:44 PM
|
#1
|
Member
Registered: Oct 2003
Distribution: Debian Unstable
Posts: 41
Rep:
|
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!
|
|
|
04-02-2004, 09:50 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
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.
|
|
|
04-02-2004, 11:14 PM
|
#3
|
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,849
|
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.
|
|
|
All times are GMT -5. The time now is 07:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|