All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anand Jain <anand.jain@oracle.com>
To: Andreas Grosse <andig.listen@aol.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Incompat features: raid56 ... when creating a RAID6?
Date: Wed, 16 Mar 2016 06:19:40 +0800	[thread overview]
Message-ID: <56E88A7C.1010801@oracle.com> (raw)
In-Reply-To: <16570443.SxVegaKaET@andilaptop>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=windows-1252; format=flowed, Size: 2203 bytes --]



On 03/16/2016 05:42 AM, Andreas Grosse wrote:
> Hello everyone!
>
> I just wanted to create a RAID6 and got the following output:
>
>> # mkfs.btrfs -d raid6 -m raid6 -L slowPool /dev/sd[cdefgh]
>> btrfs-progs v4.4.1
>> See http://btrfs.wiki.kernel.org for more information.
>>
>> Label:              slowPool
>> UUID:               85ddf6a7-51f1-4cc0-b6cd-d472277b0e86
>> Node size:          16384
>> Sector size:        4096
>> Filesystem size:    27.29TiB
>>
>> Block group profiles:
>>    Data:             RAID6             4.01GiB
>>    Metadata:         RAID6             4.01GiB
>>    System:           RAID6            14.50MiB
>>
>> SSD detected:       no
>> Incompat features:  extref, raid56, skinny-metadata
>> Number of devices:  6
>>
>> Devices:
>>     ID        SIZE  PATH
>>
>>      1     4.55TiB  /dev/sdc
>>      2     4.55TiB  /dev/sdd
>>      3     4.55TiB  /dev/sde
>>      4     4.55TiB  /dev/sdf
>>      5     4.55TiB  /dev/sdg
>>      6     4.55TiB  /dev/sdh
>
> And then the line saying "Incompat features: ... raid56" came to my eyes.
> Reading the corresponding manpage, it says:
>> raid56
>>      extended format for RAID5/6, also enabled if raid5 or raid6 block groups
>>      are selected
>
> So why is raid56 marked as incompatible if I just created a file system with
> multiple disks using the RAID6 profile? Have I misunderstood something there?
> I am confused. Can somebody here lighten this up?

  Those messages are indeed confusing. It just indicates the
  FS may fail to mount on certain older kernels. Not necessarily
  the kernel in the system on which you ran btrfs-progs. Sorry
  that it not very obvious at the moment, but there are patches
  to make this part better.

  To check features that your running kernel supports you could use
   ls /sys/fs/btrfs/features

  But note: Some of the names used by sys/fs/..features don't
  exactly match with the names used by btrfs-progs: incompatible..
  (a bug, which is also fixed in the patch).

Thanks, Anand


> (If important: Gentoo Linux with kernel 4.5.0, btrfs-progs v4.4.1)
>
> AndiN‹§²æìr¸›yúèšØb²X¬¶Ç§vØ^–)Þº{.nÇ+‰·¥Š{±nÚß²)í…æèw*\x1fjg¬±¨\x1e¶‰šŽŠÝ¢j/êäz¹Þ–Šà2ŠÞ™¨è­Ú&¢)ß¡«a¶Ú\x7fþø\x1e®G«éh®\x0fæj:+v‰¨Šwè†Ù¥
>

  parent reply	other threads:[~2016-03-15 22:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-15 21:42 Incompat features: raid56 ... when creating a RAID6? Andreas Grosse
2016-03-15 22:06 ` Hugo Mills
2016-03-15 22:19 ` Anand Jain [this message]
2016-03-15 23:51   ` Andreas Grosse
2016-03-16  0:52     ` Anand Jain
2016-03-16  9:12       ` Andreas Grosse
2016-03-17  7:55         ` Duncan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56E88A7C.1010801@oracle.com \
    --to=anand.jain@oracle.com \
    --cc=andig.listen@aol.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.