Re: RAID10 total capacity incorrect

2013-06-03 Thread Tim Eggleston
I'd guess normal df (not btrfs filesystem df) and doing the math in his head will be the simplest for him, as it is for me. But it's worth noting that normal df with math in your head isn't /always/ going to be the answer, as things start getting rather more complex as soon as different sized

Re: RAID10 total capacity incorrect

2013-06-03 Thread Duncan
Tim Eggleston posted on Mon, 03 Jun 2013 09:02:26 +0100 as excerpted: I'd guess normal df (not btrfs filesystem df) and doing the math in his head will be the simplest for him, as it is for me. But it's worth noting that normal df with math in your head isn't /always/ going to be the

Re: RAID10 total capacity incorrect

2013-06-02 Thread Hugo Mills
On Sun, Jun 02, 2013 at 05:17:11PM +0100, Tim Eggleston wrote: Hi list, I have a 4-device RAID10 array of 2TB drives on btrfs. It works great. I recently added an additional 4 drives to the array. There is only about 2TB in use across the whole array (which should have an effective capacity

Re: RAID10 total capacity incorrect

2013-06-02 Thread Tim Eggleston
Hi Hugo, Thanks for your reply, good to know it's not an error as such (just me being an idiot!). Additional space will be allocated from the available unallocated space as the FS needs it. So I guess my question becomes, how much of that available unallocated space do I have?

Re: RAID10 total capacity incorrect

2013-06-02 Thread Chris Murphy
On Jun 2, 2013, at 12:17 PM, Tim Eggleston li...@timeggleston.co.uk wrote: root@mckinley:/# btrfs fi df /mnt/shares/btrfsvol0 Data, RAID10: total=2.06TB, used=2.06TB System, RAID10: total=64.00MB, used=188.00KB System: total=4.00MB, used=0.00 Metadata, RAID10: total=3.00GB, used=2.29GB

Re: RAID10 total capacity incorrect

2013-06-02 Thread Hugo Mills
On Sun, Jun 02, 2013 at 05:52:38PM +0100, Tim Eggleston wrote: Hi Hugo, Thanks for your reply, good to know it's not an error as such (just me being an idiot!). Additional space will be allocated from the available unallocated space as the FS needs it. So I guess my question becomes,

Re: RAID10 total capacity incorrect

2013-06-02 Thread Hugo Mills
On Sun, Jun 02, 2013 at 12:52:40PM -0400, Chris Murphy wrote: On Jun 2, 2013, at 12:17 PM, Tim Eggleston li...@timeggleston.co.uk wrote: root@mckinley:/# btrfs fi df /mnt/shares/btrfsvol0 Data, RAID10: total=2.06TB, used=2.06TB System, RAID10: total=64.00MB, used=188.00KB System:

Re: RAID10 total capacity incorrect

2013-06-02 Thread Duncan
Hugo Mills posted on Sun, 02 Jun 2013 18:43:59 +0100 as excerpted: On Sun, Jun 02, 2013 at 12:52:40PM -0400, Chris Murphy wrote: [I]t's confusing. btrfs fi df doesn't show free space. The first value is what space the fs has allocated for the data usage type, and the 2nd value is how much