Delete Recording From Full Disk

From MythTV Official Wiki
Revision as of 18:33, 19 August 2006 by Wiki (talk | contribs) (What to do if your frontend crashes when you try to delete a recording from a full disk?)

Jump to: navigation, search

If your frontend crashes when you try to delete a recording from a full 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)
  • Delete the recording with the frontend