USB HDD enclosure disconnects

Hi.

I have recently installed DietPi on my Pi3 and it is working flawlessly, expect my USB HDD enclosure (https://www.sharkoon.com/product/1689/12916#desc) which I have plugged with another simple USB HDD. The simple HDD works perfectly, without problems, but the Sharkoon one disconnects and gets dismounted with an I/O error. Any tip with that? I am not really expert with linux so my knowledge is basic more than dmesg and lsusb, so I can’t find any help with the problem.

Hi,

Cant see it being a power issue if a standard USB Drive is functional, and Sharkoon is self powered.

Just a hunch, this hardware reports USB 3.0 without a mention of backwards capability with USB 2.0 (which RPi is). You may want to check this with manufacture.

Faulty USB cable?

Does the RPi pick up the Sharkoon as standard USB mass storage device? You can check with:

lsusb

Hi! And thanks for your reply! I will try to do all the checks when I get home. However, the enclosure works, but suddently stops working after a few minutes, giving that I/O error. Let me get all the logs and messages so I can post it back tonight, maybe is a compatibility issue as you noted, I didn’t realize about that and I have never had problems in the past, and I used this case with different computers, including USB 2.0 only one, without any problems.

Hi,

Its possible hdparm might be causing this when it attempts to “power down idle drive”. Its set to 10mins.

Try removing the following lines from /etc/hdparm.conf:

#DietPi external USB drive. Power management settings.
/dev/sda {
        #10 mins
        spindown_time = 120

        #
        apm = 254
}

And a reboot.