F5F Stay Refreshed Software Operating Systems Linux: Only the second drive appears when the monitor is connected

Linux: Only the second drive appears when the monitor is connected

Linux: Only the second drive appears when the monitor is connected

S
SGgamingDK
Member
222
01-16-2016, 01:21 AM
#1
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.
S
SGgamingDK
01-16-2016, 01:21 AM #1

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.

M
MrKryp
Senior Member
643
01-16-2016, 08:50 AM
#2
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.
M
MrKryp
01-16-2016, 08:50 AM #2

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.

L
LarsMatena
Senior Member
602
01-18-2016, 12:32 AM
#3
The secondary HDD is linked inside through SATA and all devices share the same network.
L
LarsMatena
01-18-2016, 12:32 AM #3

The secondary HDD is linked inside through SATA and all devices share the same network.

V
198
01-18-2016, 01:26 AM
#4
It could be a power-saving feature, causing the second disk to remain inactive during SSH access.
V
VassacreGaming
01-18-2016, 01:26 AM #4

It could be a power-saving feature, causing the second disk to remain inactive during SSH access.

F
F01lEo
Member
105
01-18-2016, 06:06 AM
#5
The issue lies in not loading the graphical file manager, which handles automatic mounting. Configure your fstab file to include the drive or use the mount command directly: mount /dev/<your drive> /your/desired/mount/point/
F
F01lEo
01-18-2016, 06:06 AM #5

The issue lies in not loading the graphical file manager, which handles automatic mounting. Configure your fstab file to include the drive or use the mount command directly: mount /dev/<your drive> /your/desired/mount/point/

D
Danage
Junior Member
34
01-29-2016, 01:23 AM
#6
Sure, I'm ready to try.
D
Danage
01-29-2016, 01:23 AM #6

Sure, I'm ready to try.

H
Henrikbonde
Junior Member
6
02-04-2016, 07:21 PM
#7
Thank you for the positive feedback. I’ll prepare a script you can run to mount your drive automatically.
H
Henrikbonde
02-04-2016, 07:21 PM #7

Thank you for the positive feedback. I’ll prepare a script you can run to mount your drive automatically.

M
MitchMan8787
Junior Member
18
02-04-2016, 10:11 PM
#8
They don't grasp it. You add the entry to /etc/fstab as root, and the kernel handles mounting automatically.
M
MitchMan8787
02-04-2016, 10:11 PM #8

They don't grasp it. You add the entry to /etc/fstab as root, and the kernel handles mounting automatically.

G
gafor123
Member
214
02-06-2016, 07:14 AM
#9
Update the configuration file to set the default mount point for the specified device.
G
gafor123
02-06-2016, 07:14 AM #9

Update the configuration file to set the default mount point for the specified device.

F
Freakiki
Member
72
02-06-2016, 03:15 PM
#10
No script required when modifying fstab file
F
Freakiki
02-06-2016, 03:15 PM #10

No script required when modifying fstab file