On Thu, Jan 5, 2012 at 13:26, Fabian Zeindl <fabian.zeindl@xxxxxxxxx> wrote: > > On Jan 5, 2012, at 11:39 , Martin Steigerwald wrote: >> "Allocating as many chunks as can fit across the drives" is also pretty >> clear to me. So if BTRFS can´t allocate a new chunk on two devices, its >> full. To me it seems obvious that BTRFS will not break the RAID-1 >> redundancy guarentee unless a drive fails. > > So (assuming 1GB chunksize): > > if i create a raid-1, btrfs with a 3GB and a 7GB device, it will show me ~10GB free space, > after saving a 1GB file, i will have 8GB left (-1GB on each device) > after saving another 1GB, i will have 6GB left (--- " ----) > after saving another 1GB, it's "suddenly" full? you have still 4GB free of non RAID-1 (single) space, which is currently unavailable, but it is planned that BTRFS will support mixed storage: some files can be RAID-1, some files can be RAID-0 and rest is basic (single) storage > > Fabian-- > 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 -- 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
