Re: Confirmation on how btrfs works with RAID and single.

2014-01-24 Thread David Sterba
On Mon, Jan 20, 2014 at 11:51:35AM -0500, Calvin Walton wrote: Single: When it writes does it simple fill up one drive then move to the next or does it write in a round robin type fashion? I'm not totally sure, this depends on the vagaries of the chunk allocator. When writing only new

Re: Confirmation on how btrfs works with RAID and single.

2014-01-24 Thread Chris Murphy
On Jan 24, 2014, at 7:52 AM, David Sterba dste...@suse.cz wrote: The 'fill one device first is addressed by Btrfs: Add linear chunk allocation support http://www.spinics.net/lists/linux-btrfs/msg29616.html What about something like XFS's AGs? Instead of writing a single stream of files to

Confirmation on how btrfs works with RAID and single.

2014-01-20 Thread G. Michael Carter
I'm pretty sure I know the answers but just wanted confirmation. RAID1: When it reads does it read from only one disk or does it try to read from multiple disks? Single: When it writes does it simple fill up one drive then move to the next or does it write in a round robin type fashion? -- To

Re: Confirmation on how btrfs works with RAID and single.

2014-01-20 Thread Calvin Walton
On Mon, 2014-01-20 at 10:43 -0500, G. Michael Carter wrote: I'm pretty sure I know the answers but just wanted confirmation. RAID1: When it reads does it read from only one disk or does it try to read from multiple disks? The current implementation of RAID1 on btrfs will, with a single

Re: Confirmation on how btrfs works with RAID and single.

2014-01-20 Thread Duncan
G. Michael Carter posted on Mon, 20 Jan 2014 10:43:59 -0500 as excerpted: I'm pretty sure I know the answers but just wanted confirmation. RAID1: When it reads does it read from only one disk or does it try to read from multiple disks? *) Btrfs will read from one device[1] at a time, per