** Description changed:

  this is how the btrfs filesystem is laid out:
  
  root@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@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
+         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
- 
+                 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.
+ 
+ btw. this is on Lubuntu 15.04 (Vivid Vervet)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to