View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Jan 18, 2005 5:06 pm 
Offline
Joined: Tue Feb 24, 2004 8:35 am
Posts: 16
this is a problem i have probably had 5-6 times by now (so yes ive reinstalled knoppmyth 5-6 times), but it is starting to wear on me....it seems without fail that if for any reason (power shortage, mythttv crash) my system gets rebooted without being properly shutdown, it doesnt start back up, i get the whole unexpected inconsistency run fsck manually stuff, which ive looked up online seems to be a fairly commeon filesystem corruption in linux, i couldnt find any instances of anyone w/knoppmyth having it happen....well ive tried running fsck manually and that doesnt work, something about a superblock....anyways is it just me...of course i always try to shut my system down properly but it seems like once every 3-4 months SOMETHING happens and its getting rather tiring to re-install knoppmyth, re-set up my remote, put my tv preferences back....etc...etc
is there anything i can do? (obviously besides making sure i shut down properly....why doesnt this happen to anyone else?)

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 5:26 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Are you using EXT3 filsystem type? A journalling file system is supposed to help in cases like this.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 5:29 pm 
Offline
Joined: Tue Feb 24, 2004 8:35 am
Posts: 16
forgive my linux incompetence....how would i check that? and also if im not how would i do that in the future?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 5:43 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
If you dont know that then I assume that you have done an r4v5 autoinstall in which case, you should be using ext3.

Type mount and is should tell you the file system type of all mounted filesystems. I think /cache is ext2 and everything else is ext3 by default.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 6:12 pm 
Offline
Joined: Tue Feb 24, 2004 8:35 am
Posts: 16
mount isnt even working....yea i did do an autoinstall...im stumped


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 6:23 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
Not sure what is going on with your system, I can assure you I've had mine crash for numerous reasons over the last year or so and I've never had it irreversibly corrupt the file system.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 11:02 pm 
Offline
Joined: Tue Feb 24, 2004 8:35 am
Posts: 16
weird...maybe i should do like a low-level format and start from scratch so to speak


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 19, 2005 12:18 am 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
I think you may have a hard disk problem. Disks are cheap enough, get a new one before reinstalling. At least load the smartmontools package and find out what it says about your disk. Or download the software from your disk maker and hook it to a Windoze machine to analyze it. Your experience with disk corruption is not typical.

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 19, 2005 5:05 am 
Offline
Joined: Tue Feb 24, 2004 8:35 am
Posts: 16
i guess thats possible...would this smartmontools package tell me if i have a hardware error? it is a fairly new, 160 gb drive only about 2 years old
however as google reveals http://www.google.com/search?hl=en&q=un ... k+manually it seems to be a somewhat commonly occuring linux problem


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 19, 2005 8:51 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
The smartmontools package lets you interrogate the drive's internal registers for indications of impending failure. The S.M.A.R.T. spec was introduced a number of years ago, and almost all large drives currently sold support it. FWIW I've replaced three large disks so far this year, one with only 9 months use (but out of its 1-year warranty period, of course).

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 24, 2005 10:39 pm 
Offline
Joined: Tue Dec 14, 2004 10:51 am
Posts: 15
Just to lend support for the OP. I have had this same issue with complete corruption of the file system. It has happened twice to me. The HD is a maxtor 160 GB drive and it is only about 3 months old. I have never had a HD die on me at such a young age, but it is possible.

Although I have done a hard reboot without the shutdown several times. It seems to really happen when I have to do a hard boot when the live tv locks and I can't ssh into the box for a reboot. Unfortunately, the box is networked wirelessly.

I plan on rebuilding this weekend. Would it be better to pick a different file system then the autobuild (ext3)?

Mark


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 25, 2005 2:58 am 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
I changed to XFS for my /myth partition, but that was for very specific reasons. I record HDTV and the size of the files it creates are gargantuan. A one-hour show is 6-8G bytes and a football game is 20G or more. When you delete a large file from ext3 or similar, it takes *forever*. With XFS it's nearly instantaneous.

I also opted for LVM so I can add disk space to Myth at any time. Big disks keep getting cheaper. I picked up four more 300G disks for $150/ea. in the last couple of weeks. Five-year warranty, too! Gotta love those Seagates.

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 25, 2005 7:33 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
Well I to run XFS on my /myth partition, and my /cache partition as well, but neither of those partitions really matter as far as booting, so complete file system corruption on them wouldn't keep you from booting.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject: Manual Install
PostPosted: Sat Feb 05, 2005 3:55 am 
Offline
Joined: Tue Jan 25, 2005 10:25 pm
Posts: 21
I did a manual install after complete file system corruption, but it didn't automagically mount the other two partitions created from the auto install. Can someone tell me what the mount points should be for /dev/hda3 and /dev/hda4 and what file I should edit to have them mounted during boot?

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 05, 2005 12:40 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Here's my /etc/fstab. The first three non-comment lines are what you're looking for. Since you probably don't have a second disk mounted as /mtth/tv you can ignore the last two lines, the rest is pretty vanilla.
Code:
root@black:~ # cat /etc/fstab
# /etc/fstab: filesystem table.
#
# filesystem  mountpoint  type  options  dump  pass
/dev/hda1  /  ext3 defaults,errors=remount-ro  0  1
/dev/hda3  /cache  auto  defaults,auto  0  2
/dev/hda4  /myth  auto  defaults,auto  0  2

proc  /proc  proc  defaults  0  0
/dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0
/dev/cdrom /cdrom  iso9660  defaults,ro,user,noexec,noauto  0  0
/dev/dvd /dvd  iso9660  defaults,ro,user,noexec,noauto  0  0
/dev/cdaudio /cdaudio  iso9660  defaults,ro,user,noexec,noauto  0  0
# Added by KNOPPIX
/dev/hda2 none swap defaults 0 0
# Added by KNOPPIX
/dev/hdb1  /myth/tv  ext3  defaults,auto  0  2


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu