[mythtv-users] Disk space is not freed from deleted recording until mythbackend exits

Jim O'Neill oneillji at gmail.com
Fri Aug 18 00:56:43 UTC 2006


Joe Ripley wrote:
> Jim,
>
> Have you tried syncing your disks?  Try deleting a recording from the 
> frontend and then issuing a 'sync' command.  This should commit any 
> buffered disk activity to the hard drives. 
>
> You can also try adding the 'sync' option to your fstab file for your 
> myth partition.  That way Linux will mount the drive and perform 
> synchronous I/O whenever changes are made ( i.e. changes are committed 
> immediately).  Running with 'sync' may degrade HD performance, 
> depending on how much I/O takes place on that disk.  But it might be 
> worth a try.  (Note: a reboot or re-mount of the partition will be 
> necessary for this to take effect).
>
> - Joe
>
> On 8/15/06, *Jim O'Neill* <oneillji at gmail.com 
> <mailto:oneillji at gmail.com>> wrote:
>
>     I've been having a problem for about two to three weeks now where the
>     space from a recording manually deleted from within mythfrontend
>     is not
>     returned to the system until i exit mythbackend.  It was working prior
>     to this.   The recording appears to be deleted according to
>     mythfrontend
>     and the file system but myth and df do not show the space being
>     returned.  The file system is used by mythtv alone and only for
>     recordings.  As a test i have deleted a recording from konqueror and
>     space is returned after a few moments without exiting konqueror but i
>     have no clue as to whether this test has any validity.
>
>     I've found one thread on the list mentioning similar symptoms but in
>     that case having mythbackend and mythfrontend running on different
>     boxes
>     was determined to be a contributing factor and i'm running both on the
>     same box.
>
>     I'd appreciate any insight anyone can share that may lead to a
>     solution.
>
>     Thanks
>     Jim
>
>     ------------------------------------
>
>     LVM with reiserfs.  reiserfsck reports no problems.
>
>     mythbackend --version
>     Library API version: 0.19.20060708-1
>     Source code version: 10761M
>
>     _______________________________________________
>     mythtv-users mailing list
>     mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
>     http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
Thanks, Joe.  I tried df with the --sync option but it didn't make a 
difference.  Jim


More information about the mythtv-users mailing list