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

RAID10 total capacity incorrect

2013-06-02 Thread Tim Eggleston
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 of about 8TB). However I have noticed that when I issue btrfs

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?

Defragmentation of large files

2013-05-11 Thread Tim Eggleston
Hi list, I have a few large image files (VMware workstation VMDKs and TrueCrypt containers) which I routinely back up over the network to a btrfs raid10 volume via bigsync (https://code.google.com/p/bigsync/). The VM images in particular get really fragmented due to CoW, which is expected.

Re: Defragmentation of large files

2013-05-11 Thread Tim Eggleston
Yes. The command just triggers the defragmentation which takes place in the background. Try a sync afterwards :) Sorry Martin, I should have specified that I wondered if it was like the scrub operation in that respect, so I left it several hours before running filefrag again (and seeing