Linux: Only the second drive appears when the monitor is connected
Linux: Only the second drive appears when the monitor is connected
I recently configured a server with the newest Ubuntu release for you and your friends to enjoy Minecraft. For initial tests, I ran it on my TV just in case any issues arose that couldn't be resolved via SSH. Once everything seemed ready and remote access worked smoothly, I moved it to another room connecting only power and LAN. However, SSHing into the server didn’t grant access to my secondary HDD, which housed all the Minecraft files I needed. In the /media/server directory (which I named "server"), there was no Mass Storage drive—meaning I couldn't start the server remotely. Reconnecting everything as before allowed me to access the drive successfully. So here we are. I’m trying to understand why this happens. Disconnecting the monitor, keyboard, and mouse shouldn’t prevent me from accessing the drive, at least according to my expectations. Thanks in advance—I hope there’s a logical reason for this behavior.
Is this secondary HDD linked directly to your server or are you relying on NAS? Using a second router for internet access could cause issues if default gateways differ, making devices on separate networks unable to communicate. If my understanding is right, the only solution is to disable DHCP on the second router so it functions as a repeater.
The secondary HDD is linked inside through SATA and all devices share the same network.
It could be a power-saving feature, causing the second disk to remain inactive during SSH access.
Thank you for the positive feedback. I’ll prepare a script you can run to mount your drive automatically.
They don't grasp it. You add the entry to /etc/fstab as root, and the kernel handles mounting automatically.