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

Re: ext3 kernel bug, was: Compiling a kernel on an UltraSparc?



On Mon, Dec 23, 2002 at 06:31:30PM -0500, Andrew Hurt wrote:
> On 12/21/02 20:52, Craig Dickson wrote:
> >Frank Copeland wrote:
> >
> >>AIUI, the problem with ext3 filesystems applies only if they are in
> >>journal mode, which isn't the default. I've also seen suggestions that
> >>the bug exists in several versions of the 2.4.x kernels prior to
> >>2.4.20.
> >
> >You mean "data journaling" mode -- ext3 is always journaling, so your
> >statement as written makes no sense, though what you meant to say is
> >correct. The default "ordered" mode is not affected by the bug in
> >2.4.20.
> 
> Just a small aside, guys:
> 
> How do I tell what type of mode I currently have (I'm with ext3, and still 
> using kernel-2.4.19).

Look in your fstab (or vgrep the output of 'mount') and look at the
options in parens after the "type ext3" bit: if you don't see
"data=journal" (or some other "data=" option) then you are running the
default which is "data=ordered", which means you are in the clear.

For example:

  nnorman@aglarond:~ $ mount
  /dev/sda1 on / type ext3 (rw,errors=remount-ro)
  proc on /proc type proc (rw)
  /dev/sda2 on /usr type ext3 (rw,data=journal)
  /dev/sda4 on /var type ext3 (rw,data=journal)
  /dev/sda5 on /tmp type ext3 (rw)
  /dev/sda6 on /var/tmp type ext3 (rw)
  /dev/sda7 on /home type ext3 (rw)

HTH,

-- 
Nathan Norman - Incanus Networking mailto:nnorman@incanus.net
  If you don't know what your program is supposed to do, you'd
  better not start writing it.
          -- Edsger Dijkstra



Reply to: