LinuxMCE Forums

General => Installation issues => Topic started by: l3mce on October 01, 2012, 04:50:24 am

Title: Multiple fileserver adds of MDs.
Post by: l3mce 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.
Title: Re: Multiple fileserver adds of MDs.
Post by: maverick0815 on October 01, 2012, 06:31:33 pm
put the script as prescribed and now everything is quiet on the western front.
Title: Re: Multiple fileserver adds of MDs.
Post by: l3mce on October 01, 2012, 08:22:47 pm
pluto-storage-devices is now updated with this and other changes :)
Title: Re: Multiple fileserver adds of MDs.
Post by: maverick0815 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.
Title: Re: Multiple fileserver adds of MDs.
Post by: l3mce 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.
Title: Re: Multiple fileserver adds of MDs.
Post by: Armor Gnome 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.
Title: Re: Multiple fileserver adds of MDs.
Post by: maverick0815 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.
Title: Re: Multiple fileserver adds of MDs.
Post by: maverick0815 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...
Title: Re: Multiple fileserver adds of MDs.
Post by: l3mce on October 08, 2012, 12:36:18 pm
Are you? df -h

Good work figuring out the mythtical nature of this addition.
Title: Re: Multiple fileserver adds of MDs.
Post by: maverick0815 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
Title: Re: Multiple fileserver adds of MDs.
Post by: l3mce 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.
Title: Re: Multiple fileserver adds of MDs.
Post by: maverick0815 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.
Title: Re: Multiple fileserver adds of MDs.
Post by: Marie.O 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.
Title: Re: Multiple fileserver adds of MDs.
Post by: maverick0815 on October 11, 2012, 03:24:10 pm
In that case I should not get ans such message yet, right?
Title: Re: Multiple fileserver adds of MDs.
Post by: l3mce 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.
Title: Re: Multiple fileserver adds of MDs.
Post by: maverick0815 on October 13, 2012, 01:08:41 pm
sorry for the delay, here is what you requested:

df / :
Quote
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/disk/by-uuid/34072123-4e7d-4b32-bb17-43daad82d54c
                     230697108 188724360  30253940  87% /
df /home:
Quote
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/disk/by-uuid/34072123-4e7d-4b32-bb17-43daad82d54c
                     230697108 189329452  29648848  87% /

and last but not least...your last command says: correct