Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fsck?

Status
Not open for further replies.

inetd

Technical User
Jan 23, 2002
115
HK
My company's RH 7.3 server is run for a year without reboot, however it has the following message in the system log:

Sep 20 05:01:13 linux01 kernel: hdc: hdc1 hdc2 hdc3
Sep 20 05:01:15 linux01 kernel: hdc: hdc1 hdc2 hdc3
Sep 20 05:03:43 linux01 kernel: kjournald starting. Commit interval 5 seconds
Sep 20 05:03:43 linux01 kernel: EXT3-fs warning: checktime reached, running e2fsck is recommended
Sep 20 05:03:43 linux01 kernel: EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide1(22,1), internal journal
Sep 20 05:03:43 linux01 kernel: EXT3-fs: mounted filesystem with ordered data mode.


The server is running fine. Should I run fsck?
Is it possible to do the fsck without rebooting the server since the server is running samba as file server and acts as PDC of our domain?

Thanks.


 
I wouldn't run e2fsck on a mounted filesystem as file corruption is always a possibility. If these are ext3 partitions, run 'dumpe2fs /dev/hda1' for each partition and check if the filesystem is clean or not.

ChrisP
RHCE, LPIC-1, CCNA, CNE, MCSE, +10 others
 
Well, so many information about filesystem from dumpe2fs.

However, how can I know the filesystem is clean or not from these information?

Thanks.

 
There is a line at the top that says "Filesystem State: clean/not clean"

dumpe2fs /dev/sda1 | less

ChrisP
RHCE, LPIC-1, CCNA, CNE, MCSE, +10 others
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top