LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   reiserfs filesystems unmounted uncleanly at shutdown (https://www.linuxquestions.org/questions/linux-general-1/reiserfs-filesystems-unmounted-uncleanly-at-shutdown-468312/)

john riemann soong 07-27-2006 02:37 PM

reiserfs filesystems unmounted uncleanly at shutdown
 
I don't get this, I never had this problem before until something corrupted my reiserfs journal, then I had to reformat everything again.

Even though I think I shutdown cleanly (with an init 0 or init 6) apparently it boot it detects both my two reiserfs filesystems (one / and one /home) as "unmounted cleanly" and performs an fsck on them. This doesn't take too much time, apparently since it just goes through the journals and usually it doesn't find any errors, but I am disturbed they are detected as such.

the fstab entries for the two filesystems are

/dev/hda5 / reiserfs defaults 1 1
/dev/hda6 /home reiserfs defaults 1 2

Also it detects DMA as turned off. It was turned off each time it encountered a read error from what I suspect were bad blocks the journal had been written on previously (now all traces of the previous filesystem are probably gone). I can't re-enable it - I thought it was only a setting that was turned off for that kernel session, not a setting that would last for other kernels!

hdparm -d1 -X /dev/hda gives me

Code:

bash-3.00# hdparm -d1 -X /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 setting xfermode to 0 (default PIO mode)
 using_dma    =  0 (off)


The hard disk is really slow - 3 MB per second(!)

I might as well ask it here - I am slightly perturbed, though it's not an issue currently. The last time I passed the "no journal" option to reiserfsck, but it detected a journal, found it couldn't read it and bailed out. But I wanted it to ignore the journal because it was corrupt - and fix the other parts of the filesystem manually, perhaps even wipe out the journal and create a new one. Is this the fault of the program, or can the filesystem not be checked if the journal is corrupt?

justanothersteve 07-27-2006 05:07 PM

I can't offer much for the reiser problem but as for your dma issue, have you attempted to recompile your kernel? I was getting that error after compiling my kernel and having the wrong IDE chipset selected in the device drivers.

john riemann soong 07-27-2006 06:42 PM

Hmm I don't recall selecting any chipset specifically, although I'll look again. Does a Toshiba MK6021GAS use any chipset that I could specify in a kernel besides generic?


All times are GMT -5. The time now is 10:50 PM.