Unwanted unmount external USB disk

Hi guys,
I’ve a problem.

I’ve got an external USB disk I use as backup disk.
When I connect it all is fine and the disk is mounted and I can use it.

The problem is that sometimes, apparently random while I don’t use it (but I leave it connected), the disk is unmounted and I can’t see it anymore.

What should be? Something related to energy management?
Where should I start to check what’s going on?

Thanks in advance

You might be able to disable the device power management with

hdparm -B 255 /dev/sdX

where X= the appropriate letter for the device (eg determined from lsblk)

More info…

man hdparm

I’ve set as suggested.

I’ll check in the next days, I hope that this solves.

Thank you very much.

I hope you read the man page. Then you will have understood that hdparm interfaces direct with the kernel and that thus the setting will be lost on shutdown.

So that “chack in the next days” will only be a real test when you do not shutdown/boot during those days.