On Tue, Jul 25, 2017 at 10:55:18AM -0300, Hérikz Nawarro wrote: > And btw, my current disk conf is a 1x 500GB, 2x3TB and a 5TB. OK, so by my mental arithmetic(*), you'd get: - 9.5 TB usable in RAID-0 - 11.5 TB usable in single mode - 5.75 TB usable in RAID-1 Hugo. (*) Which may be a bit wobbly. :) > 2017-07-25 10:51 GMT-03:00 Hugo Mills <hugo@xxxxxxxxxxxxx>: > > 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
Attachment:
signature.asc
Description: Digital signature
