1823058 Members
3097 Online
109645 Solutions
New Discussion юеВ

ext3-fs warning

 
SOLVED
Go to solution
Marco_113
Frequent Advisor

ext3-fs warning

Hi all,
i've a red hat AS 3.0 update 3 on an hp proliant dl 380

I getthis message from messages and dmesg:

ext3-fs warning: maximal mount count reached; running e2fsck raccomanded.

Any suggestion??
10 REPLIES 10
Jeroen Peereboom
Honored Contributor

Re: ext3-fs warning

Yes,

unmount the filesystem in question and do an exfsck. Apparantly, you have mounted a filesystem a number of times and you exceeded a threshold. Linux suggests to run an filesystemcheck. I bet you will find no problems though....

JP
Slawomir Gora
Honored Contributor

Re: ext3-fs warning

Hi,

you can set maximal mount count for fsck by tune2fs command.

Stuart Browne
Honored Contributor
Solution

Re: ext3-fs warning

As as been mentioned in Slawomir's post, using 'e2fstune' can change this value. A bit of detail however so you can understand why it came up.

When you create a file system, you get the ability to say how often it should be fsck'd. This has two values, one for number of days between checks, and the other for the amount of mount's it incurs.

The idea being that it reminds if not forces you to do maintenance on filesystems occasionally. If the machine reboots, the automatic fsck that occurs when it boots should do a more full check when either of these values is exceeded.
One long-haired git at your service...
Marco_113
Frequent Advisor

Re: ext3-fs warning

So,
any kind of compatibility issue with CCISS controller running on RHEL 3.0 U3 ??

As yestarday we lost the "/" and we did reinstalled the entire operating system formatting local HDs on CCISS, today we want to run tune2fs. The man reports to do not run the command on mounted rw file system. Do you have any suggestion to do that ?

Thanks in advance
Ragu_3
Trusted Contributor

Re: ext3-fs warning

E2fsck is not needed on a journalled FS. Turn it off in your ext3fs partitions by doing a 'tune2fs -i 0 -c 0 /dev/'.

Hth ...
Debian GNU/Linux for the Enterprise! Ask HP ...
Vitaly Karasik_1
Honored Contributor

Re: ext3-fs warning

>any kind of compatibility issue with CCISS controller running on RHEL 3.0 U3?

no, AFAIK. I run several DL360/380 with RHEL3.0 without problems.

Rgds,
Vitaly
Fred Ruffet
Honored Contributor

Re: ext3-fs warning

Raqu,

Problem with ext3 is that it is not really what I call a journalized FS. It is a journalled improvments of ext2. This kind of warning shouldn't appear on a journalled FS.

That's why I would say to use other journalled FS, and particularly XFS (ported from IRIS by SGI. A long time production FS). This probably won't be possible for you, Marco, on your prouction system, but think about it for future installs.

P.S. : How must it be said ? journalled or journalized ?

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Thomas Bianco
Honored Contributor

Re: ext3-fs warning

as mentioned, e3fs is just e2fs + some journal extensions. a really real journaled Fs doesn't require checked EXCEPT under extreme conditions.

here are some of my favourite really real FSs

ReiserFS: one of the coolest. balanced trees, really great for / and etc. very high performance on lots of small files. stores metadata with file data, so small reads are MUCH faster. suffers a bit on large and sequential reads.

XFS: as above

JFS, and it's variants: not all ported to Linux yet, may need kernel patches.
There have been Innumerable people who have helped me. Of course, I've managed to piss most of them off.
Marco_113
Frequent Advisor

Re: ext3-fs warning

I see on the man page of tune2fs that i can't change the parametres of a filesystem mounted in rw

I run tune2fs -l on my local patition (/, /home, /usr etc) and i get that maximal mount count is -1; i've to change it??
Thanks


Fred Ruffet
Honored Contributor

Re: ext3-fs warning

regarding man tune2fs, this should be 0 to disable. Don't know for -1. This is maybe an upgrade for ext3. Have a look at man page on your server.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)