New answers tagged

1

The question seems to say it is UNMOUNTED. Power supply problems would only result in the mount being broken and inaccessible. The mount command would show it mounted, but attempts to access it would fail. I suspect you may have something attempting to unmount unused drives. I suggest keeping the mount active. This means keeping a file or directory in ...


1

Power saving can't result in the HDD getting unmounted. Unless you changed the IO settings, block device timeout (/sys/block/sda/device/timeout) is set to 30 seconds, which is plenty for any reasonably recent drive to wake up. While it's not impossible that a bug in the Linux driver or even in the HDD controller results in a disconnect, this is actually ...


1

External drives are often problematic on the Pi. The root cause is probably power issues, although I have found that occasionally the drive would be in Read Only mode. It is, of course, better to fix the underlying problem, but I routinely include a test in my scripts to check that the drive is mounted, at the correct spot (below in /mnt/PiData), in Read/...


1

If the drive does not have a separate power supply, check sudo grep "Under-voltage" /var/log/syslog for clues that this is an issue. You could try fiddling with the drive parameters using hdparm (pretty sure that's the name of the package if it isn't installed). From man hdparm: -B Get/set Advanced Power Management feature, if the drive supports it....


Top 50 recent answers are included