[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Yanking a USB Hard Drive/ReiserFS causes Kernel Panic



On Thu, Oct 28, 2004 at 06:12:18PM -0500, Ron Johnson wrote:
> / and /boot are formatted ReiserFS?

Yah, so I get what I deserve I guess.

> So a "shutdown -t1 -now -r" on another console TTY just sits there?

Yes, as does "halt" and "reboot" and "Ctrl+Alt+Delete".  Halt and reboot 
say they are doing things then nothing happens.  Control returns to that 
bash prompt, and you can still Alt+F2 to another TTY.

Ctrl+Alt+Delete says "the system is going down now" then that TTY 
becomes unresponsive, but you can Alt+F2 to another TTY.

> A "cold kill" (aka "hitting the BRS", to us oldsters) should not
> damage ReiserFS partitions.  That's what journaling is for, after
> all.  What kernel are you running?

I get ReiserFS corruption from time to time.  I have always assumed that 
it was due to rudely killing the system without a clean shutdown -- 
particuarly if some disk activity was occurring at the time.  For 
instance sometimes I will get corruption under /var/log, since there is 
a lot of activity there.  My "big" partition will get some recoverable 
corruption from time to time.  I always run the latest kernel.  It 
hasn't happened in a while, but I haven't rudely killed the system much 
lately until this USB HD Reiserfs panic issue.  I will just "not do 
that" as you suggest.  I just asked in case anyone knew anything.

> You must be thinking of someone else.  I went back and checked 
> all of my responses on this thread and nowhere does it mention
> "dumb" or "poorly asked".  It doesn't even infer them, IMO.

Okay, I don't want to get into an argument about this either.  I said 
"how can I yank a mounted partition" and you said "it's stupid to yank a 
mounted partition or even think you should be able to" meanwhile another 
guy has in the same timeframe written a script called usbmount that lets 
you yank a mounted partition!

But we can move on past that now, I'm not feeling touchy or anything.  
What I'm doing now is messing with autofs which has its own problems, 
but would probably work for me (it automatically unmounts parts after 
disuse for n seconds, but the current version in sid is broken and never 
unmounts *anything* (bug #278076).  When autofs is working, then I'll 
use that and be happy as a tick.

Thanks Ron for the dialog.



Reply to: