[Solved] External hard drive issue

  • Running 9.0.1 on RPi2

    Have connected a 2Tb WD drive via powered hub

    The drive is formatted to ext4 and fully readable on my Solus desktop machine

    Navigating the LE file manager to /var/media shows my drive but if I enter it none of the 5 directories on it are visible.

    Same if I `ls /var/media/WD2Tb_drive` Over ssh - nothing seen on the drive.

    So it seems to have been mounted but... why aren’t the directories visible or navigable?


    I have an almost identical 2Tb WD drive attached to my home server for Plex. Only difference is that it’s NTFS file system. If I attach that to the RPi everything works fine.

    Any tips would be helpful. I’ve done `dmesg `df -h` etc. but can’t seem to think of a way forward in my investigation!

  • Sorry, Iridium, no idea about SElinux

    I had thought about power but the NTFS drive that works is identical so I think I can conclude the power from the hub is ok based on that?

    `dmesg` output: http://ix.io/1hws

    There should be 5 directories on the drive:

    Code
    moviePi:~ # ls -al /var/media/WD2Tb_White/
    total 0
    drwx------    2 root     root            60 Jun 22  2018 .
    drwxr-xr-x    3 root     root            60 Jun 22  2018 ..
    -rw-r--r--    1 root     root             0 Jun 22  2018 .udevil-mount-point
    • Official Post

    The file ".udevil-mount-point" says, it has been mounted, but the last lines of your log file say, it has been reseted (after the mount):

    Code
    [   11.304998] sd 0:0:0:0: [sda] 3906963456 512-byte logical blocks: (2.00 TB/1.82 TiB)
    [   11.305531] sd 0:0:0:0: [sda] Write Protect is off
    [   11.305546] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
    [   11.306038] sd 0:0:0:0: [sda] No Caching mode page found
    [   11.306052] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   11.366122]  sda: sda1
    [   11.372714] sd 0:0:0:0: [sda] Attached SCSI disk
    [   87.270874] usb 1-1.3.1.4: reset high-speed USB device number 7 using dwc_otg
    [  119.177588] usb 1-1.3.1.4: reset high-speed USB device number 7 using dwc_otg

    The mount / reset cycle can indicate a power issue. Attach a separate PSU at the disk to get extra wattage, or use a better PSU at the hub.

  • Despite my confidence, power was the issue. I bought this: Belkin mains USB hub and it’s working fine now.

    It has a higher output that my older PiHut hub. Still find it a bit strange that the PiHut can power one WD 2Tb drive but not the other but more importantly, I have a perfectly functional LibreELEC setup now!

    Thanks for the help.