I successfully made it to mount the iSCSI drive from my Ubuntu 20.04 to the QNAP NAS (via fstab). Works like charm if only QNAP is up when the Ubuntu server starts. When QNAP reboots, obviously connection is broken and the iSCSI service goes down.
How do I automatically restart and re-mount the resource then? So far, the easiest is just to reboot, eventually, do it manually or sort of crone-based script. Is there any mechanism I'm missing?
0 Answers