Hi all . Can anyone tell me what are the other advantages of using ext3 over ext2 other than fast fast recovery on crashes A reply will be appreciated. Abhishek --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search
Hi, On Thu, 2003-10-09 at 17:42, abhishek patel wrote:> Hi all . Can anyone tell me what are the other advantages of using > ext3 over ext2 other than fast fast recovery on crashesext3 was designed to be a minimal change to ext2, offering journaling for fast recovery but no other new features. ext3 therefore has largely the same features as ext2: things like ACLs in the 2.6 ext2 tree are in ext3 too. The only other things I can think of that mark ext3 out over ext2 are that the ext3 default ordered journaling mode provides guarantees against seeing "stale" data in a file after a crash; and that the "htree" fast directory indexing code in 2.6's ext3 is not in ext2. Cheers, Stephen
Hi, I was trying to list problems with ordered journaling mode that are not present in the full (data=journal) journaling mode. Please letme know if this is incorrect: Assume that the following sequence of events take place: 1. an already existing file A is deleted 2. new file B is created 3. blocks of A are allocated to B 4. blocks of B are written 5. inode of A & B are updated In ordered data journaling mode, if the system crashes after writing the blocks of B but before updating the metadata of A (that is, between steps 4 and 5), then A might see spurious data. However this problem cannot happen if we have a full journaling mode. Is the above example correct ? If not, could you please give me a situation where ordered data journaling mode will not give as much reliability as the full journaling mode ? thanks, Vijayan