Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-27-2008, 09:48 AM   #1
Registered: Jan 2008
Posts: 75

Rep: Reputation: 15
Cancelling forced fsck??

I had to reboot a server this morning that had been up for 430+ days. On reboot it started a forced filesystem check. The problem is that one of the filesystems is a 300gig LUN from the SAN. Is there anyway to cancel out of the filesystem check once it's started without risking any data loss?
Old 01-27-2008, 12:58 PM   #2
Registered: Aug 2007
Distribution: RHEL, Fedora, Ubuntu
Posts: 64

Rep: Reputation: 16
Why was it up for 430 days? Never updated the kernel, eh? Security not a concern of yours? Might want to reconsider that, but as to your question:

As to cancelling it once started, I wouldn't do that. Not sure how, either.

But you can change how often it happens: man tune2fs
Old 01-28-2008, 09:56 AM   #3
Registered: Jan 2008
Posts: 75

Original Poster
Rep: Reputation: 15
thanks. I ended up just ctrl-c'ing out of it.

I would love to be able to have routine updates to all my servers, but certain customers demand virtually 100% uptime. So long as the box is stable, they will not approve a reboot or upgrade. :/
Old 01-28-2008, 10:16 AM   #4
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
Also, there are VERY few remotely-exploitable kernel vulns, so you usually just patch software and still be safe. Upgrading a kernel on a production system without a particular reason is a bad idea.

That being said -- fsck can be useful to avoid more severe corruption down the road. 300G is really not that bad for fsck on a modern system, particularly on journaled filesystems where it can skip some of the normal steps.
Old 01-28-2008, 10:44 AM   #5
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Originally Posted by thebouv View Post
Why was it up for 430 days? Never updated the kernel, eh? Security not a concern of yours? Might want to reconsider that, but as to your question:
I've seen systems up for longer periods of time. Not everyone needs to update their kernel on a daily basis or every release, that would be a sysadmin's nightmare if that were a requirement. If it's not an exploitable kernel vulnerablity and they don't need to recompile for hardware changes as that might change once every 5 years in some production environments, there's really no need to update the kernel. This could be a setup behind on a private network for all we know. I still run 2.4.32 on my own servers, with no need to update still even. But from my experience as a system administrator, only upgrade if it will directly impact you, other than that, a production system should never be updated on a daily type basis or when a new release is out without testing first. Also in my experience, usually the latest and greatest has more unknown vulnerabilities than the older proven stable releases where they've worked out all the known bugs, etc.


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
FSCK Check forced - Exit Status 4 sandoz Linux - Software 12 01-24-2008 07:55 PM
Forced Fsck on reboot haze Ubuntu 1 03-20-2007 12:39 PM
How can I reboot with a forced fsck upon rebooting? abefroman Linux - Software 4 01-09-2006 10:24 PM
Cancelling Jobs in CUPS AcerKev Linux - Networking 2 12-29-2005 02:54 PM
Pthread cancelling msriram_linux Programming 2 11-21-2004 09:25 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:46 AM.

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