Re: [Bug] btrfs-progs v4.3.1, mkfs.btrfs manpage, profiles table missing raid1

2015-11-24 Thread David Sterba
On Mon, Nov 23, 2015 at 07:07:51PM +0100, David Sterba wrote:
> > Also, it calls raid5/6 "copies" rather than "parity".  Perhaps add 
> > another column for parity, change the redundancy column to copies, and 
> > adjust accordingly?  Alternatively, keep the single redundancy column and 
> > just change raid5 to 1 parity and raid6 to 2 parity.
> 
> Yeah, parity would be better. I'll split it to copy and parity, where a
> copy really means 1:1 byte copy.

Copy from manual page rendering:

   ┌┬┬─┐
   │││ │
   │Profile │ Redundancy │ Min/max devices │
   │├──┬┬┤ │
   ││  │││ │
   ││Copies│ Parity │  Striping  │ │
   ├┼──┼┼┼─┤
   ││  │││ │
   │single  │  1   │││  1/any  │
   ├┼──┼┼┼─┤
   ││  │││ │
   │  DUP   │ 2 / 1 device │││ 1/1 (see note)  │
   ├┼──┼┼┼─┤
   ││  │││ │
   │ RAID0  │  ││   1 to N   │  2/any  │
   ├┼──┼┼┼─┤
   ││  │││ │
   │ RAID1  │  2   │││  2/any  │
   ├┼──┼┼┼─┤
   ││  │││ │
   │RAID10  │  2   ││   1 to N   │  4/any  │
   ├┼──┼┼┼─┤
   ││  │││ │
   │ RAID5  │  1   │   1│ 2 to N - 1 │  2/any  │
   ├┼──┼┼┼─┤
   ││  │││ │
   │ RAID6  │  1   │   2│ 3 to N - 2 │  3/any  │
   └┴──┴┴┴─┘

https://github.com/kdave/btrfs-progs/blob/devel/Documentation/mkfs.btrfs.asciidoc#profiles

(ignore the alignment and other formatting artifacts, it looks better in
the manual page or html)
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [Bug] btrfs-progs v4.3.1, mkfs.btrfs manpage, profiles table missing raid1

2015-11-23 Thread David Sterba
On Fri, Nov 20, 2015 at 11:05:44AM +, Duncan wrote:
> As in the title...
> 
> The btrfs-progs v4.3.1 mkfs.btrfs manpage has a quite nice profiles table 
> listing the various profiles, single/dup/raid0/raid10/raid5/raid6.
> 
> It's missing raid1. =:^(

Oh, that's not intentional, I'll fix it.

> Also, it calls raid5/6 "copies" rather than "parity".  Perhaps add 
> another column for parity, change the redundancy column to copies, and 
> adjust accordingly?  Alternatively, keep the single redundancy column and 
> just change raid5 to 1 parity and raid6 to 2 parity.

Yeah, parity would be better. I'll split it to copy and parity, where a
copy really means 1:1 byte copy.

> Other than that, I really like the nice profiles table layout.
> Kudos to whoever set that up. =:^)

Thanks ;)
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Bug] btrfs-progs v4.3.1, mkfs.btrfs manpage, profiles table missing raid1

2015-11-20 Thread Duncan
As in the title...

The btrfs-progs v4.3.1 mkfs.btrfs manpage has a quite nice profiles table 
listing the various profiles, single/dup/raid0/raid10/raid5/raid6.

It's missing raid1. =:^(

Also, it calls raid5/6 "copies" rather than "parity".  Perhaps add 
another column for parity, change the redundancy column to copies, and 
adjust accordingly?  Alternatively, keep the single redundancy column and 
just change raid5 to 1 parity and raid6 to 2 parity.

Other than that, I really like the nice profiles table layout.
Kudos to whoever set that up. =:^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

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