Public bug reported: Because of snaps, an Ubuntu system usually has a ton of loop devices in use: $ losetup NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE DIO LOG-SEC /dev/loop1 0 0 1 1 /var/lib/snapd/snaps/git-ubuntu_1506.snap 0 512 /dev/loop29 0 0 1 1 /var/lib/snapd/snaps/snapcraft_12136.snap 0 512 /dev/loop19 0 0 1 1 /var/lib/snapd/snaps/gnome-42-2204_172.snap 0 512 /dev/loop37 0 0 1 1 /var/lib/snapd/snaps/ustriage_214.snap 0 512 /dev/loop27 0 0 1 1 /var/lib/snapd/snaps/snap-store_1147.snap 0 512 /dev/loop17 0 0 1 1 /var/lib/snapd/snaps/kubectl_3280.snap 0 512 /dev/loop8 0 0 1 1 /var/lib/snapd/snaps/core22_1380.snap 0 512 /dev/loop35 0 0 1 1 /var/lib/snapd/snaps/testflinger-cli_179.snap 0 512 /dev/loop25 0 0 1 1 /var/lib/snapd/snaps/lxd_28463.snap 0 512 /dev/loop15 0 0 1 1 /var/lib/snapd/snaps/firmware-updater_121.snap 0 512 /dev/loop6 0 0 1 1 /var/lib/snapd/snaps/core20_2318.snap 0 512 /dev/loop33 0 0 1 1 /var/lib/snapd/snaps/snapd-desktop-integration_83.snap 0 512 /dev/loop23 0 0 1 1 /var/lib/snapd/snaps/kubectl_3281.snap 0 512 /dev/loop13 0 0 1 1 /var/lib/snapd/snaps/firefox_4483.snap 0 512 /dev/loop4 0 0 1 1 /var/lib/snapd/snaps/core18_2829.snap 0 512 /dev/loop31 0 0 1 1 /var/lib/snapd/snaps/snapd_21759.snap 0 512 /dev/loop21 0 0 1 1 /var/lib/snapd/snaps/gtk-common-themes_1535.snap 0 512 /dev/loop11 0 0 1 1 /var/lib/snapd/snaps/cups_1058.snap 0 512 /dev/loop2 0 0 1 1 /var/lib/snapd/snaps/chromium_2878.snap 0 512 /dev/loop38 0 0 1 1 /var/lib/snapd/snaps/chromium_2898.snap 0 512 /dev/loop0 0 0 1 1 /var/lib/snapd/snaps/bare_5.snap 0 512 /dev/loop28 0 0 1 1 /var/lib/snapd/snaps/snapcraft_12024.snap 0 512 /dev/loop18 0 0 1 1 /var/lib/snapd/snaps/git-ubuntu_1505.snap 0 512 /dev/loop9 0 0 1 1 /var/lib/snapd/snaps/core24_423.snap 0 512 /dev/loop36 0 0 1 1 /var/lib/snapd/snaps/ustriage_209.snap 0 512 /dev/loop26 0 0 1 1 /var/lib/snapd/snaps/snap-store_1134.snap 0 512 /dev/loop16 0 0 1 1 /var/lib/snapd/snaps/firmware-updater_127.snap 0 512 /dev/loop7 0 0 1 1 /var/lib/snapd/snaps/core22_1122.snap 0 512 /dev/loop34 0 0 1 1 /var/lib/snapd/snaps/testflinger-cli_178.snap 0 512 /dev/loop24 0 0 1 1 /var/lib/snapd/snaps/lxd_28322.snap 0 512 /dev/loop14 0 0 1 1 /var/lib/snapd/snaps/firefox_4539.snap 0 512 /dev/loop5 0 0 1 1 /var/lib/snapd/snaps/core20_2264.snap 0 512 /dev/loop32 0 0 1 1 /var/lib/snapd/snaps/snapd-desktop-integration_157.snap 0 512 /dev/loop12 0 0 1 1 /var/lib/snapd/snaps/distrobuilder_1833.snap 0 512 /dev/loop40 0 0 1 1 /var/lib/snapd/snaps/gnome-46-2404_26.snap 0 512 /dev/loop3 0 0 1 1 /var/lib/snapd/snaps/core18_2823.snap 0 512 /dev/loop30 0 0 1 1 /var/lib/snapd/snaps/snapd_21465.snap 0 512 /dev/loop20 0 0 1 1 /var/lib/snapd/snaps/gnome-42-2204_176.snap 0 512 /dev/loop10 0 0 1 1 /var/lib/snapd/snaps/cups_1052.snap 0 512 /dev/loop39 0 0 1 1 /var/lib/snapd/snaps/mesa-2404_44.snap 0 512
When running tuned on such a system, there is a lot of noise in the logs about loop devices not supporting hdparm: 2024-07-12 17:38:51,438 INFO tuned.plugins.plugin_disk: Device 'nvme0n1' not supported by hdparm 2024-07-12 17:38:51,440 INFO tuned.plugins.plugin_disk: Device 'loop0' not supported by hdparm 2024-07-12 17:38:51,441 INFO tuned.plugins.plugin_disk: Device 'loop1' not supported by hdparm 2024-07-12 17:38:51,443 INFO tuned.plugins.plugin_disk: Device 'loop10' not supported by hdparm 2024-07-12 17:38:51,444 INFO tuned.plugins.plugin_disk: Device 'loop11' not supported by hdparm 2024-07-12 17:38:51,446 INFO tuned.plugins.plugin_disk: Device 'loop12' not supported by hdparm 2024-07-12 17:38:51,447 INFO tuned.plugins.plugin_disk: Device 'loop13' not supported by hdparm 2024-07-12 17:38:51,448 INFO tuned.plugins.plugin_disk: Device 'loop14' not supported by hdparm 2024-07-12 17:38:51,449 INFO tuned.plugins.plugin_disk: Device 'loop15' not supported by hdparm 2024-07-12 17:38:51,451 INFO tuned.plugins.plugin_disk: Device 'loop16' not supported by hdparm 2024-07-12 17:38:51,452 INFO tuned.plugins.plugin_disk: Device 'loop17' not supported by hdparm 2024-07-12 17:38:51,454 INFO tuned.plugins.plugin_disk: Device 'loop18' not supported by hdparm 2024-07-12 17:38:51,456 INFO tuned.plugins.plugin_disk: Device 'loop19' not supported by hdparm 2024-07-12 17:38:51,458 INFO tuned.plugins.plugin_disk: Device 'loop2' not supported by hdparm 2024-07-12 17:38:51,461 INFO tuned.plugins.plugin_disk: Device 'loop20' not supported by hdparm 2024-07-12 17:38:51,462 INFO tuned.plugins.plugin_disk: Device 'loop21' not supported by hdparm 2024-07-12 17:38:51,464 INFO tuned.plugins.plugin_disk: Device 'loop22' not supported by hdparm 2024-07-12 17:38:51,465 INFO tuned.plugins.plugin_disk: Device 'loop23' not supported by hdparm 2024-07-12 17:38:51,467 INFO tuned.plugins.plugin_disk: Device 'loop24' not supported by hdparm 2024-07-12 17:38:51,468 INFO tuned.plugins.plugin_disk: Device 'loop25' not supported by hdparm 2024-07-12 17:38:51,469 INFO tuned.plugins.plugin_disk: Device 'loop26' not supported by hdparm 2024-07-12 17:38:51,470 INFO tuned.plugins.plugin_disk: Device 'loop27' not supported by hdparm 2024-07-12 17:38:51,471 INFO tuned.plugins.plugin_disk: Device 'loop28' not supported by hdparm 2024-07-12 17:38:51,471 INFO tuned.plugins.plugin_disk: Device 'loop29' not supported by hdparm 2024-07-12 17:38:51,473 INFO tuned.plugins.plugin_disk: Device 'loop3' not supported by hdparm 2024-07-12 17:38:51,474 INFO tuned.plugins.plugin_disk: Device 'loop30' not supported by hdparm 2024-07-12 17:38:51,475 INFO tuned.plugins.plugin_disk: Device 'loop31' not supported by hdparm 2024-07-12 17:38:51,477 INFO tuned.plugins.plugin_disk: Device 'loop32' not supported by hdparm 2024-07-12 17:38:51,478 INFO tuned.plugins.plugin_disk: Device 'loop33' not supported by hdparm 2024-07-12 17:38:51,479 INFO tuned.plugins.plugin_disk: Device 'loop34' not supported by hdparm 2024-07-12 17:38:51,480 INFO tuned.plugins.plugin_disk: Device 'loop35' not supported by hdparm 2024-07-12 17:38:51,481 INFO tuned.plugins.plugin_disk: Device 'loop36' not supported by hdparm 2024-07-12 17:38:51,482 INFO tuned.plugins.plugin_disk: Device 'loop37' not supported by hdparm 2024-07-12 17:38:51,483 INFO tuned.plugins.plugin_disk: Device 'loop38' not supported by hdparm 2024-07-12 17:38:51,485 INFO tuned.plugins.plugin_disk: Device 'loop39' not supported by hdparm 2024-07-12 17:38:51,486 INFO tuned.plugins.plugin_disk: Device 'loop4' not supported by hdparm 2024-07-12 17:38:51,487 INFO tuned.plugins.plugin_disk: Device 'loop40' not supported by hdparm 2024-07-12 17:38:51,489 INFO tuned.plugins.plugin_disk: Device 'loop5' not supported by hdparm 2024-07-12 17:38:51,490 INFO tuned.plugins.plugin_disk: Device 'loop6' not supported by hdparm 2024-07-12 17:38:51,492 INFO tuned.plugins.plugin_disk: Device 'loop7' not supported by hdparm 2024-07-12 17:38:51,493 INFO tuned.plugins.plugin_disk: Device 'loop8' not supported by hdparm 2024-07-12 17:38:51,494 INFO tuned.plugins.plugin_disk: Device 'loop9' not supported by hdparm 2024-07-12 17:38:51,495 INFO tuned.plugins.plugin_disk: Device 'dm-0' not supported by hdparm 2024-07-12 17:38:51,496 INFO tuned.plugins.plugin_disk: Device 'dm-1' not supported by hdparm 2024-07-12 17:38:51,497 INFO tuned.plugins.plugin_disk: Device 'dm-2' not supported by hdparm 2024-07-12 17:38:51,497 INFO tuned.plugins.base: instance disk: assigning devices loop29, loop36, loop30, dm-0, loop25, loop3, loop38, loop11, loop6, loop22, loop15, loop1, loop4, loop23, loop9, loop35, nvme0n1, loop5, loop7, dm-2, dm-1, loop21, loop39, loop28, loop19, loop8, loop20, loop17, loop31, loop40, loop16, loop0, loop37, loop32, loop34, loop27, loop24, loop13, loop14, loop26, loop10, loop12, loop2, loop18, loop33 Note that this list also includes an NVME device, for some reason. But that's not the scope of this bug. It will definitely never make sense to treat loop devices as real hardware that needs tuning with hdparm. And I'm not sure what "assigning devices" means in that last log, if that makes sense for loop devices or not. ** Affects: tuned (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/2073007 Title: Should ignore loop devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tuned/+bug/2073007/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs