Solved

Reluctant reset of dirty bit

Posted on 2009-07-15
11
901 Views
Last Modified: 2012-05-07
How can I reset a reported dirty bit when << chkdsk /f and /r >> show no problem, and running << chkdsk /r >> through recovery console does not resolve? (Win XP Pro).

I have also tried using a new hard disk (employing a mirror image of original) but problem remains.

Short of reformatting and reloading everything bit by bit on one of the hard drives, is there anything else I can try?
0
Comment
Question by:mike_oram
  • 5
  • 4
  • 2
11 Comments
 
LVL 11

Expert Comment

by:theProfessa
ID: 24863689
To fix this problem you should go to Start -> Run -> "cmd"

In the command prompt type in "fsutil dirty query X:"  x being the drive in question
This checks to see if the drive is dirty or not.

Next type in "CHKNTFS /X D:"  <- This tells Windows not to check the drive at the next startup.
Reboot the computer and do a manual CHKDSK by typing "Chkdsk /f /r d:"  This will do a full check up and remove the dirty bit
Then type in "fsutil dirty query x:" to confirm that the drive is no longer dirty and you should be set.

Hopefully this helps!
0
 

Author Comment

by:mike_oram
ID: 24863914
Tks Professa but I have already done precisely all that (which prompted my question here) - except the drive in question is c: , which I take should appear where you have "d:"...
If that is not correct and I need to put "d:" even though my problem drive is c: , please let me know.
0
 
LVL 11

Expert Comment

by:theProfessa
ID: 24863999
My mistake, C: is correct.
You can try this registry edit from:
http://www.kellys-korner-xp.com/xp_tweaks.htm

Go to Disable or Enable Check Disk on boot
0
 

Author Comment

by:mike_oram
ID: 24864374
Tks again Professa but I sense that would only hide my problem upon boot; not solve it. If the dirty bit remains set I cannot (eg) defragment.
0
 
LVL 91

Expert Comment

by:nobus
ID: 24867112
it is possible the disk has a problem; i suggest running the disk diag you need :   http://www.tacktech.com/display.cfm?ttid=287
0
Are your end users making ugly email signatures?

Have you left it up to your end users to create their own email signatures? Are they forgetting to add the company logo or using garish font colors? Take control and ensure all users have the same email signature.

 

Author Comment

by:mike_oram
ID: 24870281
Thank you Nobus. I have in fact alrady run all HD tests using SeaTools for Windows (my system hard drives are Seagate and Maxtor) and they show up fine.  Whenever I run tests for a 'dirty bit' on both drives, the drive booted from shows DIRTY, whereas the other shows NOT dirty. If I swap over through reboot, that which earlier showed NOT dirty is then (as C:) reported as DIRTY.

From all this I am wondering if it is the MFT that is somehow corrupt (having been loaded as a mirror image).  The MFT each drive is in two fragments which, under normal conditions I understand should in itself not be a problem.  I have tried increasing the MFT to much higher size (4GB) but to no effect upon the problem.
0
 
LVL 91

Expert Comment

by:nobus
ID: 24871328
did you image those drives?  then you copied the problem on both...
0
 

Author Comment

by:mike_oram
ID: 24871454
Yes, I imaged...as my original post.
0
 
LVL 91

Expert Comment

by:nobus
ID: 24876295
try running chkdsk from safe mode :
>>>  . Finally I tried a chkdsk /f from a Command prompt in Safe Mode. To my surprise this worked and solved the problem. Why the use of Safe Mode made a difference escapes me having many times seen the same checks executed at boot up before Windows starts up.   <<< 
from :
http://www.experts-exchange.com/Operating_Systems/WinXP/Q_21469100.html
 
0
 

Accepted Solution

by:
mike_oram earned 0 total points
ID: 24893096
Thanks nobus,

Before I received your last post I tried another solution myself which has appeared to work splendidly. If the problem of a recaletrant dirty bit comes up again, I shall certainly try what you have suggested.

The solution that has worked my my case has been achieved through the Windows Recovery Console. This was achieved in two stages - a bit lengthy but the dirty bit has been reset and in fact file access is being achieved much faster than even before the problem became aparent.

Accessing the Recovery Console, I first re-ran a disk repair (chkdsk /r) at the first screen. Then I rebooted again from the XP Pro Disk (in my case I have a disk) and selected the install Windows XP option. This caused a search for for what is already installed and offered me the option of reinstalling or repairing. I chose 'Repair".

The whole process took a great deal of time, with a series of reboots and then online updates.  But, as I have said, everything is now working fine. I am presently reformatting the drive which had the mirror image with the problem.
0
 
LVL 91

Expert Comment

by:nobus
ID: 24893706
if no more help is needed, don't forget to close your question !
0

Featured Post

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Question has a verified solution.

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

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

920 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

16 Experts available now in Live!

Get 1:1 Help Now