<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<p>
Zitat von Gerald Brandt <gbr@majentis.com>:
</p>
<blockquote type="cite">
<div style="font-family: Verdana; font-size: 8pt; color: rgb(0, 0, 0);">
<br />
<blockquote mce_style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">
<div class="gmail_quote">
On 10 November 2010 14:00, Gerald Brandt <span dir="ltr"><<a target="_blank" mce_href="mailto:gbr@majentis.com" href="mailto:gbr@majentis.com">gbr@majentis.com</a>></span> wrote:<br />
<blockquote mce_style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
<div>
<div mce_style="font-family: Verdana; font-size: 8pt; color: #000000;" style="font-family: Verdana; font-size: 8pt; color: rgb(0, 0, 0);">
Hi,<br />
<br />
I deleted a bunch of recording, most recorded on a slave backend that no longer exists.<br />
<br />
The recordings are no longer in the database (not on recordings screen, and "mysql -umythtv -p mythconverg -e "SELECT * FROM recorded;" > /tmp/t.txt" doesn't seem to have the recordings either).<br />
<br />
But, no disk space was returned.<br />
<br />
Is there a simple script to match what is in the recorded table to what is on the disk?  Basically, if there is a recording on disk that doesn't have a matching table entry, I want to delete the file.  Or am I missing something?<br />
<font color="#888888"><br />
Gerald<br />
<br />
<br /></font>
</div>
</div><br />
_______________________________________________<br />
mythtv-users mailing list<br />
<a target="_blank" mce_href="mailto:mythtv-users@mythtv.org" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br />
<a target="_blank" mce_href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br />
<br />
</blockquote>
</div><br />
<br />
_______________________________________________<br />
mythtv-users mailing list<br />
mythtv-users@mythtv.org<br />
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users<br />
</blockquote><br />
<br />
<hr id="zwchr" />
<blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;" id="mce_9">
<p>
<b>From:</b> "Martin Moores" <moores.martin@gmail.com><br />
<b>To:</b> "Discussion about MythTV" <mythtv-users@mythtv.org><br />
<b>Sent:</b> Wednesday, November 10, 2010 8:11:45 AM<br />
<b>Subject:</b> Re: [mythtv-users] Deleted recording - no disk space returned<br />
<br />
If you are running ext3/ext4 (not 100% on ext4) filesystem, then recordings can take an age to delete from disc.  I used the stats page on mythweb to monitor the gradually increasing disc space when I removed a ton of recordings (just to make sure if was actually happening).  Took literally hours for the recordings to delete and the disc space to be freed<br />
<br />
Martin<br />
</p>
</blockquote><br />
That's what I figured, so I waited over 12 hours before I said anything.  The stats page does show a bit more free than 'df' does but not much.  Plus, I'm using XFS, so I didn't think it was an issue.<br />
<br />
Thanks for the heads up on the stats page in mythweb.  I didn't look there at all.<br />
<br />
Gerald<br />
<br />
</div>
</blockquote>
<p>
FWIW, this happens with XFS too.
</p>
<p class="imp-signature">
Jan.<br />
<br />
--<br />
Do you need professional PHP or Horde consulting?<br />
<a target="_blank" href="http://horde.org/consulting/">http://horde.org/consulting/</a>
</p>
</body>
</html>