Re: [reiserfs-list] O/T but expert answer needed: MS says NTFS does full data journaling

2002-02-14 Thread Paul Robertson

 On Thu, 14 Feb 2002 02:58, [EMAIL PROTECTED] wrote:
  On Wed, 13 Feb 2002 12:26:59 +1300, Adam Warner
[EMAIL PROTECTED]
 said:
  Does Windows journal the metadata, data or both?
  
  Answer:  Windows NT/2000 systems that utilize NTFS since NT3.1 have
  always journalled and logged metadata and data, so we've been doing
  this for close to a decade.
  
   I just want to confirm if this is in fact true. I can't find a
 
  Hint:  If they journal both, why do you ever hear of people getting
  corrupted filesystems when the box BSOD's?
 
  (No, I don't know if it does or not - but I've heard *too* many people
say
  It hosed the disk and I had to reinstall for me to think that it's
done
  correctly)

 When a maching gets an Oops or BSOD condition then the kernel is
inherantly
 doing improper and unpredictable things with memory.  Therefore regardless
of
 what file system you use it could get trashed and data could get lost.

 Oops conditions are generally rare on Linux machines so this shouldn't be
 much of an issue.  BSOD on NT is quite common...

 --
 http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
 http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
 http://www.coker.com.au/projects.html Projects I am working on
 http://www.coker.com.au/~russell/ My home page

IMO oops and BSOD are quite different. There are many possible reasons why
an NT kernel component might decide to call KeBugCheck() which generates the
BSOD. I have a book which lists around 100 common bugcheck codes. In
particular, NT can be configured to dump the system state to a file on the
boot partition when a crash occurs.
--
Paul Robertson






Re: [reiserfs-list] O/T but expert answer needed: MS says NTFS does full data journaling

2002-02-14 Thread Russell Coker

On Thu, 14 Feb 2002 20:25, Paul Robertson wrote:
  When a maching gets an Oops or BSOD condition then the kernel is

 inherantly

  doing improper and unpredictable things with memory.  Therefore
  regardless

 of

  what file system you use it could get trashed and data could get lost.
 
  Oops conditions are generally rare on Linux machines so this shouldn't be
  much of an issue.  BSOD on NT is quite common...

 IMO oops and BSOD are quite different. There are many possible reasons why
 an NT kernel component might decide to call KeBugCheck() which generates
 the BSOD. I have a book which lists around 100 common bugcheck codes. In
 particular, NT can be configured to dump the system state to a file on the
 boot partition when a crash occurs.

There are also a couple of Linux kernel patches to support dumping the memory 
to the swap partition on an Oops, and an Oops can be triggered by any 
condition that some kernel code considers Oops-worthy.

IMHO The biggest difference between an Oops and a BSOD is that a machine 
doesn't totally die after an Oops (which can be considered a good or a bad 
thing).

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page



Re: [reiserfs-list] O/T but expert answer needed: MS says NTFS does full data journaling

2002-02-13 Thread Russell Coker

On Thu, 14 Feb 2002 02:58, [EMAIL PROTECTED] wrote:
 On Wed, 13 Feb 2002 12:26:59 +1300, Adam Warner [EMAIL PROTECTED]  
said:
 Does Windows journal the metadata, data or both?
 
 Answer:  Windows NT/2000 systems that utilize NTFS since NT3.1 have
 always journalled and logged metadata and data, so we've been doing
 this for close to a decade.
 
  I just want to confirm if this is in fact true. I can't find a

 Hint:  If they journal both, why do you ever hear of people getting
 corrupted filesystems when the box BSOD's?

 (No, I don't know if it does or not - but I've heard *too* many people say
 It hosed the disk and I had to reinstall for me to think that it's done
 correctly)

When a maching gets an Oops or BSOD condition then the kernel is inherantly 
doing improper and unpredictable things with memory.  Therefore regardless of 
what file system you use it could get trashed and data could get lost.

Oops conditions are generally rare on Linux machines so this shouldn't be 
much of an issue.  BSOD on NT is quite common...

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page