Re: Help interpreting RAID1 space allocation

2013-08-25 Thread Duncan
Chris Murphy posted on Sat, 24 Aug 2013 23:18:26 -0600 as excerpted: On Aug 24, 2013, at 11:24 AM, Joel Johnson mrj...@lixil.net wrote: Similar to what Duncan described in his response, on a hot-remove (without doing the proper btrfs device delete), there is no opportunity for a rebalance

Re: Help interpreting RAID1 space allocation

2013-08-25 Thread Chris Murphy
On Aug 25, 2013, at 6:12 AM, Duncan 1i5t5.dun...@cox.net wrote: The degraded mount option does indeed simply ALLOW mounting without all devices. If all devices can be found, btrfs will still integrate them all, regardless of the mount option. I understand btrfs handling is necessarily

Re: Help interpreting RAID1 space allocation

2013-08-24 Thread Joel Johnson
On Aug 23, 2013, Chris Murphy li...@colorremedies.com wrote: When replacing a failed disk, I'd like btrfs to compare states between the available drives and know that it needs to catch up the newly added device, but this doesn't yet happen. It's necessary to call btrfs balance. I can only

Re: Help interpreting RAID1 space allocation

2013-08-24 Thread Joel Johnson
On 2013-08-24 11:24, Joel Johnson wrote: Should I file a few bugs to capture the related issues? Here are the discrete issues that seem to be present from a user point of view: After writing this, I figured I'd experiment with the current state and try to properly delete and add the sdd

Re: Help interpreting RAID1 space allocation

2013-08-24 Thread Sandy McArthur
On Sat, Aug 24, 2013 at 2:02 PM, Joel Johnson mrj...@lixil.net wrote: On 2013-08-24 11:24, Joel Johnson wrote: Should I file a few bugs to capture the related issues? Here are the discrete issues that seem to be present from a user point of view: After writing this, I figured I'd experiment

Re: Help interpreting RAID1 space allocation

2013-08-24 Thread Joel Johnson
On 2013-08-24 14:30, Sandy McArthur wrote: I was surprised to find that I'm not allowed to remove one of the two drives in a RAID1. Kernel message is btrfs: unable to go below two devices on raid1 Not allowing it by default makes some sense, however a --force flag or something would be

Re: Help interpreting RAID1 space allocation

2013-08-24 Thread Chris Murphy
On Aug 24, 2013, at 11:24 AM, Joel Johnson mrj...@lixil.net wrote: Similar to what Duncan described in his response, on a hot-remove (without doing the proper btrfs device delete), there is no opportunity for a rebalance or metadata change on the pulled drives, so I would expect there to

Re: Help interpreting RAID1 space allocation

2013-08-23 Thread Chris Murphy
On Aug 23, 2013, at 6:05 PM, Joel Johnson mrj...@lixil.net wrote: What is the expectation on hot-adding a failed drive, is an explicit 'device add' or 'replace' expected/required? I'd expect to have to add a device and then remove missing. There isn't a readd option in btrfs, which in md