[mythtv-commits] Ticket #7936: MythTV is expiring just recorded recordings instead of older recordings
MythTV
mythtv at cvs.mythtv.org
Tue Jan 19 20:20:00 UTC 2010
#7936: MythTV is expiring just recorded recordings instead of older recordings
----------------------------------------------------+-----------------------
Reporter: Jonathan Martens <jonathan@…> | Owner: ijr
Type: defect | Status: infoneeded_new
Priority: major | Milestone: unknown
Component: MythTV - General | Version: 0.22-fixes
Severity: high | Mlocked: 0
----------------------------------------------------+-----------------------
Comment(by Jonathan Martens <jonathan@…>):
Replying to [comment:1 stuartm]:
> Can you include the priority of those recordings and tell us which
expire method you are using? Oldest first, lowest priority, oldest +
lowest etc (please doublecheck)
{{{
mysql> select * from settings where value like '%expire%';
+---------------------------+------+-------------------+
| value | data | hostname |
+---------------------------+------+-------------------+
| AutoExpireMethod | 2 | NULL |
| AutoExpireDayPriority | 3 | NULL |
| AutoExpireDefault | 1 | NULL |
| AutoExpireLiveTVMaxAge | 1 | NULL |
| AutoExpireExtraSpace | 10 | NULL |
| PlaybackWLAutoExpire | 0 | mythtv.snetram.nl |
| AutoExpireWatchedPriority | 1 | NULL |
| AutoExpireInsteadOfDelete | 0 | NULL |
+---------------------------+------+-------------------+
8 rows in set (0.00 sec)
}}}
> Logs from the backend may be useful. Check that the backend still has
write permissions on the old recordings.
I have tried to view some of the oldest (at random) and they can all be
played back, so reading is fine. All recordings in my recordings folder
have the correct ownership and permissions:
{{{
[root at mythtv recordings]# find -type f -perm 644 | grep 'mpg$' | wc -l
210
[root at mythtv recordings]# ls -la *.mpg | wc -l
210
}}}
> Are all the recordings on the same drive, are they local to the backend,
was the drive or network offline if not?
It is a combined backend/frontend machine to which all recordings are
stored local.
> Auto-expire behaviour is affected by storage group usage too, which
storage group balancing mode are you using?
I have not set this ever IIRC can you hint me where to find this setting?
I have only one machine (this combined frontend and backend) and only one
storage group for recordings.
{{{
mysql> select * from settings where value like '%dir' or value like
'%location';
+--------------------------+-------------------------------------+-------------------+
| value | data |
hostname |
+--------------------------+-------------------------------------+-------------------+
| PIPLocation | 2 |
mythtv.snetram.nl |
| MythArchiveTempDir | /storage/temp/ |
mythtv.snetram.nl |
| MythArchiveShareDir | /storage/mytharchive/ |
mythtv.snetram.nl |
| MythArchiveDVDLocation | /dev/dvdrw |
mythtv.snetram.nl |
| DVDDeviceLocation | /dev/dvd |
mythtv.snetram.nl |
| VCDDeviceLocation | /dev/cdrom |
mythtv.snetram.nl |
| DVDRipLocation | /storage/mythdvd/temp/ |
mythtv.snetram.nl |
| GalleryDir | /storage/pictures/ |
mythtv.snetram.nl |
| GalleryThumbnailLocation | 0 |
mythtv.snetram.nl |
| MusicLocation | /storage/music/ |
mythtv.snetram.nl |
| CDCreateDir | 1 |
mythtv.snetram.nl |
| VideoStartupDir | /storage/videos/ |
mythtv.snetram.nl |
| VideoArtworkDir | /storage/mythvideo/ |
mythtv.snetram.nl |
| mythvideo.fanartDir | /root/.mythtv/MythVideo/Fanart |
mythtv.snetram.nl |
| mythvideo.screenshotDir | /root/.mythtv/MythVideo/Screenshots |
mythtv.snetram.nl |
| mythvideo.bannerDir | /root/.mythtv/MythVideo/Banners |
mythtv.snetram.nl |
| MythMusicLastImportDir | / |
mythtv.snetram.nl |
| mythvideo.TrailersDir | /root/.mythtv/MythVideo/Trailers |
mythtv.snetram.nl |
+--------------------------+-------------------------------------+-------------------+
18 rows in set (0.00 sec)
}}}
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7936#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list