would you mind including you C code for my benefit? Would there be a benefit to my doing a copy from small BE local disk to large, remote BE or placing it directly on the remote disk over NFS. Seems like the downside would be that the smaller BE would always have to offer up the shows over NFS whenever they are watched.<br>
<br><br><br><div class="gmail_quote">On Tue, Feb 9, 2010 at 1:44 PM, aaron <span dir="ltr"><<a href="mailto:memoryguy@gmail.com">memoryguy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Tue, Feb 9, 2010 at 14:29, Brian Frost <<a href="mailto:bfrost@brainboy.com">bfrost@brainboy.com</a>> wrote:<br>
> I have a large 2T backend and (potentially) a small 160GB backend. I would<br>
> love to use the small backend to record because it is close to where I have<br>
> the tuner physically. Is there a way to automate migration from the storage<br>
> group on the smaller BE to the storage group on the larger BE? I might just<br>
> NFS mount up a dir on the larger BE but a storage migration from cron (or<br>
> similiar facility) would be great.<br>
><br>
> advice?<br>
<br>
</div></div>I'm doing something like this to migrate recordings from my internal<br>
IDE drive ("Default" storage group) to one of my three 1 TB USB drives<br>
("External" storage group).<br>
<br>
I'm using a small C program which periodically looks into a database<br>
table (the "copy queue") and then slowly copies the recording<br>
(rate-limited to 4 MB/s to try to reduce IO bandwidth contention). I<br>
use a small user job (shell script) to insert the recording details<br>
into the queue when the recording finishes.<br>
<br>
Works well for me... except that any space-driven auto-expiring won't<br>
work... as far as I can tell... since the backend doesn't know that<br>
the recording is going to be moved (it doesn't know it should delete<br>
from "External" rather than "Default"). So far it hasn't been a big<br>
issue for me; I manually make sure I have enough room.<br>
<br>
No, it's probably not an ideal solution, but it works well for me, and<br>
gets around my issue with the USB hanging periodically... when I<br>
record directly to the USB drive, it sometimes "hangs" for 15--20<br>
seconds, and I end up with a dropped segment in the recording. I'm not<br>
sure what the cause is/was but this setup seems to avoid the issue for<br>
me.<br>
<br>
I would *much* rather add internal drives, for a variety of reasons,<br>
but it's pretty much impossible to find IDE (yes, IDE :) ) drives<br>
bigger than 500 GB and I don't have enough drive bays to make that<br>
worthwhile. Upgrading the system will entail replacing pretty much<br>
everything since the machine is obsolete... (it's only 5.5 years<br>
old... ;-) )<br>
<font color="#888888"><br>
aaron<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</font></blockquote></div><br>