Linux Lite Forums

Full Version: usb drive disapears overnight
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I tried reading some of the previous post about drives, but didn't find anything that worked.  If I missed one I'm sorry.

A couple of months ago I could live my computer on for weeks and my usb external hard drive would stay connected.  Now if I leave it sit for any length of time I have to hard boot my computer in order to get it to work again.  I feel like it is going to sleep or something, I can't even use terminal when this happens as it is all jambed up. And the restart function just goes to a blank page until I hard boot and start over.

I don't use my computer for a lot so I guess it's not an end of life thing, but it is anoying.

Any one have an idea what setting I need to change?

Thanks,

I read on another forum that someone had a similar problem and it turned out to be a driver for their graphics card.  I checked my drivers and there was a problem with my wifi driver, which I didn't care about because my computer is connected directly.  I've tried fixing that driver issue, if it works I'll post and mark this solved.

Driver didn't work, going to try

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target


Guess I'll find out tomorrow

That didn't help either.
trying:

add the kernel options acpi=off apm=off to the contents of GRUB_CMDLINE_LINUX_DEFAULT in file /etc/default/grub

Then run sudo update-grub

Finally reboot your computer.
didn't work....next
Sounds like it could be a hardware fault.

Can you confirm that if the PC is left without the USB drive connected that it works ok and doesn't lock up ?
(11-19-2020, 11:24 AM)Dave Adam link Wrote: [ -> ]didn't work....next

realized I hadn't made the changes to grub because I didn't do as admin...trying again




Still didn't work.
(11-19-2020, 12:32 PM)stevef link Wrote: [ -> ]Sounds like it could be a hardware fault.

Can you confirm that if the PC is left without the USB drive connected that it works ok and doesn't lock up ?


sorry, I didn't see this, I will have to unplug the drive tonight and try, I'll let you know
(11-19-2020, 12:32 PM)stevef link Wrote: [ -> ]Sounds like it could be a hardware fault.

Can you confirm that if the PC is left without the USB drive connected that it works ok and doesn't lock up ?

So I unplugged the external drive overnight, and my computer didn't lock up, so I guess now I will have to look into what in the drive is causing the problem.

Thanks