dmesg indicated that the number of disk mounts are exceeded and the partitions need to be checked. This used to be a reminder after an x number of boots. Can I reactivate this feature?
Is the disk check of the recovery menu sufficient to perform this check?
[SOLVED] dmesg indicates maximum mounts are exceeded
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] dmesg indicates maximum mounts are exceeded
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
Re: dmesg indicates maximum mounts are exceeded
tune2fs -l
gives you the information, for eg.
Code: Select all
sudo tune2fs -l /dev/sdd2
tune2fs 1.45.5 (07-Jan-2020)
Filesystem volume name: 4T6-1
Last mounted on: /media/USER/4T6-1
...
...
Mount count: 160
Maximum mount count: -1
Last checked: Sat Aug 1 00:17:03 2020
Check interval: 0 (<none>)
Lifetime writes: 80 GB
sudo tune2fs -l /dev/sdd2 |grep "Maximum mount count"
the
-c max-mount-counts
option will adjust the number of mounts after which the filesystem will be checked by e2fsck. If max-mount-counts is 0 or -1, the number of times the filesystem is mounted will be disregarded by e2fsck and the kernel.man tune2fs
man e2fsck
Also note the
-i interval-between-checks[d|m|w]
option.-=t42=-
Re: dmesg indicates maximum mounts are exceeded
Amazing, thank you! The max-mount-counts is set to 0, and the actual count was 193. The drive is clean and I use fsck from the recovery menu regularly, but I will set up a plan because a linux data drive was mounted 500 times.t42 wrote: ⤴Tue May 18, 2021 7:34 amtune2fs -l
gives you the information, for eg.Code: Select all
sudo tune2fs -l /dev/sdd2 or [c]sudo tune2fs -l /dev/sdd2 |grep "Maximum mount count"[/c] the [c]-c max-mount-counts[/c] option will adjust the number of mounts after which the filesystem will be checked by e2fsck. If max-mount-counts is 0 or -1, the number of times the filesystem is mounted will be disregarded by e2fsck and the kernel. [c]man tune2fs man e2fsck[/c] Also note the [c]-i interval-between-checks[d|m|w][/c] option.
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15