LinHES Forums
http://forum.linhes.org/

File system Fun ext3 arrrrrrrrrrhhhhh
http://forum.linhes.org/viewtopic.php?f=14&t=13943
Page 1 of 1

Author:  mogwa_ [ Tue Jan 30, 2007 2:31 am ]
Post subject:  File system Fun ext3 arrrrrrrrrrhhhhh

I have one myth box that runs are both frontend and backend. I have been using it with D for a while with no problems at all until the other day.

Booted the system and it disk checked, found faults. Manually repaired them with "fsck -c -y /dev/hda1" and then tried to boot again.

In the end this screwed the file system over and i had to reinstall so i chose to install R5E50 on the system.

I have now had several times when the system has disk checked and failed(4 if i remember correctly) and i have had to run fsck.

Now i have used other systems running ReiserFS and had no probelms. My thoughts are to wipe the system compleatly and reinstall it after manually setting up the disks with ReiserFS.

Please could some one advise if knoppmyth will run on this file system as ext3 is driving me up the wall.

I only run 1 HDD 250gb and have no current plans to change to LVM etc.

Author:  bruce_s01 [ Tue Jan 30, 2007 6:38 am ]
Post subject: 

Quote:
Booted the system and it disk checked, found faults. Manually repaired them with "fsck -c -y /dev/hda1" and then tried to boot again.

In the end this screwed the file system over and i had to reinstall so i chose to install R5E50 on the system.

I have now had several times when the system has disk checked and failed(4 if i remember correctly) and i have had to run fsck.
Ext 3 is not your problem.
What you are saying tells me you have a problem with your disk. I would check your HDD connectors, but if they are OK, either you have drive controller problems or your disk is failing. If you have anything on that drive you want to keep, back it up now and replace it with another drive.

Bruce S.

Author:  cahlfors [ Tue Jan 30, 2007 3:02 pm ]
Post subject:  Re: File system Fun ext3 arrrrrrrrrrhhhhh

Agree!
Ext3 is a dysfunctional file system. I've had problems with it too. I just read in Linux magazine that they've found deficiencies with the fsck for ext3 - doesn't repair correctly. We should see a fix coming out shortly. My experience is that an ext3 fsck that took six hours on my file server completed in two minutes after changing to JFS - with more reliable results. An fsck repair should be ran after each crash, so an unstable system will drive you up the wall and no file system will stay consistent in the long run that way.

But Bruce S is right, too - a Linux system shouldn't crash in the first place.

Try SMART utility tools to check the hard disk. If you feel the hardware should be OK, check this forum for lockup problems if that's what's happening or incompatibility issues. There are configuration problems that can make a Knoppmyth system crash also.

Good luck!
/Chris

Author:  tjc [ Tue Jan 30, 2007 7:33 pm ]
Post subject: 

Also, if you haven't got the box on a decent UPS you're asking for trouble. Remember these are server boxes, up all the time, and thus far more exposed to whatever the power company and mother nature throw at them...

I've been running Linux as my only OS at home and work for something over 10 years now, mostly using EXT2 and EXT3, and I don't remember the last time I had a serious FS glitch...

Author:  mogwa_ [ Fri Feb 02, 2007 3:56 pm ]
Post subject: 

Maybe it is a hardware fault but if so smarttools have reported no errors at all.

Since this was a upgrade i have done a full reinstall but setup my system reiserfs by doing the following.

boot knoppmyth cd

partition disk

ALT + F2
cfdisk /dev/hda
set /dev/hda1 to 5000mb type linux
set /dev/hda2 to 500mb type swap
set /dev/hda3 to max size type linux
ALT + F1

Manual install
configure install
set usernames etc
save config to /config
ALT + F2
vi /conf
edit the line
HD_FSTYPE="ext3"
to
HD_FSTYPE="reiserfs"
save file
Alt+f1
load config /config

start install
next
wait until the setup has finished.

Format and fstab bits
ALF F2
mkreiserfs /dev/hda3
reboot

mv /myth mythold
mkdir myth
edit fstab
vi /etc/fstab
add the following
/dev/hda3 /myth reiserfs defaults 0 1
/dev/hda2 swap swap pri=1 0 0
save
mount /myth
cp -a /mythold/* /myth/

make the sawp
mkswap /dev/hda2
swapon -a

reboot
check all filesystems etc start ok oon boot.

setup mythtv as normal

So far all is well but we will soon see in a few weeks time.

The above as just very quick notes, please to not rely on them

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/