On Tue, Jul 8, 2008 at 1:46 PM, Michael T. Dean <<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>> wrote:<br><div class="gmail_quote"><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="Wj3C7c">On 07/08/2008 02:35 PM, Trey Thompson wrote:<br>
> Is there a way to have the storage directories rotate? For example, I<br>
> have two drives:<br>
> /mnt/drive1<br>
> /mnt/drive2<br>
><br>
> I currently have all recordings going to drive 1.<br>
><br>
> It's my understanding that if I setup another directory in the<br>
> recording group to point to /mnt/drive2, then that will only be used<br>
> when drive1 is full.<br>
><br>
> Can this rotate so that as new recordings start, they go back and forth?<br>
<br>
</div></div>By default, Myth will select the "local" filesystem with the most space<br>
available for new recordings, where "local" means one accessible through<br>
the filesystem (whether an NFS/CIFS mount or actual local storage).<br>
(Note that you can affect its preference, making some filesystems less<br>
likely to be used, but that's another story.) The only time the default<br>
rotation won't really work is if you have separate backends without NFS<br>
mounts.<br>
<br>
On my system, which consists of 2 backends each with local-only storage<br>
and no NFS exports, I've configured cardinputs such that the 1st and 4th<br>
inputs defined are on the master backend and the 2nd and 3rd inputs are<br>
on the slave backend. With that approach, the first recording to start<br>
gets input 1 and, therefore, writes to the master backend. However, any<br>
time 2 or more recordings overlap, the 2nd and 3rd will be written to<br>
the slave backend's storage. When 4 overlap, the 4th will be back on<br>
the master backend.<br>
<br>
Mike<br>
<div><div></div><div class="Wj3C7c">_______________________________________________<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>
</div></div></blockquote></div><br><br>Sweet! That's what I was looking for! I'll have it balance it out for now, then maybe later try to get tuners go to separate disks for performance issues.<br>