<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 8pt; color: #000000'><br><br><hr id="zwchr"><blockquote id="mce_9" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;" mce_style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;"><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><br></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><br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;" mce_style="border-left:2px solid #1010ff;margin-left:5px;padding-left:5px;"><div class="gmail_quote">On 10 November 2010 14:00, Gerald Brandt <span dir="ltr"><<a href="mailto:gbr@majentis.com" mce_href="mailto:gbr@majentis.com" target="_blank">gbr@majentis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" mce_style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div><div style="font-family: Verdana; font-size: 8pt; color: rgb(0, 0, 0);" mce_style="font-family: Verdana; font-size: 8pt; color: #000000;">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 href="mailto:mythtv-users@mythtv.org" mce_href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" mce_href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">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></div></body></html>