Re: [PATCH 1/2] btrfs-progs: mkfs: Warn user for minimal RAID5/6 devices setup

2016-09-05 Thread David Sterba
On Fri, Sep 02, 2016 at 11:59:07AM +1000, Steven Haigh wrote: > Is it worthwhile adding a note that RAID5 / RAID6 may very well eat your > data at this stage? This depends on the kernel implementation, so it needs to take that into account. There's a patchset in the works to automatically select

Re: [PATCH 1/2] btrfs-progs: mkfs: Warn user for minimal RAID5/6 devices setup

2016-09-02 Thread Wilson Meier
+1 for the note/warning! > Am 02.09.2016 um 03:59 schrieb Steven Haigh : > > --7NtBNafxaf8ODulNFrivgmW7Mjs09oWwR > Content-Type: text/plain; charset=windows-1252 > Content-Transfer-Encoding: quoted-printable > > Is it worthwhile adding a note that RAID5 / RAID6 may very well

Re: [PATCH 1/2] btrfs-progs: mkfs: Warn user for minimal RAID5/6 devices setup

2016-09-01 Thread Steven Haigh
Is it worthwhile adding a note that RAID5 / RAID6 may very well eat your data at this stage? On 02/09/16 11:41, Qu Wenruo wrote: > For RAID5, 2 devices setup is just RAID1 with more overhead. > For RAID6, 3 devices setup is RAID1 with 3 copies, not what most user > want. > > So warn user at mkfs

[PATCH 1/2] btrfs-progs: mkfs: Warn user for minimal RAID5/6 devices setup

2016-09-01 Thread Qu Wenruo
For RAID5, 2 devices setup is just RAID1 with more overhead. For RAID6, 3 devices setup is RAID1 with 3 copies, not what most user want. So warn user at mkfs time for such case, and add explain in man pages. Signed-off-by: Qu Wenruo ---