[mythtv-users] Storage group Question for Mike Dean..

Michael T. Dean mtdean at thirdcontact.com
Tue Jan 15 05:43:02 UTC 2013


On 01/14/2013 04:12 PM, Greg wrote:
>  Mike, or any one else who can shed some light on this...
>    I have under the Default storage Group the paths to the disks I use 
> to store recordings.
> /video2/storage/recordings/
> /video3/storage/recordings/
> /video6/storage/recordings/
>
> video2-6 are separate drives.. The permissions are set to read and 
> write for the user that runs Mythtv... The only drive that is getting 
> recorded to is /video6/storage/recordings/... This used to work for 
> me,but after reading the current thread on storage groups,I noticed 
> all but one storage group is empty...
>
> Would you be able to steer me in the right direction?

First, according to the above, you've mentioned only one Storage Group, 
called Default.  /video{2,3,6}/storage/recordings are directories, not 
Storage Groups.  (Just making sure we're clear on terminology.)

So, your Storage Group is not empty.  You may have 2 empty 
directories--which is perfectly reasonable, and may be exactly what 
you're telling MythTV to do.  To find out, we'd need more information.  
Specifically, I'd need information about the file systems, such as the 
output of df -k

If, for example, /video2 is a file system on a 2TB HDD and /video3 and 
/video6 are smaller file systems (say, on 500GB HDDs), and you have more 
space available on /video2 than is available on either of the smaller 
file systems, MythTV would choose to write to the /video2 file system 
with the Balanced Free Space Storage Group Disk Scheduler.

You should also check permissions, as Thomas mentioned, but 
specifically, you'd need to check permissions of the directories leading 
up to the final.  If MythTV doesn't have access to one of the 
lower-level directories, it may not be able to see the recordings 
subdirectory, so it won't use it.  If, however, the permissions were 
correct, except for the recordings subdirectory, MythTV would attempt to 
use it, then you'd get failures when trying to write the recordings, so 
you'd have "missing" recordings.  So, check:

ls -ld /video{2,3,6}{,/storage{,/recordings}}

Mike


More information about the mythtv-users mailing list