Linux Lite Forums
usb drive disapears overnight - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6)
+--- Forum: Hard Drives and SSDs (https://www.linuxliteos.com/forums/forumdisplay.php?fid=26)
+--- Thread: usb drive disapears overnight (/showthread.php?tid=7491)



usb drive disapears overnight - Dave Adam - 11-14-2020

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,




Re: usb drive disapears overnight - Dave Adam - 11-15-2020

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.




Re: usb drive disapears overnight - Dave Adam - 11-17-2020

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




Re: usb drive disapears overnight - Dave Adam - 11-18-2020

That didn't help either.


Re: usb drive disapears overnight - Dave Adam - 11-18-2020

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.


Re: usb drive disapears overnight - Dave Adam - 11-19-2020

didn't work....next


Re: usb drive disapears overnight - stevef - 11-19-2020

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 ?


Re: usb drive disapears overnight - Dave Adam - 11-20-2020

(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.


Re: usb drive disapears overnight - Dave Adam - 11-20-2020

(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


Re: usb drive disapears overnight - Dave Adam - 11-22-2020

(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