And btw, my current disk conf is a 1x 500GB, 2x3TB and a 5TB.
2017-07-25 10:51 GMT-03:00 Hugo Mills <h...@carfax.org.uk>: > On Tue, Jul 25, 2017 at 01:46:56PM +0000, Hugo Mills wrote: >> On Tue, Jul 25, 2017 at 09:55:37AM -0300, Hérikz Nawarro wrote: >> > Hello everyone, >> > >> > I'm migrating to btrfs and i would like to know, in a btrfs filesystem >> > with 4 disks (multiple sizes) with -d raid0 & -m raid1, how many >> > drives can i lost without losing the entire array? > > Oh, and one other thing -- if you have different-sized devices, > RAID-0 is probably the wrong thing to be using anyway, as you won't be > able to use the difference between the largest and second-largest > device. If you want to use all the space on the available devices, > then "single" mode is probably better (although you still lose a lot > of data if a device breaks), or RAID-1 (which will cope well with the > different sizes as long as the largest device is smaller than the rest > of them added together). > > You can see about the disk usage in different scenarios with the > online tool at: > > http://carfax.org.uk/btrfs-usage/ > > Hugo. > > -- > Hugo Mills | One of these days, I'll catch that man without a > hugo@... carfax.org.uk | quotation, and he'll look undressed. > http://carfax.org.uk/ | > PGP: E2AB1DE4 | Leto Atreides, Dune -- 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