When I watch movies with VLC from my external Intenso SATA drive on my Ubuntu Mate 20.04 system, some minutes of the video apparently are somehow loaded temporarily, so that the drive will go to sleep after some minutes. When all of the cached video has been played the playback hangs until the drive awakes again and new video data can be loaded. This is very annoying.
I suspect it has to do with system settings. Unfortunately the drive settings option in Mate drive utility menu is grayed out. When I run hdparm -C /dev/sdb
, I get this error: /dev/sdb: SG_IO: bad/missing sense data
..., drive state is: unknown
.
How can I set a longer standby time for the drive? I don't want to set VLC disk buffer to 5400000 milliseconds...
EDIT: So as the standby time is a hardware feature, I'd try to reduce the video cache, but where can I find this setting? I'm only aware of the "milliseconds"-buffer in the advanced settings of VLC.