No messages/updates after running e2fsck

Issues related to hardware problems
maksaraswat
Posts: 44
Joined: 2011/10/14 19:00:52
Location: New York
Contact:

No messages/updates after running e2fsck

Postby maksaraswat » 2016/03/21 15:51:31

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

maksaraswat
Posts: 44
Joined: 2011/10/14 19:00:52
Location: New York
Contact:

Re: No messages/updates after running e2fsck

Postby maksaraswat » 2016/03/21 16:23:51

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

User avatar
avij
Forum Moderator
Posts: 2172
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: No messages/updates after running e2fsck

Postby avij » 2016/03/21 16:24:53

I'd suggest just letting it run. Checking a 4.1TB filesystem may take a while.

maksaraswat
Posts: 44
Joined: 2011/10/14 19:00:52
Location: New York
Contact:

Re: No messages/updates after running e2fsck

Postby maksaraswat » 2016/03/21 17:05:20

I appreciate your reply avij!

maksaraswat
Posts: 44
Joined: 2011/10/14 19:00:52
Location: New York
Contact:

Re: No messages/updates after running e2fsck

Postby maksaraswat » 2016/03/21 17:28:42

BTW.... Is there any harm to file system if I forcefully stop e2fsck by pressing "CTRL+C"

Thanks!

maksaraswat
Posts: 44
Joined: 2011/10/14 19:00:52
Location: New York
Contact:

Re: No messages/updates after running e2fsck

Postby maksaraswat » 2016/03/21 18:58:09

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

gulikoza
Posts: 181
Joined: 2007/05/06 20:15:23

Re: No messages/updates after running e2fsck

Postby gulikoza » 2016/04/02 19:50:11

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).