Author Topic: Multiple fileserver adds of MDs.  (Read 8913 times)

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Multiple fileserver adds of MDs.
« on: October 01, 2012, 04:50:24 am »
Replace /usr/pluto/bin/StorageDevices_NFSRadar.sh

http://svn.linuxmce.org/trac.cgi/export/26515/branches/LinuxMCE-1004/src/PlutoStorageDevices/StorageDevices_NFSRadar.sh

This behavior has always existed, but is now exposed by other changes.
I never quit... I just ping out.

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: Multiple fileserver adds of MDs.
« Reply #1 on: October 01, 2012, 06:31:33 pm »
put the script as prescribed and now everything is quiet on the western front.

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: Multiple fileserver adds of MDs.
« Reply #2 on: October 01, 2012, 08:22:47 pm »
pluto-storage-devices is now updated with this and other changes :)
I never quit... I just ping out.

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: Multiple fileserver adds of MDs.
« Reply #3 on: October 04, 2012, 05:38:37 pm »
Like I said...I knew you'd make it :-)
Once in a while I still see a message on my mobile oribter coming up, saying the fileserver has been added, but its by far different from before.
Now, if only mythtv would behave nicely again...but I guess thats not your cup of tea.
I just wanted to say thanks again.

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: Multiple fileserver adds of MDs.
« Reply #4 on: October 05, 2012, 12:09:40 am »
Setting low expectations of myself rarely leads to failure I guess.

The fileserver adds you get... they are for the MDs? There is some ghost left in the machine. It occasionally causes the core drive to be detected. It occasionally sets a drive offline... and it seems it occasionally re-adds a fileserver. It has something to do with MD connectivity. I will eventually root it out. Any details you might find on those adds would be helpful.

Thanks a lot for your help.
I never quit... I just ping out.

Armor Gnome

  • Guru
  • ****
  • Posts: 309
    • View Profile
Re: Multiple fileserver adds of MDs.
« Reply #5 on: October 05, 2012, 02:17:39 pm »
Thanks to your work on the storage devices radar my videos (stored on a hdd connected to an MD) now shows up on all other MDs.  The only remaining problem is I can not assign metadata or coverart to this media as web-admin>media file sync, can not see that drive.

Eventually I still plan to take that drive out and put it in a NAS but when I do that will I experience the same problem with tags, metadata and accessing the files?  - I also tried other methods such as usb booting that MD and trying to rename all the video files and even destroying the file structure to just dump all media out in the open for lmce to find but nothing has worked.
I made a wiki!  Click here to check out my system.

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: Multiple fileserver adds of MDs.
« Reply #6 on: October 05, 2012, 07:01:04 pm »
the fileserver adds I see are all refering to the MD. I will check if I can find some additional info in the logs, if that will help.

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: Multiple fileserver adds of MDs.
« Reply #7 on: October 07, 2012, 06:08:36 pm »
It seems, that the fileserver adds I still see here are related to mythtv....everytime it bombs out and wants to reset the backend, I see at least one of those messages.
The other thing is...I still get messages, that I'm running low on diskspace...

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: Multiple fileserver adds of MDs.
« Reply #8 on: October 08, 2012, 12:36:18 pm »
Are you? df -h

Good work figuring out the mythtical nature of this addition.
I never quit... I just ping out.

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: Multiple fileserver adds of MDs.
« Reply #9 on: October 09, 2012, 04:51:49 pm »
we talked about this earlier in irc, but see for yourself:
Quote
Filesystem            Size  Used Avail Use% Mounted on
rootfs                221G  101G  109G  49% /
none                  1.4G  412K  1.4G   1% /dev
/dev/disk/by-uuid/34072123-4e7d-4b32-bb17-43daad82d54c
                      221G  101G  109G  49% /
none                  1.4G     0  1.4G   0% /dev/shm
none                  1.4G  584K  1.4G   1% /var/run
none                  1.4G     0  1.4G   0% /var/lock
none                  1.4G     0  1.4G   0% /lib/init/rw
/dev/sdb1             1.8T  1.5T  292G  84% /mnt/device/36
/dev/sda3             1.6T  604G  914G  40% /mnt/device/33

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: Multiple fileserver adds of MDs.
« Reply #10 on: October 10, 2012, 03:30:34 am »
I think it must be warning you about /dev/sdb1  that would likely be your "use this device automatically" drive.
I never quit... I just ping out.

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: Multiple fileserver adds of MDs.
« Reply #11 on: October 10, 2012, 06:54:32 pm »
hmm...is there a way to customize those warninglevels? I mean...84% on a small drive might be understandable...but on a 1.8TB its a bit much.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Multiple fileserver adds of MDs.
« Reply #12 on: October 10, 2012, 07:09:54 pm »
At the moment DiskSpaceMonitor.sh is configured to alert, if root is 95% full, home is 95% full, or either of them have less than 204800 1k-Blocks free.

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: Multiple fileserver adds of MDs.
« Reply #13 on: October 11, 2012, 03:24:10 pm »
In that case I should not get ans such message yet, right?

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: Multiple fileserver adds of MDs.
« Reply #14 on: October 11, 2012, 08:08:44 pm »
I am sure this is related to the radar range. Maybe it will reveal a clue as to why it is not understanding which is the install drive, and likely related to the rootfs ident.

Mav... please give me df /  and df /home
Also run this...
bing=$(find /usr/pluto/diskless/ -mindepth 1 -maxdepth 1); bang=$(echo "$bing" | while read i; do echo "$(find ${i}/etc -name 'diskless.conf')"; done); if [[ $(wc -l <<< "$bing") == $(wc -l <<< "$bang") ]]; then echo "Correct"; else echo "Incorrect"; fi

and tell me what it says.
« Last Edit: October 11, 2012, 09:50:08 pm by l3mce »
I never quit... I just ping out.