Page 1 of 1

No messages/updates after running e2fsck

Posted: 2016/03/21 15:51:31
by maksaraswat
Hi,

I am running CentOS 5.11 Linux <hostname> 2.6.18-238.19.1.el5.centos.plus #1 SMP Mon Jul 18 10:05:09 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux.

In dmesg log I saw "EXT3-fs warning: maximal mount count reached, running e2fsck is recommended" for one of the volumes so I un-mounted that volume and started e2fsck with -p option. However I am not seeing any updates after "check forced" message as follows:

Code: Select all

[root@<hostname> ~]# e2fsck -p /dev/sdc1
/dev/sdc1 has been mounted 66 times without being checked, check forced.


I have hit enter few times and it doesn't do anything. Volume /dev/sdc1 is 4.1TB. I just want to know if this is normal and I should be getting some messages back after the check is complete? Or should I press "CTRL+C" and reboot it so it does the disk check on reboot?

Please let me know.

Thanks in advance!

--Mayank

Re: No messages/updates after running e2fsck

Posted: 2016/03/21 16:23:51
by maksaraswat
UPDATE: Running top shows e2fsck using CPU and MEM:

Code: Select all

3738 root      18   0  547m 492m  448 D  0.3 12.5   1:43.38 e2fsck  
I will let it run for couple of hours I guess...

If someone has any input please let me know.

Thanks

Re: No messages/updates after running e2fsck

Posted: 2016/03/21 16:24:53
by avij
I'd suggest just letting it run. Checking a 4.1TB filesystem may take a while.

Re: No messages/updates after running e2fsck

Posted: 2016/03/21 17:05:20
by maksaraswat
I appreciate your reply avij!

Re: No messages/updates after running e2fsck

Posted: 2016/03/21 17:28:42
by maksaraswat
BTW.... Is there any harm to file system if I forcefully stop e2fsck by pressing "CTRL+C"

Thanks!

Re: No messages/updates after running e2fsck

Posted: 2016/03/21 18:58:09
by maksaraswat
It took about 2.5 - 3 hours for 4.1TB RAID5EE file system to complete file system check. Just stating for future reference. All seem to be fine and this issue can be closed.

Thanks

Re: No messages/updates after running e2fsck

Posted: 2016/04/02 19:50:11
by gulikoza
ext4 does fsck a lot faster for larger volumes...I have converted a few of my older servers to ext4 just because of that.
The conversion is pretty simple. does not affect the data (still recommend a backup, though).