How do I get Ubuntu Server to recognize and automount a hotplugged SATA drive? AHCI is on and I can manually mount but as this device is destined to be a headless device used by people with no clue about the terminal so I need something as idiotproof as possible.
I expect I need to make some udev rules but I've got no idea how to start.
I've managed to get it to automount using fstab but this is unsuitable for hotplugging.
For now all I need is for it to recognize a particular drive with one primary NTFS partition but I'll be ramping this up to include a bunch of drives and even 'never seen by the server before' drives so if there's someone can also help me with that then even better.