[Bug 1475919] [NEW] update-grub generates invalid grub.cfg when using btrfs as root filesystem in RAID5 mode on three disks

The Bishop the_bishop at web.de
Sat Jul 18 20:17:55 UTC 2015


Public bug reported:

this is how the btrfs filesystem is laid out:

root at manning:~# btrfs fi df /
Data, RAID5: total=6.00GiB, used=2.93GiB
System, RAID1: total=32.00MiB, used=16.00KiB
Metadata, RAID1: total=512.00MiB, used=215.86MiB
GlobalReserve, single: total=80.00MiB, used=0.00B

root at manning:~# btrfs fi sh /
Label: 'M-root'  uuid: 365c6d42-8359-4239-ba1a-2b3a25f97ac2
        Total devices 3 FS bytes used 3.14GiB
        devid    1 size 10.93GiB used 3.28GiB path /dev/sda3
        devid    2 size 10.93GiB used 3.50GiB path /dev/sdb3
        devid    3 size 10.93GiB used 3.28GiB path /dev/sdc3

device UUIDs are disabled in /etc/default/grub :
GRUB_DISABLE_LINUX_UUID=true

the relavant part of the generated grub.cfg looks like this:

                echo    'Loading Linux 3.19.0-22-generic ...'
                linux   /vmlinuz-3.19.0-22-generic root=/dev/sda3
        /dev/sdb3
        /dev/sdc3 ro single nomodeset rootflags=subvol=@ 
                echo    'Loading initial ramdisk ...'
                initrd  /initrd.img-3.19.0-22-generic


when i re-enable UUIDs the generated grub.cfg comes out correct.

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bootloader

** Tags added: bootloader

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1475919

Title:
  update-grub generates invalid grub.cfg when using btrfs as root
  filesystem in RAID5 mode on three disks

Status in grub2 package in Ubuntu:
  New

Bug description:
  this is how the btrfs filesystem is laid out:

  root at manning:~# btrfs fi df /
  Data, RAID5: total=6.00GiB, used=2.93GiB
  System, RAID1: total=32.00MiB, used=16.00KiB
  Metadata, RAID1: total=512.00MiB, used=215.86MiB
  GlobalReserve, single: total=80.00MiB, used=0.00B

  root at manning:~# btrfs fi sh /
  Label: 'M-root'  uuid: 365c6d42-8359-4239-ba1a-2b3a25f97ac2
          Total devices 3 FS bytes used 3.14GiB
          devid    1 size 10.93GiB used 3.28GiB path /dev/sda3
          devid    2 size 10.93GiB used 3.50GiB path /dev/sdb3
          devid    3 size 10.93GiB used 3.28GiB path /dev/sdc3

  device UUIDs are disabled in /etc/default/grub :
  GRUB_DISABLE_LINUX_UUID=true

  the relavant part of the generated grub.cfg looks like this:

                  echo    'Loading Linux 3.19.0-22-generic ...'
                  linux   /vmlinuz-3.19.0-22-generic root=/dev/sda3
          /dev/sdb3
          /dev/sdc3 ro single nomodeset rootflags=subvol=@ 
                  echo    'Loading initial ramdisk ...'
                  initrd  /initrd.img-3.19.0-22-generic

  
  when i re-enable UUIDs the generated grub.cfg comes out correct.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1475919/+subscriptions



More information about the foundations-bugs mailing list