Re: Maximal mount count warning

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

 



Tony Gogoi wrote:

> What can cause an "EXT2-fs warning: maximal mount count reached, running
> e2fsck is recommended" ?

Exceeding the filesystem's maximum mount count.

> I mounted "mount /dev/fd0 /mnt/floppy" and,
> unmounted "umount /mnt/floppy"
> repeatedly as I was tranferring files from one computer to another.

Yep, that will do it.

> If a floppy was normally unmounted each time after mounting it, why should
> the "mount count" keep increasing ?

Because it is incremented whenever the filesystem is mounted, and it
*isn't* decremented when the filesystem is unmounted.

The purpose of the maximum mount count setting is to ensure that the
filesystem gets checked occasionally. There is also a maximum check
interval, which operates according to elapsed time rather than the
total number of mount operations.

If you want to avoid this warning, use "tune2fs -c -1 /dev/fd0";
similarly, use "tune2fs -i 0 /dev/fd0" to disable the maximum check
interval. In either case, tune2fs should only be run on unmounted
filesystems.

-- 
Glynn Clements <glynn.clements@xxxxxxxxxx>
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux