After upgrading to the latest version I am missing the recordings in mythtv that lies on the RAID5 disks. The are shown in the mythtv menu, but without the picture and can not be started.
The reason is that the device is not added to the list of places to look for mpeg files, so it does not find the recordings.
In mythtv storage groups, "Default" and "Default: [Core]" only contains /home/public/data/pvr/ and not "/home/public/data/pvr/Storage1 [27]" which is the RAID5 device.
I noticed that in the web interface the drive has status "failed" - see also screenshot attached.
Can it have something to do with that ?
If I press "Update Status", then after some time it shows "OK" instead.
So some debugging.
took a look at "mythtv_setup.pl" it seem to do a query :
## And now add the directories to each extra storage device.
for my $Device (@Devices) {
my $Device_ID=$Device->{"PK_Device"};
my $Device_Description=$Device->{"Description"};
## only configure if "use automatically" flag is set
UseDB("pluto_main");
$sql="SELECT
PK_Device,
Description
FROM
Device
JOIN Device_DeviceData ON FK_Device = PK_Device
WHERE
PK_Device = $Device_ID
AND
FK_DeviceData = 134
AND
IK_DeviceData = '1'
";
@results=RunSQL($sql);
UseDB('mythconverg');
foreach $row (@results) {
And if I run the query it show me that IK_DeviceData is not set on my RAID device :
mysql> SELECT IK_DeviceData, PK_Device, Description FROM Device JOIN Device_DeviceData ON FK_Device = PK_Device WHERE FK_DeviceData = 134
-> ;
+---------------+-----------+-------------------+
| IK_DeviceData | PK_Device | Description |
+---------------+-----------+-------------------+
| | 27 | Storage1 |
| 0 | 78 | TT-budget S2-3200 |
| 0 | 80 | EasyWatch DVB-C |
+---------------+-----------+-------------------+
3 rows in set (0.00 sec)
EDIT:
I now noticed the line
## only configure if "use automatically" flag is set
And in the webinterface i see that "use automatically" is not set for my raid5
/EDIT
Another thing, on the MD /home is not mounted as NFS, it still uses samba - I did understand it should now use NFS !? :
~# mount
rootfs on / type rootfs (rw)
none on /sys type sysfs (rw,nosuid,nodev,noexec)
none on /proc type proc (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,mode=755)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
192.168.80.1:/usr/pluto/diskless/44 on / type nfs (rw,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nointr,nolock,proto=tcp,timeo=7,retrans=10,sec=sys,addr=192.168.80.1)
192.168.80.1:/usr/pluto/diskless/44 on /dev/.static/dev type nfs (rw,vers=3,rsize=524288,wsize=524288,namlen=255,hard,nointr,nolock,proto=tcp,timeo=7,retrans=10,sec=sys,addr=192.168.80.1)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=755)
varrun on /var/run type tmpfs (rw,nosuid,mode=755)
varlock on /var/lock type tmpfs (rw,nosuid,nodev,noexec)
tmpfs on /lib/modules/2.6.27-17-generic/volatile type tmpfs (rw,mode=755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620)
192.168.80.1:/usr/pluto/var/ on /usr/pluto/var type nfs (rw,vers=3,rsize=32768,wsize=32768,namlen=255,hard,nointr,proto=udp,timeo=50,retrans=10,sec=sys,mountaddr=192.168.80.1,mountvers=3,mountproto=udp,addr=192.168.80.1)
192.168.80.1:/usr/pluto/orbiter on /usr/pluto/orbiter type nfs (rw,vers=3,rsize=32768,wsize=32768,namlen=255,hard,nointr,proto=udp,timeo=50,retrans=10,sec=sys,mountaddr=192.168.80.1,mountvers=3,mountproto=udp,addr=192.168.80.1)
192.168.80.1:/usr/pluto/keys on /usr/pluto/keys type nfs (rw,vers=3,rsize=32768,wsize=32768,namlen=255,hard,nointr,proto=udp,timeo=50,retrans=10,sec=sys,mountaddr=192.168.80.1,mountvers=3,mountproto=udp,addr=192.168.80.1)
192.168.80.1:/usr/pluto/deb-cache on /usr/pluto/deb-cache type nfs (rw,vers=3,rsize=32768,wsize=32768,namlen=255,hard,nointr,proto=udp,timeo=50,retrans=10,sec=sys,mountaddr=192.168.80.1,mountvers=3,mountproto=udp,addr=192.168.80.1)
//192.168.80.1/home on /home type cifs (rw,mand,unc=\\192.168.80.1\home,username=sambahelper,uid=0,gid=0,file_mode=02767,dir_mode=0777,directio,rsize=16384,wsize=57344)
nfsd on /proc/fs/nfsd type nfsd (rw)
automount(pid7987) on /mnt/device type autofs (rw,fd=4,pgrp=7987,timeout=0,minproto=2,maxproto=4,indirect)