View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Sep 07, 2005 2:35 pm 
Offline
Joined: Sat Jun 18, 2005 1:24 pm
Posts: 11
Location: Southbridge MA
I have a 3 month old installation that was working well until I allowed it to fill the disks. Once the recording section filled it started getting errors and the log files filled the root partition and it was all downhill from there. Apparently there were some shared blocks that e2fsck wasn't too happy about and I was never able to get it clean. So... I appear to have a good LVM partition of videos but I need to rebuild my root partition. I'm afraid to just let it do an install and have it roach something that I will need or init the /myth directories. is there something here (which I haven't been able to find in my search) that describes this type of recovery? I've got 550gb of videos I'd like to salvage if possible. my other choice is to swap in a virgin drive and rebuild on that and then copy the root over onto the bad partition once it's up and running. I await your collective words of wisdom...

Jim (the hopeful)

_________________
R5A16, ivtv 3.6y, PVR-150 (Tuner 50, NTSC), PVR-350 (Tuner 47, NTSC, Video out), Sempron 2800+, 2Gb RAM, 600Gb HD


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 07, 2005 4:53 pm 
if your hda1 is completely lost, then I would consider an auto upgrading using the LVM procedures. That is, of course, you are able to get it up long enough to do a knoppmyth backup to store the database or did a backup recently.

Otherwise, it is auto install time for you. Sorry.

Did you try to recover the database? There are some posts here on how to rebuild the database.

Andrew Lynch

http://mysettopbox.tv/phpBB2/viewtopic. ... r+database

http://knoppmythwiki.org/index.php?page ... adeWithLVM


Top
  
 
 Post subject:
PostPosted: Wed Sep 07, 2005 7:13 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi Coreman,

Just because your hda1 if filled doesn't mean it is toast, I have found that what usually occurs is that when something goes worng (ie no space left or simular) that the silly machine generates a lot of messages telling you that it ran out space and keeps doing that until the root partion also runs out of space....

There is a post somewhere that will guide you to cleaning up some of those logs so that you have some working room. What ever you do, don't delete files from the /myth/tv as that generate bigger headaches. Simply pick one of the last recordings and make it smaller. Then you can use your web browser to clean house properly.

(example) To make a /myth/tv//2002_20050906030000_20050906040000.nuv of ~ 1.1 gig, just use echo. That is a space between the " " ...
# echo " " > /myth/tv//2002_20050906030000_20050906040000.nuv
this file will now be one byte long and you should have working room again. You most likely will have to restart the mythbackend. I do it this way but is your call..
#<code>
#!/bin/sh
#
#gracefull backend restart
(play /myth/saytime/pop.wav >& /dev/null)&
sudo sh /etc/init.d/mythtv-backend stop
sleep 7 #needs the time delay
sudo sh /etc/init.d/mythtv-backend restart
(play /myth/saytime/pop.wav >& /dev/null)
#
#<end code>

you could even call it something silly like "reset-backend" and save the script for future useage :)

Look at this and see if it fits a little,http://mysettopbox.tv/phpBB2/viewtopic.php?t=4853

Mike


Top
 Profile  
 
 Post subject: Recovery
PostPosted: Wed Sep 07, 2005 7:43 pm 
Offline
Joined: Sat Jun 18, 2005 1:24 pm
Posts: 11
Location: Southbridge MA
yeah, hda1 is totally toast. it filled and the fsck found a bunch of problems including some duplicate inodes and it segfaults now when I run it on the partition from the Knoppmyth CD. The /myth/tv partition (lvm) filled but still had a few megabytes. I made the mistake of trying to delete a known bad recording through mythweb and it hung, I couldn't even ssh in and when I rebooted, fsck roached hda1 as it came back up.

So, I assume that from your comments/solutions that the database is on the root partition?

is there enough info in the .nuv files to recover the names/dates of the recordings or will I have to sort them and manually fill them back in?

none of it is irreplaceable. i'm sure I can regather all the old repeats I've been collecting to archive. I just wish I had had more time to write them to DVD since I had just gotten Martin's MythBurn scripts working. I wish it had deleted/expired some of the old recordings and freed some space but it didn't.

_________________
R5A16, ivtv 3.6y, PVR-150 (Tuner 50, NTSC), PVR-350 (Tuner 47, NTSC, Video out), Sempron 2800+, 2Gb RAM, 600Gb HD


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 07, 2005 7:57 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
Sorry to hear that. If you run mythlink.sh as part of your normal system, there maybe a listing in the /myth/pretty directory to help you salvage something. I would envision a lot of work later trying to put all the info into the database. If you can get to & have the pretty then a ls -al will also so the links.

I got hosed once (actually a couple of times, slow learner) so now I have my box do a backup on a reboot or shutdown so I don't forget. I've done several auto upgrades (playing) and everything is recovered so far.

Sorry couldn't be of more help.
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 07, 2005 10:34 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
/me ponder how this is related to installing...


Top
 Profile  
 
PostPosted: Thu Sep 08, 2005 4:40 am 
Offline
Joined: Sat Jun 18, 2005 1:24 pm
Posts: 11
Location: Southbridge MA
nope, Not running /Myth/Pretty. not even a recent backup 8^(

It relates to installing because my only recovery option at the moment is a complete reinstall but I still have a valid /myth/tv which would be useful to recover if possible. Where else would you suggest I post?

_________________
R5A16, ivtv 3.6y, PVR-150 (Tuner 50, NTSC), PVR-350 (Tuner 47, NTSC, Video out), Sempron 2800+, 2Gb RAM, 600Gb HD


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 08, 2005 6:23 am 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi cesman,

Yes, you are correct, sorry.
It looks ore like he is going to have to re-install however I would try an auto upgrade first to try and save the videos. Without a backup, things will get messy.
Thanks for being patient, and good luck to Coreman.

Mike


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 21 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu