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

Core drive detected, media drives going offline? I think I have it.

Started by l3mce, September 23, 2012, 11:29:32 AM

Previous topic - Next topic

l3mce

Now, my drives never went offline, but I am pretty sure I know why some were.

I have rewritten StorageDevices_Radar.sh. It works pretty different now. Please download this on your core, and place in the /usr/pluto/bin directory, then cp /usr/pluto/bin/StorageDevices_Radar.sh /usr/pluto/diskless/*/usr/pluto/bin

Get your drives online and reboot. Please report your results.
wget http://svn.linuxmce.org/trac.cgi/export/26498/people/l3mce/StorageDevices_Radar.sh
make sure you chmod +x StorageDevices_Radar.sh  or cat it into your existing file.

Look forward to feedback while I work on hdmi audio.
I never quit... I just ping out.

maverick0815

I followed your instructions to the letter...but my drives still go offline :-(

l3mce

That is unfortunate.

I will have to look at the other radars now. Thank you for testing.
I never quit... I just ping out.

maverick0815


l3mce

Ok... pretty confident I get it now. On core as root (sudo -i)

rm /usr/pluto/diskless/*/etc/cron.d/StorageDevicesFileServerRadar
wget http://svn.linuxmce.org/trac.cgi/export/26504/branches/LinuxMCE-1004/src/PlutoStorageDevices/StorageDevices_StatusRadar.sh
wget http://svn.linuxmce.org/trac.cgi/export/26498/people/l3mce/StorageDevices_Radar.sh
chmod +x {StorageDevices_Radar.sh,StorageDevices_StatusRadar.sh}
find /usr/pluto/diskless/*/usr/pluto/bin -type d -exec cp {StorageDevices_Radar.sh,StorageDevices_StatusRadar.sh} {} \;
I never quit... I just ping out.

Armor Gnome

Will test tonight.

I have been getting the media offline problem in a unsupported setup. ~ Storage disk on an MD.

The last script from your first post didn't resolve it.  I will let you know how this one goes.  Sometime this week I will be gathering drives to populate a NAS and hoping that this issue doesn't effect media shares that are always available...
I made a wiki!  Click [url=http://wiki.linuxmce.org/index.php/User:Armorgnome2]here[/url] to check out my system.

maverick0815

thumbs up! Everything seems to be in order now. I believe even Mythtv is a little less bitchy, but that could be only my perception.
Good job! Thank you very much.

davegravy

Sweet. I ran this too and will let you know how it goes on my next MD reboot.

Armor Gnome

No luck with the latest, to be honest its worse now L3top.  I know you hate to hear that but it is for me anyways.

The "online" box is coming up as checked but my media is still not showing.  Before when my media didn't display I could check to make it online and reload to fix it.  Now that a missing check is not the problem I can not fix it.  I will continue to test anything you come up with, though in the meantime is there a way to revert to a state before running your new scirpt?  I didn't do a clone as I normally do before testing and was hoping a sqlCVS update might set me straight temporarily?
I made a wiki!  Click [url=http://wiki.linuxmce.org/index.php/User:Armorgnome2]here[/url] to check out my system.


davegravy

Seems to have fixed it here. I've done multiple MD reboots and no disappearing media.

b4rney

Been having this problem too. Whenever an md boots up the drive goes offline and has to be manually turned on then reload router.

The new scripts don't make any difference to me. I made a backup of the originals, copied only to the core. Rebooted (core and mds) and have the exact same problem.

???
Barney

Marie.O

If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

b4rney

Thanks posde and l3mce.

Applied to mds as well and it works perfectly.
Barney

Armor Gnome

Ouch,

This is looking like it may have broken more than the detection of media.  Since making changes to the pluto boot scripts I haven't had taken any time to turn on the display in the home theater room.  So tonight when I sat down to watch a movie I discovered I can not PXE boot any longer at all.  The images all look good (web-admin>media directors, /usr/pluto/diskless/47, etc all seem normal.  My MD in the home theater even starts to connect and announces properly with the correct IP of 192.168.80.2.  All other devices in my network under LMCE that do not rely on net booting work flawlessly.

Going to see if I can pull the orginal bootscripts somehow and not be forced to fall back to a clone restore point where I would loose a lot of recent additions...
I made a wiki!  Click [url=http://wiki.linuxmce.org/index.php/User:Armorgnome2]here[/url] to check out my system.