News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Need help determining if this is a bug

Started by Venom986, February 22, 2008, 08:18:55 PM

Previous topic - Next topic

Venom986

Not sure if maybe i've just overlooked something.

I took the step today to try to move my mythtv recording off of the old 120gb system drive i have in my core and onto my RAID5 array in the core.  I ran mythtv-setup on both the core and my MD to change the directories used for recording.  I went from using /home/public/data/videos/tv_shows_# (# being 1 on the core and 68 on the MD) to /home/public/data/videos/Main Storage Array [122]/tv_shows_# (Main Storage Array being my RAID5 with device id 122).  All I changed was the directory entry in mythtv-setup>General.  Things seemed to work okay (i had manually created the tv_shows_# directories on the raid and matched permissions to what was in the old directories) except that I am getting a LOT of system freezes on my MD since moving to the raid array for recording.  They happen on their own, but seem much more likely if I try to bring up the EPG.  I had NEVER seen a full system freeze before this (where I have to hit the reset button).
The only differences I can see are the differences in the directory sizes (is this the minimum block size? or just the size of the contents?) and the fact that the raid is controlled by automount so might be prone to disappear if it thinks its inactive?


linuxmce@dcerouter:~$ ls -ld /home/public/data/videos/*
lrwxrwxrwx 1 root public    34 2008-02-22 14:14 /home/public/data/videos/Main Storage Array [122] -> /mnt/device/122/public/data/videos
drwxrwsr-x 2 root public  4096 2008-02-12 19:27 /home/public/data/videos/tv_shows_0
drwxrwsr-x 2 root public 12288 2008-02-22 11:19 /home/public/data/videos/tv_shows_1
drwxrwsr-x 2 root public  4096 2008-02-15 13:26 /home/public/data/videos/tv_shows_36
drwxrwsr-x 2 root public 12288 2008-02-22 12:39 /home/public/data/videos/tv_shows_68

linuxmce@dcerouter:~$ ls -ld /home/public/data/videos/Main\ Storage\ Array\ \[122\]/*
drwxrwsr-x 2 root public 4096 2008-02-22 13:01 /home/public/data/videos/Main Storage Array [122]/dvds
drwxrwsr-x 2 root public 4096 2008-02-22 13:44 /home/public/data/videos/Main Storage Array [122]/tv_shows_1
drwxrwsr-x 2 root public 4096 2008-02-22 14:12 /home/public/data/videos/Main Storage Array [122]/tv_shows_68


Venom986

Should my mythtv users has the same UID on core and MD's?  they don't currently.   also, my MD doesn't have mythtv user as part of the mythtv group, or as part of the public group.  this seems like it might be part of my problem as linuxmce overrides the usual mythtv permissions (mythtv:mythtv) with root:public.  myth-backend is running at the mythtv user rather than root, so it seems important that mythtv user be part of the public group in order to inherit write permissions!!

now, it seems odd that things are working at all.

Venom986

also, the directory that my core is set to record to (/home/public/data/videos/Main Storage Volume [122]/tv_shows_1) contains an nfslockfile.lock whereas the one my MD is set to record to (/home/public/data/videos/Main Storage Volume [122]/tv_shows_68) does not.