[mythtv-users] Storage group disk scheduler question
Stephen Worthington
stephen_agent at jsw.gen.nz
Thu Mar 21 06:52:34 UTC 2013
On Wed, 20 Mar 2013 17:56:03 -0700, you wrote:
>Hi,
>
>I'm using mythtv 0.25.2 and I'm having a problem with the disk scheduler. I have 2 hard drives in my system, each physically within the backend, each the same size. One of them is mostly full (~300GB available) and one of them is mostly empty (~1.5TB available) due to recently adding the second drive. I changed the policy in mythtv-setup to be 'Combination' thinking that mythtv should use both when 2 recordings are recording, and use the one with the most space available when only 1 recording is being recorded. The problem I am seeing is that the second drive (the one with 1.5TB available) is not being used at all. I have the Storage groups set up to point to both hard drives. I'm not sure why it's not being used, all the recordings are being stored on the single hard drive. Is there anywhere I can look to see why it isn't being used? Any ideas on what could be going on?
>
>Paul
I would suggest you change the StorageScheduler setting back to the
default and use the balance_storage.sh script I wrote to balance the
free space between the drives:
http://www.jsw.gen.nz/mythtv/balance_storage.sh
I do not believe that MythTV has a StorageScheduler setting that does
what is needed when a new empty drive is added to a system with full
drives. That is why I wrote the script, to fix that problem.
However, your problem with the new drive not being used is a different
thing. It is likely a permissions problem. The user that runs
mythbackend (normally mythtv) need to have permissions to read and
write any storage directory. And mythtv also needs at least execute
permission on all parent directories in order to be able to get access
to the storage directories.
More information about the mythtv-users
mailing list