LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-15-2003, 08:43 PM   #1
atkromo
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
problem with filesystem


Recently i installed Mandrake Linux on a 40gig hd machine...
filesystem = ext3
Configuration:
/dev/hda1 ext3
/dev/hda5 swap
/dev/hda6 ext3

All was working well until two days ago when the electricity went down...
At the next startup the machine forced a fsck...
/dev/hda1 got cleaned up...
the /dev/hda6 got till 55.6% and then got the error message that it can't read block ..... It resulted in a short read.....
It took about a day to recover...
yesterday the electricity went down again....
again the same problem....
With the fact that the filesystem is ext3 and that the recovering should take only a couple of minutes with the journal, my question is , is this error due to a physical defect ?
Is there a manual and faster way to recover from a unclean shutdown ?
Because the /dev/hda6 was mounted on /home and i didn't have much data on it, i decided to do :
mke2fs -j -c -M /home /dev/hda6

Am i doing the right thing here with forcing to check on bad blocks ???
 
Old 07-16-2003, 03:24 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Re: problem with filesystem

Quote:
Originally posted by atkromo
Recently i installed Mandrake Linux on a 40gig hd machine...
filesystem = ext3
Configuration:
/dev/hda1 ext3
/dev/hda5 swap
/dev/hda6 ext3

All was working well until two days ago when the electricity went down...
At the next startup the machine forced a fsck...
/dev/hda1 got cleaned up...
the /dev/hda6 got till 55.6% and then got the error message that it can't read block ..... It resulted in a short read.....
It took about a day to recover...
yesterday the electricity went down again....
again the same problem....
With the fact that the filesystem is ext3 and that the recovering should take only a couple of minutes with the journal, my question is , is this error due to a physical defect ?
Is there a manual and faster way to recover from a unclean shutdown ?
Because the /dev/hda6 was mounted on /home and i didn't have much data on it, i decided to do :
mke2fs -j -c -M /home /dev/hda6

Am i doing the right thing here with forcing to check on bad blocks ???
Journalling file system is made such that they recover faster after a unclean shutdown.
Since your filesystem is ext3( could you check /etc/fstab, and also the initrd ,coz the initrd should load your ext3 module just about mounting the filesystem).The fsck check is also possible after max-mount-counts.
http://man.linuxquestions.org/index....pe=2&section=8
so turn off max-mount-count if you don't want fsck to check your filesystem.
well I don't think there is a physical defect but it is ok to check out.
As for creating a new filesytem /dev/hda6 ,it's your choice.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
filesystem problem adityabhat2 Linux - Software 7 06-07-2005 04:36 PM
DISCUSSION: Virtual Filesystem: Building a Linux Filesystem from an Ordinary File mchirico LinuxAnswers Discussion 0 10-28-2004 10:35 PM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM
Filesystem problem Daxziz Linux - Software 3 03-07-2004 12:46 PM
filesystem permission problem bennett Linux - Newbie 3 10-08-2003 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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