On Sun, Dec 15, 2013 at 10:03:35PM +0800, Shilong Wang wrote: > I compile btrfs in kernel 3.2 and 3.12. > > # mkfs.btrfs -f /dev/sda2 > # mount /dev/sda2 /mnt > # dd if=/dev/zero of=/mnt/data bs=1M count=1024 > # umount /mnt > > The above operations is in 3.2 > > and then i switch my system into 3.12, and try to mount /dev/sda2 > it will output something like the following: > > btrfs: mismatching generation and generation_v2 found in root item. > This root was probably mounted with an older kernel. Resetting all new > fields. > > But it mounted successfully, then i do some similar operations in > 3.12...and umount it. > and switch into kernel version 3.2... > > but i failt to mount it in 3.2 and it output the following message. > > BTRFS: couldn't mount because of unsupported optional features (20) BTRFS_FEATURE_INCOMPAT_BIG_METADATA (1ULL << 5) == 0x20 so you've made the filesystem with new progs that turn on bigblocks by default. > It seems that here the problem is because incompat features in newer > kernel and make older kernel > unmountable any more.. This is not the case for any incompat feature introduced after 3.2. Default subolume, lzo compression are automatically set when the feature is used, but nothing from the rest like bigblocks, extrefs, skinny metadata etc. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
