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]

Re: forcing a file system check



 On Sun, Nov 25, 2007 at 10:00:38AM -0500, Stephen Adler wrote: 
> From: Stephen Adler <[hidden email]> 
> To: "Blu unix (blu)" <[hidden email]> 
> Date: Sun, 25 Nov 2007 10:00:38 -0500 
> Subject: forcing a file system check 
> Precedence: list 
> 
> 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. 


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