Linux Lite Forums

Hardware - Support => Hard Drives and SSD's => Topic started by: Dave Adam on November 14, 2020, 07:46:54 AM

Title: usb drive disapears overnight
Post by: Dave Adam on November 14, 2020, 07:46:54 AM
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,

Title: Re: usb drive disapears overnight
Post by: Dave Adam on November 15, 2020, 01:00:38 PM
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.

Title: Re: usb drive disapears overnight
Post by: Dave Adam on November 17, 2020, 06:05:51 AM
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

Title: Re: usb drive disapears overnight
Post by: Dave Adam on November 18, 2020, 06:44:40 PM
That didn't help either.
Title: Re: usb drive disapears overnight
Post by: Dave Adam on November 18, 2020, 06:51:49 PM
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.
Title: Re: usb drive disapears overnight
Post by: Dave Adam on November 19, 2020, 06:24:08 AM
didn't work....next
Title: Re: usb drive disapears overnight
Post by: stevef on November 19, 2020, 07:32:16 AM
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 ?
Title: Re: usb drive disapears overnight
Post by: Dave Adam on November 20, 2020, 06:15:04 AM
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.
Title: Re: usb drive disapears overnight
Post by: Dave Adam on November 20, 2020, 04:51:46 PM
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
Title: Re: usb drive disapears overnight
Post by: Dave Adam on November 22, 2020, 06:41:03 AM
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