Overview
"dirty bit" කියන්නේ file system එක inconsistent වෙන්න පුළුවන් කියලා සැක වුණාම — උදාහරණයක් improper shutdown එකකට පස්සේ — Windows volume එකක set කරන flag එකක්. Set වුණාම, Windows ඊළඟ boot එකේදී ඒ volume එකේ CHKDSK run කරනවා. මේ guide එකෙන් dirty bit එක check, clear, සහ manage කරන ආකාරය පැහැදිලි කරනවා.
Volume dirty bit එකෙන් ඊළඟ boot එකේදී disk check එකක් trigger කරනවා.
Key Takeaways
- Dirty bit එකෙන් volume එකක් possibly inconsistent කියලා flag කරනවා.
- Set වුණාම, Windows ඒ drive එකට boot එකේදී CHKDSK schedule කරනවා.
- Check කරන්න: fsutil dirty query C:
- CHKDSK run කරලා (errors fix කරලා) dirty bit එක clear කරනවා.
Dirty Bit කියන්නේ මොකක්ද?
ඒක NTFS file system එකේ per-volume flag එකක්. Volume එකක් writing වලට mount වුණාම Windows ඒක set කරලා, clean dismount එකකදී clear කරනවා. System එක crash වුණොත් හෝ power නැති වුණොත්, bit එක set වෙලා පවතිනවා — volume එක check කරන්න ඕන කියලා signal කරමින්.
Dirty Bit එක Check කරන්නේ කොහොමද
1. Command Prompt එක administrator විදිහට open කරන්න.
2. Run: fsutil dirty query C: (C: එක drive එකෙන් replace කරන්න).
3. Volume එක dirty ද නැද්ද කියලා report කරනවා.
Dirty Bit එක Clear කරන්නේ කොහොමද
1. නිවැරදි ක්රමය තමයි Windows එකට disk එක check කරන්න දෙන එක: chkdsk C: /f run කරලා restart එකේදී scan එකක් schedule කරන්න දෙන්න.
2. Restart කරන්න — CHKDSK errors repair කරලා, file system එක healthy නම් dirty bit එක clear කරනවා.
3. fsutil dirty query C: එකෙන් ආපහු check කරලා ඒක තවදුරටත් dirty නැති බව confirm කරන්න.
Warning: CHKDSK නොකර dirty bit එක forcibly clear කරන එක (බ. hex editor එකකින්) avoid කරන්න — ඒකෙන් real file-system corruption hide කරලා data loss risk එකක් ඇති කරන්න පුළුවන්.
Boot එකේදී අනවශ්ය Disk Checks නවත්තන්න
1. Healthy disk එකක් තිබුණත් CHKDSK හැම boot එකේම run වෙනවා නම්, drive එක exclude කරන්න පුළුවන්: chkntfs /x C: run කරන්න.
2. පස්සේ default behaviour එක restore කරන්න: chkntfs /d run කරන්න.
3. මේක පාවිච්චි කරන්නේ disk එක healthy කියලා ඔබ sure නම් විතරයි.
Troubleshooting
Problem: හැම startup එකකදීම CHKDSK run වෙනවා.
Solution: Volume එක fully repair කරන්න chkdsk C: /f /r එක පාරක් run කරන්න; healthy disk එකක තවම තියෙනවා නම්, chkntfs /x C: එකෙන් exclude කරන්න.
Problem: Dirty bit එක clear වෙන්නේ නෑ.
Solution: Volume එකේ unresolved errors තියෙනවා. Full chkdsk /f /r run කරන්න; errors තවම තියෙනවා නම්, drive එක fail වෙමින් ඇති — backup කරලා test කරන්න.
Problem: fsutil කියනවා access denied.
Solution: Command Prompt එක administrator විදිහට run කරන්න.
Problem: Data safe තියාගන්න ඕන.
Solution: CHKDSK hex editor එකකින් bypass කරන්න එපා; real corruption repair වෙන්න හැමවෙලේම disk check එක run කරන්න දෙන්න.
Conclusion
Dirty bit කියන්නේ volume එකක් check කරන්න flag කරන Windows ගේ ක්රමය. fsutil dirty query එකෙන් query කරලා, CHKDSK run කරලා safe ක්රමයට clear කරලා, healthy කියලා ඔබ දන්න drive එකක විතරයි boot-time scans suppress කරන්න.
About TechHub
මේ guide එක TechHub Knowledge Base එකේ කොටසක්. තව step-by-step IT guides සහ support වලට techhub.com.lk එකට යන්න.















