LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-13-2011, 04:05 PM   #1
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Rep: Reputation: 23
Question 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!
 
Old 04-13-2011, 08:57 PM   #2
lazardo
Member
 
Registered: Feb 2010
Location: SF Bay Area
Posts: 100

Rep: Reputation: Disabled
Take the application partition completely out of /etc/fstab and mount/fsck it manually, perhaps in /etc/rc.local.

Cheers,
 
Old 04-13-2011, 11:21 PM   #3
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by lazardo View Post
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!
 
  


Reply

Tags
fsck, fstab, partitions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to find if the application has fully loaded? sr71919 Linux - General 1 02-16-2010 03:56 AM
Where to mount partitions of other filesystems SwissHeritage Linux - General 2 04-05-2009 06:24 AM
How to check the command for the loaded application? q0987 Linux - Enterprise 7 01-14-2007 10:55 AM
application loaded at startup rob_xx17 Linux - General 2 10-26-2005 08:16 PM
Can't mount ufs filesystems ratman96 Linux - General 2 05-04-2005 12:34 PM


All times are GMT -5. The time now is 08:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration