Re: bug when we do an mkfs.ext4 + tune2fs

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

 



On Tue, Jan 20, 2009 at 01:21:45PM +0000, fdbugs wrote:
> Hi,
> 
> I have an error when I try to mount an ext4 after having changed its
> uuid with tune2fs. If I just do an mkfs.ext4 I can mount it, but if I
> do an mkfs.ext4 and then an e2label -U on it, it can't be mounted.
> Fortunately this bug is quite easy to reproduce.

This is a bug in tune2fs/e2label; it's fixed in the maint branch of
e2fsprogs, and I hope to get a release out soon.  The relevant commit
is:

commit 9d4a4dc2870c46c74f815ec2bebe10b4701accf2
Author: Theodore Ts'o <tytso@xxxxxxx>
Date:   Fri Nov 14 17:42:27 2008 -0500

    tune2fs: Update the block group checksums when changing the UUID
    
    Since the block group checksums depend on the UUID, we need to update
    the block group checksums when setting the UUID.  We only do so if all
    of the checksums are correct, however.
    
    Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>

You can work around it by using the command "e2fsck -fy" right after
the e2label -U, but that's admittedly quite annoying.  :-/

							- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux