Server sleep issues
Hello,
I've recently built a home server by updating my old gaming PC and adding a second drive. I used fstab to mount the second drive and everything has been working great. I only need the server to work when I'm home and awake so I set it up to sleep and wake on lan. Now when the PC wakes up the second drive is not mounted anymore. Does anyone know what I can do to fix this? Thanks BTW I'm using Xubuntu. |
Hi,
what line did you put in your /etc/fstab for this disk? Evo2. |
Quote:
/dev/sdb1 /mnt/content ext4 defaults 0 0 |
Hi,
that looks to me like it should mount automatically on boot. The only thing I would suggest to change is the last "0" to "2" (see "The sixth field" section in the fstab man page). Does it mount if you run the following: Code:
mount -a Code:
mount /mnt/content Also, did you check the logs in /var/log/ for clues? Evo2. |
Code:
/dev/sdb1 /mnt/content ext4 defaults,auto 0 0 |
Hi,
Quote:
Code:
defaults I wonder now if I've missunderstood the OP: is the machine actually being shut down? Or suspended to ram or disk? Evo2. |
What distribution / version are you running? Are you running a desktop?
Also is the drive internal or external i.e PATA, SATA, or USB? |
All times are GMT -5. The time now is 09:29 PM. |