System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Setting ext3 fstab options to fs_passno=0 (skip fsck) - Good or Bad?

 
Alzhy
Honored Contributor

Setting ext3 fstab options to fs_passno=0 (skip fsck) - Good or Bad?

A very energetic admin thinks our large linux systems with many Oracle ASMLib disks spend a lot of time in FSCK.. so /etc/fstab fs_passno was set to all 0.

I doubt though if this is a good idea. And if indeed the parallelized fsck is even the cause of the slow boot time. I really think it is with LVM pvscan and Oracle ASMlib scan.

What do you Gurii think?

Hakuna Matata.
2 REPLIES
Randy Jones_3
Trusted Contributor

Re: Setting ext3 fstab options to fs_passno=0 (skip fsck) - Good or Bad?

We disabled both the time-based and mount-count-based automatic fsck for our filesystems with large Oracle tablespaces to prevent the system from hanging in startup for 7-10 hours while fsck has a look around. It always seemed to pop up at the least opportune time.

We have scheduled down time on the production calendar, at which point (after backups, of course) we restart the server in single user mode and fire off a manual fsck for each file system. Once per year has been enough for us. Adjust how often you do this to suit your experience with fsck actually finding problems and/or your paranoia.
Steven E. Protter
Exalted Contributor

Re: Setting ext3 fstab options to fs_passno=0 (skip fsck) - Good or Bad?

Shalom,

Gurii is plural for guru?

Bad idea.

There are legitimate reasons for fsck to be run and it should be allowed to run. The alternative is for your system to suddenly become unbootable without warning.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com