According to Daniel Knapp: While burning my CPU.
> 
> >  when i start linux i get the error maximal mount count reach checked
> > forced...so i made the partion larger, and i still get this error any
> > suggestions.
> 
> That's no error message and you don't have to create larger partitions. In
> the file /etc/fstab there is set how often your system may mount a
> specified hd. If this number is passed Linux checkes the hds whether
> there's an error or not. So after a specified period your system checks
> every hd.
> 
> If you want to rise that number look in your /etc/fstab:
> 
> /dev/hdb3       /usr/download             ext2            defaults   1   1
> /dev/hdb2       /                         ext2            defaults   1   1
> /dev/hdb1       swap                      swap            defaults   0   0
> /dev/hda1       /usr/locals               ext2            defaults   2   2
> 
> The last two numbers set how often a hd can be mounted. After that it will
> be checked.
> In my example the last hd (hda1) is checked not very often whereas hdb3
> and hdb2 are checked more often. You can change "1  1" to "2   2" if you
> feel better.

If thats what you think then you are wrong.

The man page of fstab says;

       The fifth field, (fs_freq), is used for these  filesystems
       by the dump(8) command to determine which filesystems need
       to be dumped.  If the fifth field is not present, a  value
       of zero is returned and dump will assume that the filesys-
       tem does not need to be dumped.

       The sixth field, (fs_passno), is used by the fsck(8)  pro-
       gram to determine the order in which filesystem checks are
       done at reboot time.  The root filesystem should be speci-
       fied  with  a fs_passno of 1, and other filesystems should
       have a fs_passno of 2.  Filesystems within a drive will be
       checked  sequentially, but filesystems on different drives
       will be checked at the same time  to  utilize  parallelism
       available in the hardware.  If the sixth field is not pre-
       sent or zero, a value of zero is returned  and  fsck  will
       assume that the filesystem does not need to be checked.

If you want to increase the "mount_count" then read the man page for
tune2fs.



> 
> All this information can be seen at 'man fstab' or 'man mount'
> 
> -Dan
> 
> 
> Dan Knapp:                        C/C++ Developer
> eMail:                           [EMAIL PROTECTED]
> Member: FPSGE                http://fpsge.notrix.de
> Member: OGRE            http://www.teamtnt.com/ogre
> "Microsoft gives you Windows, UNIX gives you the whole house."
> 
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to