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

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

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux