Re: booting from BTRFS works only with one device in the pool

2016-02-13 Thread Hendrik Friedel
Hello Chris, thanks, I appreciate your help - 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

Re: booting from BTRFS works only with one device in the pool

2016-02-13 Thread Chris Murphy
On Sat, Feb 13, 2016 at 7:38 AM, Hendrik Friedel wrote: > Hello Chris, > > thanks, I appreciate your help > > - > 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

Re: booting from BTRFS works only with one device in the pool

2016-02-03 Thread Chris Murphy
On Wed, Feb 3, 2016 at 11:14 AM, Hendrik Friedel 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

Re: booting from BTRFS works only with one device in the pool

2016-02-03 Thread Chris Murphy
On Wed, Feb 3, 2016 at 1:30 PM, Chris Murphy wrote: > On Wed, Feb 3, 2016 at 11:14 AM, Hendrik Friedel > 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

Re: booting from BTRFS works only with one device in the pool

2016-02-03 Thread Hendrik Friedel
Sorry, I missed this: > What do you get for rpm -q grub2 grub2-2.02-0.34.el7.centos.x86_64 Greetings, Hendrik --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the

Re: booting from BTRFS works only with one device in the pool

2016-02-02 Thread Chris Murphy
On Tue, Feb 2, 2016 at 2:59 PM, Hendrik Friedel wrote: > Hello Chris, > >> That's a bit weird. This is BIOS or UEFI system? On UEFI, the prebaked >> grubx64.efi includes btrfs, so insmod isn't strictly needed. But on >> BIOS it would be. > > it is a Virtual-Box-VM. It is a

Re: booting from BTRFS works only with one device in the pool

2016-02-02 Thread Hugo Mills
On Tue, Feb 02, 2016 at 11:01:38PM +0100, Hendrik Friedel wrote: > Hello Hugo, > > >> Here I am stuck in a recovery prompt. > >By far the simplest and most reliable method of doing this is to > >use an initramfs with the command "btrfs dev scan" in it somewhere > >before mounting. Most of the

Re: booting from BTRFS works only with one device in the pool

2016-02-02 Thread Hendrik Friedel
Hello Chris, That's a bit weird. This is BIOS or UEFI system? On UEFI, the prebaked grubx64.efi includes btrfs, so insmod isn't strictly needed. But on BIOS it would be. it is a Virtual-Box-VM. It is a BIOS system > It might be as simple as manually mounting: >btrfs dev scan >btrfs fi show ##

Re: booting from BTRFS works only with one device in the pool

2016-02-02 Thread Hendrik Friedel
Hello Hugo, >> Here I am stuck in a recovery prompt. By far the simplest and most reliable method of doing this is to use an initramfs with the command "btrfs dev scan" in it somewhere before mounting. Most of the major distributions already have an initramfs set up (as does yours, I see),

Re: booting from BTRFS works only with one device in the pool

2016-02-02 Thread Chris Murphy
On Tue, Feb 2, 2016 at 3:01 PM, Hendrik Friedel wrote: > Hello Hugo, > >>> Here I am stuck in a recovery prompt. >> >> By far the simplest and most reliable method of doing this is to >> use an initramfs with the command "btrfs dev scan" in it somewhere >> before

Re: booting from BTRFS works only with one device in the pool

2016-02-02 Thread Hendrik Friedel
Hello, I would like to go the sensible way :-) But can you hint me how and where to add the btrfs device scan option to the initramfs? If btrfs-progs 4.3.1 is installed already, dracut -f will rebuild the initramfs and should just drag in current tools which will include 'btrfs device scan'.

booting from BTRFS works only with one device in the pool

2016-02-01 Thread Hendrik Friedel
Hello, I am running CentOS from a btrfs root. This worked fine until I added a device to that pool: btrfs device add /dev/sda3 / reboot This now causes the errors: BTRFS: failed to read chunk tree on sdb3 BTRFS: open_ctree failed Here I am stuck in a recovery prompt. btrfs fi show displays

Re: booting from BTRFS works only with one device in the pool

2016-02-01 Thread Chris Murphy
On Mon, Feb 1, 2016 at 2:31 PM, Hendrik Friedel wrote: > Hello, > > I am running CentOS from a btrfs root. > This worked fine until I added a device to that pool: > btrfs device add /dev/sda3 / > reboot > > This now causes the errors: > BTRFS: failed to read chunk tree on

Re: booting from BTRFS works only with one device in the pool

2016-02-01 Thread Duncan
Hugo Mills posted on Mon, 01 Feb 2016 22:11:20 + as excerpted: > On Mon, Feb 01, 2016 at 10:31:47PM +0100, Hendrik Friedel wrote: >> Hello, >> >> I am running CentOS from a btrfs root. >> This worked fine until I added a device to that pool: >> btrfs device add /dev/sda3 / >> reboot >> >>

Re: booting from BTRFS works only with one device in the pool

2016-02-01 Thread Hugo Mills
On Mon, Feb 01, 2016 at 11:02:42PM +, Duncan wrote: > Hugo Mills posted on Mon, 01 Feb 2016 22:11:20 + as excerpted: > > > On Mon, Feb 01, 2016 at 10:31:47PM +0100, Hendrik Friedel wrote: > >> Hello, > >> > >> I am running CentOS from a btrfs root. > >> This worked fine until I added a

Re: booting from BTRFS works only with one device in the pool

2016-02-01 Thread Hugo Mills
On Mon, Feb 01, 2016 at 10:31:47PM +0100, Hendrik Friedel wrote: > Hello, > > I am running CentOS from a btrfs root. > This worked fine until I added a device to that pool: > btrfs device add /dev/sda3 / > reboot > > This now causes the errors: > BTRFS: failed to read chunk tree on sdb3 > BTRFS: