Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Viking

Pages: 1 2 3 [4] 5 6 ... 35
46
OK, thanks :)

After/while setting mythtv up it would be great if you could check if  it adds the (RAID) disks to the storage groups.

Thanks :)
Viking

47
Yes thanks, just to confirm that these settings , like "Use Automatically" is not tht important :)

48
OK, that is good, then we just have to find the cause ;-)

Do you have all the issues ? that the disk is status failed, registered: no, Use Automaically unchecked and/or that they are missing in the mythtv stroage group configuration ?

49
OK, then you problem is a different one than mine ...

Can you please check the settings I have posted i my topic below. In the webinterface for your secondary disk and see if they are the same. Like "Use Automatically" and so on.

http://forum.linuxmce.org/index.php?topic=10868.msg75053#msg75053

Viking

50
Just noticed some more , on the same page as above, it says "Registered: No"

And Status "**RUN_CONFIG**"

See attached screenshot

51
Can anyone having a software RAID5 confirm this ?

login to the linuxmce webinterface. Click on "Show device tree" at the bottom.
In the tree click on the name of your storage (will contain sub entries like /dev/sdb, /dev/sdc, ...) in my case "Storage1" (thats what i named it)

Is "Use Automatically" chekcked or not checked ?
Is "Status" OK or FAILED ?

See screenshot attached for my state.

As you can see it is failed. When i go to Advanced, Configuration, RAID and press "Refresh Status" button then it is Ok.
And "Use Automatically" is not checked.

Is this how it should be ?

Viking

52
Some more infos.
My system is up to date, even today there are no new updates.

I upgraded on the 30 august 2010 and after that everything worked like it should. Then on the 20. october i did upgrade again and now it is not working anymore.

So something in theese updates has broken things on my system :
Update 2010-09-16 23289
Update 2010-10-06 23324
Update 2010-10-13 23333

Viking

53
Hi,

my system is up to date. I will post more i the other thread i a minute as it might be a different probelm here.

Viking

54
Hmm. maybe your issue and my is the same ?
http://forum.linuxmce.org/index.php?topic=10868.0

What do you mean by "It would appear that the symlink in /home/public/data/pvr that would normally point to my second hard drive has "turned itself" into a folder"

This is the link I have got in /home/public/data/pvr/ the name of the RAID5 is "Storage1" and it is device 27.

/home/public/data/pvr/Storage1 [27] -> /mnt/device/27/public/data/pvr

55
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 :
Code: [Select]
       ## 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 :



Code: [Select]
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 !? :

Code: [Select]
~# 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)

56

# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  lmce-mediatomb pluto-website-admin
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

root@dcerouter:~# dpkg -l pluto-website-admin
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  pluto-website- 2.0.0.44.10080 <insert up to 60 chars description>

root@dcerouter:~# apt-cache policy pluto-website-admin
pluto-website-admin:
  Installed: 2.0.0.44.10080223227
  Candidate: 2.0.0.44.10100623324
  Version table:
     2.0.0.44.10100623324 0
        500 http://deb.linuxmce.org intrepid/lmce-alpha-latest-updates Packages
 *** 2.0.0.44.10080223227 0
        100 /var/lib/dpkg/status
     2.0.0.44.0901260810 0
        500 http://deb.linuxmce.org intrepid/lmce-alpha-latest Packages


# cat /etc/apt/preferences

# We take MythTV from our repo always
Package: mythtv mythtv-frontend mythtv-backend mythtv-common mythtv-database mythtv-transcode-utils mythweb libmythtv-perl libmyth python-myth mythtv-themes mythplugins mytharchive mytharchive-data mythbrowser mythgallery mythgame mythmovies mythmusic mythnetvison mythnetvision-data mythnews mythvideo mythweather mythzoneminder myth-doc
Pin: origin deb.linuxmce.org
Pin-Priority: 1001

# If our local package uses the same version as elsewhere, we take the one we have locally.
Package: *
Pin: origin
Pin-Priority: 500

57
Hi team_steeze,

does work that way :) I have just insted setup general "menu"  key to be * instead.

Thanks :)
Viking

58
Users / Re: LinuxMCE Splash Screen - an end in sight
« on: September 06, 2010, 11:45:03 pm »
Hi,

adding the vga=791   to the APPEND line did only change the resolution. Not change from text to Splash Screen.
There must be something else missing

Code: [Select]
DEFAULT Pluto
LABEL Pluto
KERNEL 44/vmlinuz
APPEND vga=791 initrd=44/initrd.img ramdisk=10240 rw root=/dev/nfs boot=nfs nfsroot=192.168.80.1:/usr/pluto/diskless/44

Viking

59
Users / Re: LinuxMCE Splash Screen - an end in sight
« on: September 03, 2010, 12:12:48 pm »
Hi phenigma,

thanks for the Info. I will test it when  I find some time - maybe this weekend. And if it works I will post a subject on trac.

Viking

60
Users / Re: LinuxMCE Splash Screen - an end in sight
« on: September 01, 2010, 02:10:06 pm »
Hi,

thanks a lot for your answer.
Hmm, in the config file for PXE boot there is no vga= setting. I could add it here, but I am interested in fixing this for others too - what is the normal content here ? Should it contain a vga= entry ?

Code: [Select]
# cat /tftpboot/pxelinux.cfg/01-00-1f-d0-9b-18-1f
DEFAULT Pluto
LABEL Pluto
KERNEL 44/vmlinuz
APPEND initrd=44/initrd.img ramdisk=10240 rw root=/dev/nfs boot=nfs nfsroot=192.168.80.1:/usr/pluto/diskless/44

default config file contains this :
Code: [Select]
# cat /tftpboot/pxelinux.cfg/default

DEFAULT Pluto
LABEL Pluto
KERNEL default/vmlinuz
APPEND root=/dev/nfs acpi=off vga=normal initrd=default/initrd ramdisk_size=10240 rw ip=all apicpmtimer

Viking

Pages: 1 2 3 [4] 5 6 ... 35