LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-16-2011, 05:16 PM   #1
forbin
Member
 
Registered: Apr 2010
Posts: 43

Rep: Reputation: 0
Unhappy e2fsck froze at 4.8% on large LVM2 volume


We had to reboot a server in the middle of a production day due to 99% iowait (lots of processes in deep sleep waiting for disk iops). That's never happened to us before.

It had been 363 days since the last fsck, so it started automatically on reboot. It hung at 4.8% on a 2TB LVM2 volume for about an hour. I killed the fsck and rebooted the server. The second time, it went past that point and is currently at about 62%.

First, what causes e2fsck to hang like that? Second, is there any danger in killing e2fsck, rebooting, and starting it again?
 
Old 02-16-2011, 06:09 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Can you post your dmesg? I just want to see if any errors came up either during when it hung or when you killed it.

It can hung due to many reasons, one being having a lot of bad inodes, and it is just taking a long to time to recover them. I advise next time you give it longer than an hour to see what it does, along with running it in verbose mode for better output and to see if anything is occuring during the "hang time" so to speak.
 
  


Reply



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
e2fsck for only one volume on reboot anon091 Linux - Newbie 1 02-09-2011 09:35 AM
e2fsck and unmounted a volume anon091 Linux - Newbie 11 07-27-2010 02:18 PM
Mount a LVM2 volume in a foreign machine apueyo Linux - Server 1 09-28-2009 09:44 AM
How to move an lvm2 volume group from one physical to another? shwouchk Linux - Software 2 10-29-2008 07:16 PM
resizing lvm2 physical volume fakie_flip Linux - Software 3 08-07-2006 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:25 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration