Odroid XU4 – Attached USB drive switches port on power down

Max2Play Home 2016 (en) Forums Max2Play Add-ons Odroid XU4 – Attached USB drive switches port on power down

This topic contains 2 replies, has 2 voices, and was last updated by  Teetertank premium 2 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • 9. February 2016 at 4:16 #18412

    I have been using Max2play as a Squeezebox server with great success apart from a recurring issue with my USB drive which is attached directly to the USB port(s) on the Odroid XU4. I normally leave the Odroid on all the time but if I need to switch it off for a time it will often change the allocated port that the USB drive is connected to or loose the drive completely. If I try physically swapping the USB cable for the hard drive into a different port it sometimes finds it again, sometimes not. I have tried reinstalling the operating system a number of times to try to remedy this or out of necessity as LMS can no longer register the hard drive at all no matter which USB connector I plug the drive into.

    I have tried ticking the box to: “Set fixed Mountpoint to prevent directory switching on reboot:” when clicking save after selecting the tick box I get the following error message in the Filesystem – mount network paths section on the web page:

    sudo: unable to resolve host OdroidXU4
    Mountpoint NOT added! Please refer to the description below!

    Can anyone advise if I am doing anything wrong, or is this a bug in the system? I’d love to get this resolved as it’s really frustrating when the USB drive disappears completely. It usually starts on USB1 then changes to USB0 then it can be found on USB and then it will never come back and I need to re-flash the operating system and the cycle starts again.

    In case it matters my USB hard drive has two partitions: one with general back-up data and the other with my music library. Each partition seems to get allocated to a separate drive. When it shows up in LMS I point the music library to the one that contains my music library, eg:

    My Passport in /media/usb0 (Device /dev/sda1 with UUID 4E1AEA7B1AEA6007)
    Set fixed Mountpoint to prevent directory switching on reboot: Save
    Music Library in /media/usb1 (Device /dev/sda2 with UUID AEFA0C58FA0C1F69)
    Set fixed Mountpoint to prevent directory switching on reboot:

    Many thanks.

    1. March 2016 at 17:57 #18950

    Hi Teetertank,

    I did a lot of testing to reproduce your setup, but did not find anything going wrong. The mountpoints where loaded correctly. I added a “unmount” option to the latest Max2Play-Beta (available from 2.28 in regular Max2Play) that lets you unmount the USB-storage before unplugging it.

    One important note: I always use a powered USB-Hub when connecting hard-drives via USB as the power-supply of the Odroid XU4 might not be strong enough to handle the external hard drive. If you directly connect your hard drives this might be the problem.

    10. September 2016 at 22:16 #22978

    Hi,

    I am still having the same issues with USB hard drives becoming undetected and not found in LMS after a reboot/power down.

    I have three Odroids: XU4, U3 and U3+ and have experienced the same issues with each. I have tried with two different USB drives too.

    I noticed in your last reply that you recommended using a powered USB hub. Previously I ad hard drives connected directly. So as this problem is still persisting I bought this week a powered USB3 hub with as strong external power supply. Unfortunately when rebooting Max2Play the hard drive disappears and LMS can not see it.

    I have obviously tried ticking the ‘Set fixed Mountpoint to prevent directory switching on reboot‘ but doesn’t seem to work for me.

    Other than this issue, the system seems excellent as a Squeezebox server. I notice others have reported similar issues too. If there was a means to solve this it would be perfect.

    I hope there can be some development in this area. If there is any more information I need to provide to assist this, please let me know.

    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Register here