Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

forcing a file system check



 Guys, 

There was a thread which I started a while back about forcing a file 
system check on /. There were several suggestions, but I thought of a 
unique way which I tried and worked. Basically one uses tune2fs to set 
the max number of mounts between file system checks to 1, reboot, then 
reset it back to some large number. 

tune2fs -c 1 /dev/md0 
reboot 
tune2fs -c 100 /dev/md0 

I'm not sure what the default mount count is, so I set it back to 100. 

Cheers. Steve. 


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org