On Wed, Feb 3, 2016 at 1:30 PM, Chris Murphy <li...@colorremedies.com> wrote:
> On Wed, Feb 3, 2016 at 11:14 AM, Hendrik Friedel <hend...@friedels.name> 
> wrote:
>> Sorry, I missed this:
>>> What do you get for rpm -q grub2
>> grub2-2.02-0.34.el7.centos.x86_64
>>
>
> Weird. I was not able to reproduce the problem with CentOS 7.0 doing
> the following in virt-manager with two qcow2s backing /dev/vda and
> /dev/vdb.
>
> 1. Install only to /dev/vda using custom partitioning, partition
> scheme is btrfs.
> 2. Reboot.
> 3. Install btrfs-progs-4.4-1.fc23.x86_64.rpm
> 4. Install kernel-ml-4.4.1-1.el7.elrepo.x86_64.rpm
> ## I did those installs separately to make sure the newer progs goes
> in the initramfs that's created when the newer kernel is installed;
> it's just a time savings is all.
> 5. Reboot
> 6. btrfs dev add /dev/vdb /
> 7. Reboot
> 8. yum upgrade
> ## at this point both devices have chunks
> 9. Reboot
> 10. btrfs balance start /
> ## now only vdb has chunks (due to how single balance allocator works,
> and vdb is bigger than vda2)
> 11. Reboot.
> ## still works
>
> Of course with a VM it's better to just grow the backing device, and
> then something like 'btrfs fi resize max /' rather than have two
> devices. But on a real system, you'd have two devices (with the caveat
> that this is more fragile a setup than a single device because of
> course if either device dies, the whole Btrfs volume implodes).
>
> I can try it without any updates and see if it works....

1. Install CentOS 7.0 to vda
2. reboot
3. btrfs dev add /dev/vdb /
4. reboot
## works
5. btrfs balance start /
6. reboot
## works

Same thing when starting with CentOS 7.2 media.

This is a NAS product using CentOS 7.2? My only guess is they've
changed something broke this.

-- 
Chris Murphy
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to