LinuxQuestions.org
Visit Jeremy's Blog.
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 01-27-2008, 08:48 AM   #1
epoh
Member
 
Registered: Jan 2008
Posts: 73

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, 11:58 AM   #2
thebouv
Member
 
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, 08:56 AM   #3
epoh
Member
 
Registered: Jan 2008
Posts: 73

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, 09:16 AM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
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, 09:44 AM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Quote:
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.
 
  


Reply


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


All times are GMT -5. The time now is 01:12 AM.

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