Difference between revisions of "Delete Recording From Full Disk"

From MythTV Official Wiki
Jump to: navigation, search
 
(No difference)

Revision as of 18:31, 19 August 2006

If your frontend crashes when you try to delete a recording from a full (100%) disk, do the following:

  • Kill the hanging frontend
$ killall -TERM mythfrontend
  • Start the frontend
$ mythfrontend
  • Get the date and time of the recording to delete (In the "Watch Recordings"/"Delete Recordings" Section of the frontend)
  • Find the file in your recordings directory that mathces the recording
$ ls /{recordings_dir}/*_{YYYYMMDDHHMM}??_[{YYYYMMDDHHMM}??]*.nuv
# {...} needs to be replaced by the proper values (recording directory / start time digits / end time digits)
# [...] is optional
  • Empty the file, but don't erase it (erasing messes everything up)
$ echo '' > {previously_determined_file}
# {...} needs to be replaced by the proper values (the path to the file you previously determined to be the recording to erase)
# If you get a "Permission denied" error, you need to switch to a user with write permission to the file (eg. type "su" to become root)