[Bug 1896578] Re: raid10: Block discard is very slow, causing severe delays for mkfs and fstrim operations
Thanks Matt. I have it installed on one machine so far and looks good (in the past 10 minutes). fstrim of a ~30 TB RAID 10 took 73 seconds instead of multiple hours. # uname -a Linux xxx 5.4.0-75-generic #84-Ubuntu SMP Fri May 28 16:28:37 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux # df -h /dev/md0 Filesystem Size Used Avail Use% Mounted on /dev/md0 30T 212G 29T 1% /opt/raid # cat /proc/mdstat Personalities : [raid10] [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] md0 : active raid10 nvme7n1[7] nvme2n1[2] nvme6n1[6] nvme4n1[4] nvme1n1[1] nvme3n1[3] nvme0n1[0] nvme5n1[5] 31255576576 blocks super 1.2 512K chunks 2 near-copies [8/8] [] bitmap: 11/233 pages [44KB], 65536KB chunk unused devices: # time fstrim /opt/raid real1m13.162s user0m0.004s sys 0m0.351s -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1896578 Title: raid10: Block discard is very slow, causing severe delays for mkfs and fstrim operations To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1896578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1896578] Re: raid10: Block discard is very slow, causing severe delays for mkfs and fstrim operations
I have it running on two machines now that needed big RAID 10s: # uname -rv 5.4.0-72-generic #80+TEST1896578v20210504b1-Ubuntu SMP Tue May 4 00:30:36 UTC 202 # df -h /opt/raid Filesystem Size Used Avail Use% Mounted on /dev/md0 30T 208G 29T 1% /opt/raid # cat /proc/mdstat Personalities : [raid10] md0 : active raid10 nvme7n1[7] nvme6n1[6] nvme5n1[5] nvme4n1[4] nvme3n1[3] nvme2n1[2] nvme1n1[1] nvme0n1[0] 31255576576 blocks super 1.2 512K chunks 2 near-copies [8/8] [] [>] resync = 0.1% (48777600/31255576576) finish=2514.8min speed=206813K/sec bitmap: 233/233 pages [932KB], 65536KB chunk FWIW the mkfs.xfs took ~1 minute across 8x8TB NVMe disks with this patched kernel. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1896578 Title: raid10: Block discard is very slow, causing severe delays for mkfs and fstrim operations To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1896578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1896578] Re: raid10: Block discard is very slow, causing severe delays for mkfs and fstrim operations
Is there any ETA on a supported kernel with this patch? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1896578 Title: raid10: Block discard is very slow, causing severe delays for mkfs and fstrim operations To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1896578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1663645] Re: Installation hangs at 66% "Installing GRUB boot loader"
I may have found a workaround/fix, I posted to my own bug report: https://bugs.launchpad.net/ubuntu/+source/debian- installer/+bug/1854839/comments/2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1663645 Title: Installation hangs at 66% "Installing GRUB boot loader" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/1663645/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1854839] Re: Fresh Bionic install hangs forever at 66% waiting for os-prober
I may have found a workaround/fix for this. I noticed that /etc/grub.d/30-os_prober has a GRUB_DISABLE_OS_PROBER variable that will skip probing for other OSes on the machine, so I added GRUB_DISABLE_OS_PROBER=true to the kernel options and the installer proceeded to completion on a machine that was consistently hanging at 66%/osprober. I'm using foreman for the provisioning so my pxegrub2 template looks like this now: menuentry '<%= template_name %>_uefi' { linuxefi <%= @kernel %> auto=true netcfg/choose_interface=<%= @host.primary_interface.identifier %>np0 url=<%= foreman_url('provision')%> ramdisk_size=10800 root=/dev/rd/0 rw auto hostname=<%= @host.name %> GRUB_DISABLE_OS_PROBER=true <%= options %> initrdefi <%= @initrd %> } As soon as I added this option, the install completed. Have only tested it on this single box, will update again if this doesn't fix it on future machines. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1854839 Title: Fresh Bionic install hangs forever at 66% waiting for os-prober To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1854839/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1854839] [NEW] Fresh Bionic install hangs forever at 66% waiting for os-prober
Public bug reported: Installing Ubuntu 18.04 cleanly on boxes that have 14.04, the installer hangs at the end during "update grub" at 66%, forever, until I switch to another console and kill the pid of "dmsetup". Issue is described in more detail here: https://jrs-s.net/2019/05/31/ubuntu-18-04-hung-at- update-grub-66/ . I am doing a netboot preseed install using the 4.15.0-62 kernel and initrd from October 2019. When provisioning ~15 boxes at a time, 90% - 100% of them are afflicted by this. If I power cycle them and PXE them into the installer again when hung they usually run to completion. ** Affects: debian-installer (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1854839 Title: Fresh Bionic install hangs forever at 66% waiting for os-prober To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1854839/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1663645] Re: Installation hangs at 66% "Installing GRUB boot loader"
Affecting Dell DSS1500, 100% of the time. SATA drive. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1663645 Title: Installation hangs at 66% "Installing GRUB boot loader" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/1663645/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1769044] Re: Ubunut 18.04 d-i preseeded installer hangs at 66 % of update-grub...
*** This bug is a duplicate of bug 1663645 *** https://bugs.launchpad.net/bugs/1663645 Affecting Dell DSS1500, 100% of the time. SATA drive. Workaround (found elsewhere) is to ctrl-alt-f2 during the hang and "ps | grep dm" and kill the pid running "dmsetup create -r osprober-linux-sda1". Install will then finish, but this doesn't scale when provisioning 20 servers at once (as I am). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1769044 Title: Ubunut 18.04 d-i preseeded installer hangs at 66 % of update-grub... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1769044/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 682662] Re: pam-auth-update ignores debconf settings
Same issue in #6 with Xenial. Same chef cookbook that works on 14.04 doesn't work on 16.04 because of the "seen" issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/682662 Title: pam-auth-update ignores debconf settings To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pam/+bug/682662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1484740] Re: 14.04 trousers version 0.3.11.2-1 fails to start with TPM device
Tested the hotfix package and trousers installed cleanly for me on 14.04.3. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1484740 Title: 14.04 trousers version 0.3.11.2-1 fails to start with TPM device To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/trousers/+bug/1484740/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1393077] Re: package trousers 0.3.11.2-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 137
Same as above. The problem appears to be due to an error in the postinstall script, which references "udevd" instead of "systemd-udevd". Fixed via this chef recipe, but should really be fixed in the package: https://github.com/bloomberg/chef- bcpc/blob/8936374125e2ef386b0c3b018e7624cd0f3d4597/cookbooks/bcpc/recipes/tpm.rb#L46 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393077 Title: package trousers 0.3.11.2-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 137 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/trousers/+bug/1393077/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs