Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-13-2011, 05:05 PM
|
#1
|
Member
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106
Rep:
|
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!
|
|
|
04-13-2011, 09:57 PM
|
#2
|
Member
Registered: Feb 2010
Location: SD Bay Area
Posts: 305
Rep:
|
Take the application partition completely out of /etc/fstab and mount/fsck it manually, perhaps in /etc/rc.local.
Cheers,
|
|
|
04-14-2011, 12:21 AM
|
#3
|
Member
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106
Original Poster
Rep:
|
Quote:
Originally Posted by lazardo
Take the application partition completely out of /etc/fstab and mount/fsck it manually, perhaps in /etc/rc.local.
Cheers,
|
Thanks, I will try that!
|
|
|
All times are GMT -5. The time now is 05:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|