I was immediately in debian irc and a kind person has informed or more precisely educated me about how to force check the file system at next reboot or boot.
By default Debian forces file check after 30 boots or 180 days, whichever comes first. In order to override the above defaults, you can give the following command.
# touch /forcefsck
If you give the above command, it will check your data on next boot.
If you are impatient, then give the following command [ please close all open programs and save the data before giving the command ]
# reboot
There is also another method, If you are familiar with shutdown command, you can use :
# shutdown -Fr now
-F will force fsck to run on reboot
-r reboot after shutdown
By the above two methods you can force fsck to run.
The End.
This work by maniac.vardhan is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
0 comments :: how to force fsck on next boot or reboot ?
Post a Comment