[Bug 1274320] Re: Error: diskfilter writes are not supported

Jan Navrátil 1274320 at bugs.launchpad.net
Sun Sep 22 15:38:38 UTC 2019


Also affects Ubuntu 19.04 with this configuration

Disk /dev/sda: 119,2 GiB, 128 035 676 160 bajtů, 250 069 680 sektorů
Disk model: INTEL SSDSCKKW12
Jednotky: sektorů po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 512 bajtů
Velikost I/O (minimální/optimální): 512 bajtů / 512 bajtů
Typ popisu disku: gpt
Identifikátor disku: A99C455B-4F9A-4FE3-A57F-35D26DC99583

Zařízení     Začátek     Konec   Sektory Velikost Druh
/dev/sda1       2048   2050047   2048000    1000M Systém EFI
/dev/sda2    2050048   2582527    532480     260M Systém EFI
/dev/sda3    2582528 150573055 147990528    70,6G Základní data Microsoftu
/dev/sda4  150575104 151691263   1116160     545M Prostředí obnovy Windows
/dev/sda5  151693312 250068991  98375680    46,9G Souborový systém Linuxu


Disk /dev/sdb: 465,8 GiB, 500 107 862 016 bajtů, 976 773 168 sektorů
Disk model: HGST HTS545050A7
Jednotky: sektorů po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 4096 bajtů
Velikost I/O (minimální/optimální): 4096 bajtů / 4096 bajtů
Typ popisu disku: gpt
Identifikátor disku: D5C37A89-480B-498C-BFF5-FFA3F8A1D93C

Zařízení     Začátek     Konec   Sektory Velikost Druh
/dev/sdb1       2048   2050047   2048000    1000M Prostředí obnovy Windows
/dev/sdb2    2582528   4630527   2048000    1000M Startovací oddíl Lenova
/dev/sdb3    4630528   4892671    262144     128M Vyhrazeno pro Microsoft
/dev/sdb4    4892672 945827839 940935168   448,7G Základní data Microsoftu
/dev/sdb5  945829888 976773119  30943232    14,8G Prostředí obnovy Windows


Disk /dev/mapper/linux-ubuntu: 24 GiB, 25 769 803 776 bajtů, 50 331 648 sektorů
Jednotky: sektorů po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 512 bajtů
Velikost I/O (minimální/optimální): 512 bajtů / 512 bajtů


Disk /dev/mapper/linux-swap: 4 GiB, 4 294 967 296 bajtů, 8 388 608 sektorů
Jednotky: sektorů po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 512 bajtů
Velikost I/O (minimální/optimální): 512 bajtů / 512 bajtů

-- 
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/1274320

Title:
  Error: diskfilter writes are not supported

Status in grub:
  Unknown
Status in grub2 package in Ubuntu:
  Fix Released
Status in grub2-signed package in Ubuntu:
  Fix Released
Status in grub2 source package in Trusty:
  Fix Released
Status in grub2-signed source package in Trusty:
  Fix Released
Status in grub2 source package in Vivid:
  Fix Released
Status in grub2-signed source package in Vivid:
  Fix Released
Status in grub2 package in Debian:
  Fix Released
Status in grub2 package in Fedora:
  Won't Fix

Bug description:
  [Impact]
  RAID and LVM users may run into a cryptic warning on boot from GRUB; because some variants of RAID and LVM are not supported for writing by GRUB itself. GRUB would typically try to write a tiny file to the boot partition for things like remembering the last selected boot entry.

  [Test Case]
  On an affected system (typically any RAID/LVM setup where the boot device is on RAID or on a LVM device), try to boot. Without the patch, the message will appear, otherwise it will not.

  [Regression Potential]
  The potential for regression is minimal as the patch involves enforcing the fact that diskfilter writes are unsupported by grub in menu building scripts, which will automatically avoid enabling recordfail (the offending feature which saves GRUB's state) if the boot partition is detected to be on a device which does not support diskfilter writes.

  ----

  Once grub chooses what to boot to, an error shows up and will sit on
  the screen for approx. 5 seconds

  "Error: diskfilter writes are not supported.
  Press any key to continue..."

  From what I understand, this error is related to raid partitions, and
  I have two of them (md0, md1). Both partitions are used (root and
  swap). Raid is assembled with mdadm and are raid0

  This error message started appearing right after grub2 was updated on
  01/27/2014.

  System:    Kernel: 3.13.0-5-generic x86_64 (64 bit) Desktop: KDE 4.11.5 Distro: Ubuntu 14.04 trusty
  Drives:    HDD Total Size: 1064.2GB (10.9% used)
          1: id: /dev/sda model: SanDisk_SDSSDRC0 size: 32.0GB
          2: id: /dev/sdb model: SanDisk_SDSSDRC0 size: 32.0GB
          3: id: /dev/sdc model: ST31000528AS size: 1000.2GB
  RAID:      Device-1: /dev/md1 - active raid: 0 components: online: sdb2 sda3 (swap)       Device-2: /dev/md0 - active raid: 0 components: online: sdb1 sda1 ( / )
  Grub2:    grub-efi-amd64 version 2.02~beta2-5

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: grub-efi-amd64 2.02~beta2-5
  ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
  Uname: Linux 3.13.0-5-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.13.2-0ubuntu2
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Wed Jan 29 17:37:59 2014
  SourcePackage: grub2
  UpgradeStatus: Upgraded to trusty on 2014-01-23 (6 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/1274320/+subscriptions



More information about the foundations-bugs mailing list