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

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #15 on: September 28, 2012, 03:25:03 am »
Um... no.

The problems you are having are unrelated to these two file changes.

For one... StorageDevices_Radar.sh is ONLY looking at locally available drives with a specific label type.
The other changes were to remove the cron job on mds that looked for file servers, and to only run NFS and SAMBA queries if PK_Device = 1, meaning they only run on the core.

pxe boot would have NOTHING to do with this.
As to your shares not being used, though things are listed online... I mean.. Do this... edit StorageDevices_StatusRadar.sh... hash out the backgrounding bit at the beginning, and sudo -i, then bash -x /usr/pluto/bin/StorageDevices_StatusRadar.sh | tee > /var/log/pluto/status_radar.log

You will eventually have to stop it with ctrl c, but let it get a couple of loops in. We can fix whatever is wrong most likely... but... I simply cannot imagine it has to do with these simple changes.
I never quit... I just ping out.

Armor Gnome

  • Guru
  • ****
  • Posts: 309
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #16 on: September 28, 2012, 06:55:00 am »
Just a few minutes after posting when I got into the core to resolve some problems I realized exactly what you responded with L3mce.  My change to boot-scripts was unrelated to the topic covered by this thread.  I had a few issues going on all at the same time and posted issues unrelated to storage device detection in a thread about storage device detection.

I have the system working again.  Using your latest radar scripts, the drive containing 1TB of my videos is being detected almost immediately upon waking that MD.  If I am inpatient and try to pull the video list too soon after bootup in the home theater room it will show empty.  If I then get up and go make popcorn, it will populate by the time I return.  So even though this configuration is not supported and does not fit the true diskless MD definition:

StorageDevicesRadar.sh changes have resolved my media going offline issue.  All devices in my home capable of playing audio and video have access to audio and video which resides on a HDD connected to a MD that boots from the core.  Thank you for that improvement!



-I hopefully can catch you in IRC some night soon, there are certain drives in my system that I would like to purposefully like radars to overlook.  The best example is a 8 disk raid array on the core which is intended for backups and other files that have special importance for me.  Another ridiculous example is a 7 disk networked cd-tower we are putting on the network to compliment our theme of oddities few people have seen function before regardless of their usefullness or efficiency.
I made a wiki!  Click here to check out my system.

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #17 on: September 28, 2012, 02:01:01 pm »
Well... that radar is particularly difficult... at least for me. It is intended for the universe, to find ANY such drives (re RAID) attached to the system and ask you if you want to add it. All you have to do is say "no never ask again" for that. The DVD drives... that doesn't even query you... just adds them. I cannot imagine how we would break the optical radar to find your local dvds attached to the machines, and ignore that set of them. As annoying as it may be to you to have them listed in the device tree... I am afraid you will just have to set each device to "disabled". Sorry.
I never quit... I just ping out.

Armor Gnome

  • Guru
  • ****
  • Posts: 309
    • View Profile
Re: Core drive detected, media drives going offline? I think I have it.
« Reply #18 on: September 28, 2012, 09:10:59 pm »
Think I may have found a way.  If I delete the raid array and let LMCE rediscover it, I can then say "Internal HDD>Use only when told to."

If it is a big problem then I have a few possible options such as: Pop the hdd caddies for those 8 drives, Perm. ignore using unknown devices as a cage until I need to write to it, find a file format that LMCE can not understand but my NAS can and set up the array as a share?
I made a wiki!  Click here to check out my system.