Hello,
I currently have a dualboot LEAP 15.1/W10 laptop and recently I had to re-install W10 without touching OpenSUSE. This is due to the fact that I was cloning from smaller SSD to larger SSD a couple of times for the boot drive, and it was once performed while my RAM module was failing.
There was an instability with W10, and I had to re-install everything and it’s gone smooth.
Something else I am noticing is that on LEAP 15.1 side, boot is rather slow. My root is on the SSD, and /home is on a platter HDD (cloned once from near-failing HDD to current one). Just now, my LEAP took forever to boot and I decided to investigate what’s going on.
The following came to my attention
**#** systemd-analyze blame
6min 36.208s fstrim.service
26.516s backup-rpmdb.service
7.473s btrfsmaintenance-refresh.service
6.697s vboxdrv.service
6.433s logrotate.service
6.430s mandb.service
5.941s dracut-initqueue.service
2.606s mnt-Shared_Data.mount
1.031s postfix.service
772ms display-manager.servic
6 minutes for fstrim?! Is this normal?
For additional information, none of my partitions are btrfs. They are all ext4 or ntfs.
**#** systemctl list-timers
NEXT LEFT LAST PASSED UNIT ACTIVATES
Mon 2020-07-27 19:00:00 CEST 40min left n/a n/a snapper-timeline.timer snapper-timeline.service
Tue 2020-07-28 00:00:00 CEST 5h 40min left Mon 2020-07-27 18:01:09 CEST 18min ago logrotate.timer logrotate.service
Tue 2020-07-28 00:00:00 CEST 5h 40min left Mon 2020-07-27 18:01:09 CEST 18min ago mandb.timer mandb.service
Tue 2020-07-28 01:11:08 CEST 6h left Mon 2020-07-27 18:01:16 CEST 18min ago backup-sysconfig.timer backup-sysconfig.service
Tue 2020-07-28 01:40:13 CEST 7h left Mon 2020-07-27 18:01:09 CEST 18min ago check-battery.timer check-battery.service
Tue 2020-07-28 01:58:38 CEST 7h left Mon 2020-07-27 18:01:09 CEST 18min ago backup-rpmdb.timer backup-rpmdb.service
Tue 2020-07-28 18:16:29 CEST 23h left Mon 2020-07-27 18:16:29 CEST 2min 49s ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
Sat 2020-08-01 00:00:00 CEST 4 days left Mon 2020-07-27 18:01:09 CEST 18min ago btrfs-balance.timer btrfs-balance.service
Sat 2020-08-01 00:00:00 CEST 4 days left Wed 2020-07-01 16:06:47 CEST 3 weeks 5 days ago btrfs-scrub.timer btrfs-scrub.service
Mon 2020-08-03 00:00:00 CEST 6 days left Mon 2020-07-27 18:01:09 CEST 18min ago fstrim.timer fstrim.service
n/a n/a n/a n/a snapper-cleanup.timer snapper-cleanup.service
Could someone let me know how I can disable btrfs-scrub and btrfs-balance from the schedule while we’re at it? They are both disabled and inactive according to systemd but timer says it’s being used… somehow.
Also, my fstab looks as follows:
**#** cat /etc/fstab
UUID=df520a3e-1837-4ebb-8535-c9ca32504fc5 / ext4 acl,user_xattr 0 1
UUID=cb2f0bc6-9c49-42a9-a797-072702eb62c1 /home ext4 data=ordered,acl,user_xattr 0 2
UUID=3216-F39E /boot/efi vfat defaults 0 0
UUID=B0B4915CB491263E /mnt/Shared_Data ntfs defaults 0 0
Can someone help me completely disable btrfs related maintenance on my LEAP 15.1 installation? I hope that’s the only cause of the slow boot.
Thanks!
-SJL