public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* mount BTRFS filesystems created with 3.8+ under 2.6.32 kernels ?
@ 2014-09-22 16:44 Jason Vas Dias
  2014-09-22 18:07 ` Jason Vas Dias
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Vas Dias @ 2014-09-22 16:44 UTC (permalink / raw)
  To: linux-kernel

Good day -

I wonder if there is a GIT repository somewhere with a backport of the BTRFS
kernel modules  that will allow BTRFS filesystems created with a 3.8 kernel to
be mounted on a 2.6.32+ kernel .

When I try this, the 2.6.32 kernel crashes with the message :
 'BTRFS: couldn't mount because of unsupported optional features (40)'
( kernel-2.6.32-431.29.2.el6.x86_64 from RHEL 6.4+ ).

The same filesystem mounts fine under Oracle EL6 which now comes with
kernel-uek 3.8+ .  Has anyone tried to backport the 3.8 BTRFS
capabilities to 2.6.32 ,
or is there any way I can remove "Option 40" to get it to mount
without crashing ?
It is a very small BTRFS filesystem with a root filesystem and a few snapshots.
I did not specify any BTRFS options in :
  $ mkfs.btrfs /dev/sda9;
  ... # mount on /mnt/btr & create some files
  $ btrfs subvolume snapshot -r /mnt/btr /mnt/btr/root-0
  $ btrfs subvolume snapshot    /mnt/btr /mnt/btr/root-w-0
Now I can mount /dev/sda9 under any 3.8+ kernel, but not under 2.6.32 .

Thanks in advance for any replies,
Best Regards, Jason Vas Dias

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mount BTRFS filesystems created with 3.8+ under 2.6.32 kernels ?
  2014-09-22 16:44 mount BTRFS filesystems created with 3.8+ under 2.6.32 kernels ? Jason Vas Dias
@ 2014-09-22 18:07 ` Jason Vas Dias
  2014-09-25  6:07   ` Chuck Ebbert
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Vas Dias @ 2014-09-22 18:07 UTC (permalink / raw)
  To: linux-kernel

Of course the solution was to have created the filesystem in the first
place with
'mkfs.btrfs -O ^extref' . Found this after some more googling ...
Shouldn't this be the default ?
Regards,
Jason

On 9/22/14, Jason Vas Dias <jason.vas.dias@gmail.com> wrote:
> Good day -
>
> I wonder if there is a GIT repository somewhere with a backport of the
> BTRFS
> kernel modules  that will allow BTRFS filesystems created with a 3.8 kernel
> to
> be mounted on a 2.6.32+ kernel .
>
> When I try this, the 2.6.32 kernel crashes with the message :
>  'BTRFS: couldn't mount because of unsupported optional features (40)'
> ( kernel-2.6.32-431.29.2.el6.x86_64 from RHEL 6.4+ ).
>
> The same filesystem mounts fine under Oracle EL6 which now comes with
> kernel-uek 3.8+ .  Has anyone tried to backport the 3.8 BTRFS
> capabilities to 2.6.32 ,
> or is there any way I can remove "Option 40" to get it to mount
> without crashing ?
> It is a very small BTRFS filesystem with a root filesystem and a few
> snapshots.
> I did not specify any BTRFS options in :
>   $ mkfs.btrfs /dev/sda9;
>   ... # mount on /mnt/btr & create some files
>   $ btrfs subvolume snapshot -r /mnt/btr /mnt/btr/root-0
>   $ btrfs subvolume snapshot    /mnt/btr /mnt/btr/root-w-0
> Now I can mount /dev/sda9 under any 3.8+ kernel, but not under 2.6.32 .
>
> Thanks in advance for any replies,
> Best Regards, Jason Vas Dias
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: mount BTRFS filesystems created with 3.8+ under 2.6.32 kernels ?
  2014-09-22 18:07 ` Jason Vas Dias
@ 2014-09-25  6:07   ` Chuck Ebbert
  0 siblings, 0 replies; 3+ messages in thread
From: Chuck Ebbert @ 2014-09-25  6:07 UTC (permalink / raw)
  To: Jason Vas Dias; +Cc: linux-kernel

On Mon, 22 Sep 2014 19:07:39 +0100
Jason Vas Dias <jason.vas.dias@gmail.com> wrote:

> Of course the solution was to have created the filesystem in the first
> place with
> 'mkfs.btrfs -O ^extref' . Found this after some more googling ...
> Shouldn't this be the default ?

Even worse, your vendor might change the default, like Red Hat did in
RHEL 7. ext4 filesystems created by the installer, even very small ones,
get the 64bit feature enabled and can't be mounted in RHEL 6.5.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-25  6:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-22 16:44 mount BTRFS filesystems created with 3.8+ under 2.6.32 kernels ? Jason Vas Dias
2014-09-22 18:07 ` Jason Vas Dias
2014-09-25  6:07   ` Chuck Ebbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox