View previous topic :: View next topic |
Author |
Message |
FNX n00b
Joined: 03 Nov 2004 Posts: 40 Location: Istanbul
|
Posted: Sun Jul 20, 2014 1:32 pm Post subject: kernel panic after usb storage disconnect |
|
|
Hi,
I have a Gentoo box to serve various applications, like serviio, dovecot, webcam, ftp etc. for home usage. It is an old laptop with a new battery that lasts for a long time as the screen is almost never switched on. As I also use it as a file server, I have a high capacity storage hard drive connected via USB. The drive has its own power source.
This setup sometimes suffers from power cuts. The laptop is expected to last for long hours with no electricity, but the disconnection of the USB drive causes it to panic, of which I couldn't resolve.
Any ideas? _________________ Fnx |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54785 Location: 56N 3W
|
Posted: Sun Jul 20, 2014 1:44 pm Post subject: |
|
|
FNX,
Powering down a mounted filesystem without unmounting it first is always a problem.
CAn you mount the USB drive read only unless you actually need to write to it? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
FNX n00b
Joined: 03 Nov 2004 Posts: 40 Location: Istanbul
|
Posted: Sun Jul 20, 2014 10:58 pm Post subject: |
|
|
Well, I guess that would save my disc from getting corrupt, but the real problem is that the disconnection of this specific device by any means (mounted or not) causes the same failure (kernel panic).
Nevertheless I'll test my system as you have suggested.
Thank you for your advice. _________________ Fnx |
|
Back to top |
|
|
|