Author Topic: Core drive detected, media drives going offline? I think I have it.  (Read 2584 times)

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1081
    • View Profile
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

  • Addicted
  • *
  • Posts: 544
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #1 on: September 23, 2012, 03:34:47 pm »
I followed your instructions to the letter...but my drives still go offline :-(

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1081
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #2 on: September 23, 2012, 04:01:37 pm »
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

  • Addicted
  • *
  • Posts: 544
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #3 on: September 23, 2012, 04:19:41 pm »
if you need anything, logs or so...just let me know

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1081
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #4 on: September 24, 2012, 10:19:27 pm »
Ok... pretty confident I get it now. On core as root (sudo -i)

Code: [Select]
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} {} \;
« Last Edit: September 24, 2012, 10:38:58 pm by l3mce »
I never quit... I just ping out.

Armor Gnome

  • Guru
  • ****
  • Posts: 304
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #5 on: September 24, 2012, 10:58:39 pm »
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 here to check out my system.

maverick0815

  • Addicted
  • *
  • Posts: 544
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #6 on: September 25, 2012, 10:30:29 am »
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

  • Addicted
  • *
  • Posts: 518
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #7 on: September 25, 2012, 04:01:22 pm »
Sweet. I ran this too and will let you know how it goes on my next MD reboot.

Armor Gnome

  • Guru
  • ****
  • Posts: 304
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #8 on: September 25, 2012, 10:58:41 pm »
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 here to check out my system.

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1081
    • View Profile
I never quit... I just ping out.

davegravy

  • Addicted
  • *
  • Posts: 518
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #10 on: September 26, 2012, 06:04:27 am »
Seems to have fixed it here. I've done multiple MD reboots and no disappearing media.

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #11 on: September 27, 2012, 12:47:30 am »
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

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2997
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #12 on: September 27, 2012, 01:39:51 pm »
barney,

the MD needs to be taken care of as well!

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #13 on: September 28, 2012, 12:58:26 am »
Thanks posde and l3mce.

Applied to mds as well and it works perfectly.
Barney

Armor Gnome

  • Guru
  • ****
  • Posts: 304
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #14 on: September 28, 2012, 02:45:20 am »
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 here to check out my system.