![]() |
Mount application filesystems only after OS is loaded?
Hello,
I have servers where the disk is partitioned into OS and application partitions. The application is rather sloppy with its file handles, and frequently when there is a system crash, its file systems get corrupted. This will cause fsck to halt the boot, requiring me to get on a remote console, enter the root password, and fsck the file systems. Is there a way to have just the OS partitions get checked and mounted, then check the application systems, only after the OS is loaded, so I can ssh into the system, instead of having to use a bandwidth-hogging remote console? The app partitions are already at fsck level 2 in /etc/fstab, but this doesn't prevent OS loading from halting. If I set the fsck level to 0, I don't want the application to start if the partitions are unavailable. Should I just leave the fsck level at 0? Or should have the partitions marked "noauto", then have a startup script run fsck and mount the app partitions? Thanks! |
Take the application partition completely out of /etc/fstab and mount/fsck it manually, perhaps in /etc/rc.local.
Cheers, |
Quote:
|
| All times are GMT -5. The time now is 04:37 AM. |