View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Jun 21, 2007 4:12 pm 
Offline
Joined: Wed Apr 12, 2006 3:05 pm
Posts: 252
Location: GA, USA
I just came home from a 3-week trip to find no programs in the recorded programs library. This caused some concern as I had a good number of programs when I left that should not have expired. My initial investigation showed that both the / and /myth partitions were full. I followed the instructions to clean out the mysql and mythtv logs to free up space on / but still no programs in the listing even though /myth is full. I tried repairing the database to no avail. Looking in the /myth/tv directory I see many "nuv" files corresponding to my program thumbnails but no associated "mpg" with the actual program. Performing "ls -l *.mpg" shows one 218GB file (the size of my /myth partition).

So, it seems like all my programs have been combined into one big mpg file. Is there any way to recover them or have I lost everything? I've searched this forum and Google but either no one has had this problem or I'm not using the right search terms. Help please!


Top
 Profile  
 
 Post subject: new one on me
PostPosted: Thu Jun 21, 2007 8:46 pm 
Offline
Joined: Fri Feb 03, 2006 5:31 pm
Posts: 39
I've had issues in the past with my disks being full and have just bitten the bullet.

being unable to log into the xwindow system because of too little disk space I've gone into the /myth/tv directory and removed files with the command line.

rm pornmovie.nuv pornmovie.mpg etc.

If you really want to try and salvage it, which I did once, you can hook up another drive, move the big file to it, delete it from /myth/tv then reboot and see what you get.

From there you have your 218G file on another drive you can mess with to try to recover the programs.

Just my two cents.


Top
 Profile  
 
PostPosted: Thu Jun 21, 2007 9:22 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
DoomedTX wrote:
I just came home from a 3-week trip to find no programs in the recorded programs library. This caused some concern as I had a good number of programs when I left that should not have expired. My initial investigation showed that both the / and /myth partitions were full. I followed the instructions to clean out the mysql and mythtv logs to free up space on / but still no programs in the listing even though /myth is full. I tried repairing the database to no avail. Looking in the /myth/tv directory I see many "nuv" files corresponding to my program thumbnails but no associated "mpg" with the actual program. Performing "ls -l *.mpg" shows one 218GB file (the size of my /myth partition).

So, it seems like all my programs have been combined into one big mpg file. Is there any way to recover them or have I lost everything? I've searched this forum and Google but either no one has had this problem or I'm not using the right search terms. Help please!


.nuv files are the old wrapper for .mpg files. Thumbnails end in .mpg.png.

Your likely culprit for / is in /var/log. However, start with a terminal and delete anything in /tmp if it's big (find out with "du -sh /tmp"). Then type "ls -lSrh /var/log". This lists all log files in order of size. You can also change the ls options to -lSrhR, which lists recursively. My disk fills frequently due to the many frontend errors, in /var/log/myth/mythfrontend.log. When you delete stuff in /tmp, you should restart the box (you'll have deleted some necessary files)

/myth will be your tv shows, of course. Go in and list by reverse file size (-lSrh) or reverse time (-lrth) and get rid of things manually. Your database is now broken, incidentally. You can prevent further damage by replacing the removed file with an empty placeholder, so that when the database is back up, it doesn't have a fit when it tries to delete a file that isn't there. You can do this by touching the filename you're deleting. E.G. "rm 1001_20070721180000.mpg && touch 1001_20070721180000.mpg". This will delete the actual file then create a blank replacement.

The database will need to be fixed after / has been brought down. Try a restart and it will tell you what tables failed and will give a hint on how to fix it (I can't remember offhand - I moved the log file to another filesystem to stop this problem). Nothing will work until you delete stuff.

The biggest problem is caused by / filling up. It screws up the database which is the centre of your system.

Good luck

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject: nice
PostPosted: Thu Jun 21, 2007 9:32 pm 
Offline
Joined: Fri Feb 03, 2006 5:31 pm
Posts: 39
can you just delete the logs and touch to replace them with blanks, reboot and everything be fine??


Top
 Profile  
 
 Post subject: Re: nice
PostPosted: Thu Jun 21, 2007 10:03 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
forkd wrote:
can you just delete the logs and touch to replace them with blanks, reboot and everything be fine??


yep, except you lose your log files.

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject: Re: nice
PostPosted: Thu Jun 21, 2007 10:08 pm 
Offline
Joined: Fri Feb 03, 2006 5:31 pm
Posts: 39
manicmike wrote:
forkd wrote:
can you just delete the logs and touch to replace them with blanks, reboot and everything be fine??


yep, except you lose your log files.

Mike


cool...thanks. I rarely use them because, in theory, things keep working unless I "improve" them :)


Top
 Profile  
 
PostPosted: Fri Jun 22, 2007 12:09 am 
Offline
Joined: Wed Apr 12, 2006 3:05 pm
Posts: 252
Location: GA, USA
manicmike wrote:
.nuv files are the old wrapper for .mpg files. Thumbnails end in .mpg.png.

/myth will be your tv shows, of course. Go in and list by reverse file size (-lSrh) or reverse time (-lrth) and get rid of things manually.


I didn't mean thumbnails precisely--since nuv files continue to be created long after I switched to recording entirely in mpg, I've always assumed the nuv files were the little preview videos shown when a program was selected in the media library.

I'm not having trouble figuring out which file is taking up space in /myth/tv either. It's the single 218GB mpg file that appeared there in place of my 218GB of individual shows. I'm just wondering how such a file came to be and if there's any hope of recovering my individual programming or if it's lost for good.

Anyone else have any ideas?


Top
 Profile  
 
PostPosted: Fri Jun 22, 2007 12:42 am 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
DoomedTX wrote:
I didn't mean thumbnails precisely--since nuv files continue to be created long after I switched to recording entirely in mpg, I've always assumed the nuv files were the little preview videos shown when a program was selected in the media library.

I'm not having trouble figuring out which file is taking up space in /myth/tv either. It's the single 218GB mpg file that appeared there in place of my 218GB of individual shows. I'm just wondering how such a file came to be and if there's any hope of recovering my individual programming or if it's lost for good.

Anyone else have any ideas?


That's weird about the nuv files.

A single 218GB file sounds like trouble. If you don't know what it is and can't play it, I would be deleting it. I think it's more likely that your other shows were force-expired due to a 'rogue' tuner recording endlessly. The 218GB file is probably a recording and your recording would be gone.

Good luck.

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
PostPosted: Fri Jun 22, 2007 6:08 am 
Offline
Joined: Wed Apr 12, 2006 3:05 pm
Posts: 252
Location: GA, USA
manicmike wrote:
A single 218GB file sounds like trouble. If you don't know what it is and can't play it, I would be deleting it. I think it's more likely that your other shows were force-expired due to a 'rogue' tuner recording endlessly. The 218GB file is probably a recording and your recording would be gone.

Good luck.

Mike


Dang, that seems to be the problem. It started recording a 30-minute program 5 days ago and never stopped, so we lost everything. Oh well, now I can convert the filesystem like I wanted without worrying about erasing everything :-)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 22, 2007 11:16 am 
Offline
Joined: Tue Aug 08, 2006 7:08 pm
Posts: 561
Location: UK
If you are not using a straight WinTV type card, .nuv files may be created if you are doing some kind of transcode after recording, do you have some kind of job set to run automatically?

Bruce S.

_________________
Updated 2019/10/26: AthlonII X2 265 Gigabyte GA-970A-DS3P
16Gb PC 1866 DDR3, 500GB+2TB+4TB SATA HDD,
SATA DVD-RW Asus DRW-24D5MT , NVIDIA GeForce GT1080
Hauppauage Nova-T 500, Nova-T LinHes R8.6.1


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 23, 2007 2:51 am 
Offline
Joined: Wed Apr 12, 2006 3:05 pm
Posts: 252
Location: GA, USA
bruce_s01 wrote:
If you are not using a straight WinTV type card, .nuv files may be created if you are doing some kind of transcode after recording, do you have some kind of job set to run automatically?

Bruce S.


I'm using a PVR 250 recording in MPEG mode and not running any transcode jobs after recording--just commercial flagging. As of yesterday I'm starting with a completely clean /myth partition and for every .mpg there's a corresponding small (35-50 bytes) .nuv. I'm not 100% sure but they seem to be created for live TV watching as well. I'll have to dig into the settings and be sure I have everything right.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 23, 2007 7:47 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
They're there for compatibility with older utilities. They simply refer to the .mpg file and should get cleaned up with it.

I've posted a script to get rid of any orphans left behind, searching for cleanup_orphans.sh should find both that and the previous discussion of this topic.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 23, 2007 11:02 am 
Offline
Joined: Wed Apr 12, 2006 3:05 pm
Posts: 252
Location: GA, USA
tjc wrote:
They're there for compatibility with older utilities. They simply refer to the .mpg file and should get cleaned up with it.

I've posted a script to get rid of any orphans left behind, searching for cleanup_orphans.sh should find both that and the previous discussion of this topic.


Thanks, I'll take a look for it. That was really a secondary issue anyway...now I need to find out why my tuner went "rogue" and recorded 100 hours of a 30-minute program.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 28, 2007 8:47 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,

What version of A series? Is there a specific reason to stay with the .nuv files? If not, may I suggest moving forward to at least R5C7, one tweak and it is very solid.

I had a fill up not long ago, kids fired up to watch tv but I didn't have any rf attached. After several hours of recording snow, /myth was full and that of course triggers /var/log/mythtv/mythtvbackend.log to be filled to any remaining space in the root partition. I simply echo " " > to the two overgrown files and continued on, no reboot required :)

It has been a "testing" of durability against a bunch of rug rats... so far KM has not been buckled under altho I did have to close up ~12 - 14 copies of tux-paint, 3 copies of kmahjonng, 1 copy of xmms & one xterm. I can't think of a better system for them to learn with :)

Mike


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 14 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