LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2011, 08:01 AM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Rep: Reputation: 46
Can you force a dirty volume to mount anyway?


Have a volume that i'm running e2fsck on and it keeps restarting, finding more stuff, restarting, over and over. it hasn't made it past Pass 1 yet.

I'm assuming after every pass its in better shape than it was the previous one. Is there a way to have the server start up and not force a check on it and mount it, even though it will probably say its still dirty?
 
Old 03-10-2011, 01:08 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Do you have a forcefsck on your root partition? If so, remove it. Also, you could comment out the e2fsck line in /etc/rc, if it is there. However I do recommend not doing this....
 
Old 03-10-2011, 01:22 PM   #3
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
I'll have to look. Is forcefsck just a file on root? or would it be at the root of each volume?

I dont really want to do this either, and probably won't. sounds like a very bad idea. but figured i'd ask just in case
 
Old 03-10-2011, 01:35 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Yes, a VERY bad idea... LOL

And it would be a file on /
 
Old 03-10-2011, 01:53 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,580

Rep: Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698
Thumbs down

I think you are deep into the brown smelly stuff . . . e2fsck makes great big waves in that as it passes by :-/.

Boot on an installation disk, if you want my advice, and have a look from there. You can do run e2fsck from there. I would start by running badblocks

badblocks -p 1 /dev/whatever_It_Is
You can safely try
mount -o ro /dev/whatever_It_Is /mnt
ls /mnt/lost+found

That should show you an empty directory. I bet it won't. If it picked up a lot, run another pass.
Then try e2fsck. Your disk sounds snookered. get the data backed up - never mind reinstalling.
 
Old 03-10-2011, 02:01 PM   #6
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
Thanks guys. I'm just trying to figure out the best way to attack this, saving the most time of mine and preventing the longest downtime for users.
 
  


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
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 08:02 AM
How to boot server with one dirty volume not mounting rjo98 Linux - Newbie 5 03-10-2011 05:51 PM
[SOLVED] How to tell if volume is already dirty rjo98 Linux - Newbie 4 08-20-2009 03:29 PM
how to mount SAN volume with its increased volume size prvnrk Linux - General 4 03-22-2008 11:48 AM
Howto force fsck after dirty shutdown? anti_trend Linux - General 1 10-15-2004 07:34 PM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration