LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 07:01 AM   #1
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Rep: Reputation: 49
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, 12:08 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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, 12:22 PM   #3
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
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, 12:35 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

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

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

Rep: Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333Reputation: 2333
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, 01:01 PM   #6
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
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



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 07:02 AM
How to boot server with one dirty volume not mounting anon091 Linux - Newbie 5 03-10-2011 04:51 PM
[SOLVED] How to tell if volume is already dirty anon091 Linux - Newbie 4 08-20-2009 02:29 PM
how to mount SAN volume with its increased volume size prvnrk Linux - General 4 03-22-2008 10:48 AM
Howto force fsck after dirty shutdown? anti_trend Linux - General 1 10-15-2004 06:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:58 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