[mythtv-users] Storage Groups and auto expire problem

Chuck Peters cp at ccil.org
Sun Mar 16 09:32:52 UTC 2008


To summarize a program just autoexpired, and I don't think it should have.
The logs showed when the program was scheduled it wants 0 MiB free, but it
actually expired the program with about 2GB free. And that is the way it
worked prior to Storage Groups.  What this means to this particular setup is
I'll be autoexpiring stuff when I have plenty of space in the Default
storage group available via NFS. From what I understand of the storage
groups it shouldn't have done that, it should have recorded the programs on
one of the NFS partitions since the local disk is almost full.

Would changing the amount of space the backend is supposed to keep open help
with this issue, or will it still be off?

With 2 tuners in one box and 1 in the other, how does one choose an amount
of space to be left free without knowing the length of the recordings ahead
of time?  ie I don't want to leave 12.2GB free because I might record a two
hour program on NG and a movie at the same time.

Prior to storage groups I used a couple myth_archive.pl jobs to move the
files after recording.  This was fairly easy to keep some space available
without autoexpiring what I wanted to keep in part because a perl and bash
script which listed where the actual programs resided.  Perhaps it's because
I am not undertanding Storage Groups as much as I like, but it seems its
just making things more complicated and I was hoping it would be more
automated and easier to keep track of things through the frontend and/or
mythweb.

What would make it easier to keep track of things?

2008-03-16 03:27:29.610 'Taboo' will record in '/lvm/home/mythtv/store'
which has 2935 MiB free. This recording could use a max of 2307 MiB and the
AutoExpirer wants to keep 0 MiB free.


2008-03-16 03:33:08.399 Expiring 1123 MBytes for 4063 @ Thu Mar 13 17:00:00
2008
 => Hardball With Chris Matthews
2008-03-16 03:33:08.407 autoexpire: Expiring Program: Expiring 1123 MBytes
for 4
063 @ Thu Mar 13 17:00:00 2008 => Hardball With Chris Matthews

2008-03-16 03:33:08.176 fsID #1: Total:   274.0 GB   Used:   251.2 GB
Free:    22.8 GB
2008-03-16 03:33:08.178 fsID #2: Total:   372.5 GB   Used:   260.9 GB
Free:   111.5 GB
2008-03-16 03:33:08.179 fsID #3: Total:   465.6 GB   Used:   138.8 GB
Free:   326.9 GB
2008-03-16 03:33:08.181 fsID #4: Total:   186.2 GB   Used:   174.5 GB
Free:    11.7 GB
2008-03-16 03:33:08.182 fsID #5: Total:   465.6 GB   Used:   463.0 GB
Free:     2.7 GB
2008-03-16 03:33:08.184     Not Enough Free Space!  We want 2883 MB
2008-03-16 03:33:08.185     Directories on filesystem ID 5:
2008-03-16 03:33:08.186         peters:/lvm/home/mythtv/store
2008-03-16 03:33:08.188     Searching for expireable files in these
directories
2008-03-16 03:33:08.189         Checking 4061 @ 2008-02-24T06:00:00 => Book
TV
...
2008-03-16 03:33:08.367         Checking 4063 @ 2008-03-13T17:00:00 =>
Hardball With Chris Matthews
2008-03-16 03:33:08.378 SG(Default): FindRecordingFile: Searching for
'4063_20080313170000.nuv'
2008-03-16 03:33:08.380 SG(Default): FindRecordingDir: Checking
'/kj/mythtv/store'
2008-03-16 03:33:08.382 SG(Default): FindRecordingDir: Checking
'/275/mythtv/store'
2008-03-16 03:33:08.385 SG(Default): FindRecordingDir: Checking
'/400/media/store'
2008-03-16 03:33:08.388 SG(Default): FindRecordingDir: Checking
'/500/media/store'
2008-03-16 03:33:08.391 SG(Default): FindRecordingDir: Checking
'/lvm/home/mythtv/store'
2008-03-16 03:33:08.392 SG(Default): FindRecordingFile: Found
'/lvm/home/mythtv/store/4063_20080313170000.nuv'
2008-03-16 03:33:08.394 ProgramInfo: GetPlaybackURL: File is local:
'/lvm/home/mythtv/store/4063_20080313170000.nuv'
2008-03-16 03:33:08.395         FOUND Expireable file. 4063 @
2008-03-13T17:00:00 is located at
/lvm/home/mythtv/store/4063_20080313170000.nuv which is on fsID #5. Adding
to deleteList.  After deleting we should have 3871 MB free on this
filesystem.
2008-03-16 03:33:08.397 AutoExpire: SendDeleteMessages, cycling through
deleteList.
2008-03-16 03:33:08.399 Expiring 1123 MBytes for 4063 @ Thu Mar 13 17:00:00
2008 => Hardball With Chris Matthews
2008-03-16 03:33:08.407 autoexpire: Expiring Program: Expiring 1123 MBytes
for 4063 @ Thu Mar 13 17:00:00 2008 => Hardball With Chris Matthews



Thanks,
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080316/1c7ac005/attachment-0001.htm 


More information about the mythtv-users mailing list