Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: /boot/efi is not mounted

  1. #11

    Default Re: /boot/efi is not mounted

    Quote Originally Posted by karlmistelberger View Post
    Did you verify that btrfsmaintenance-refresh.path does not trigger at boot? Show the logs:
    Here my log, looks similar as yours:

    Code:
    tablet:/home/hk # journalctl -b -u btrfs* 
    -- Logs begin at Sat 2020-02-01 21:27:37 CET, end at Sun 2020-03-22 11:49:35 CET. -- 
    Mär 22 10:52:25 tablet systemd[1]: Started Watch /etc/sysconfig/btrfsmaintenance. 
    Mär 22 10:52:25 tablet systemd[1]: Starting Update cron periods from /etc/sysconfig/btrfsmaintenance... 
    Mär 22 10:52:25 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh script btrfs-scrub.sh for uninstall 
    Mär 22 10:52:25 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh script btrfs-defrag.sh for uninstall 
    Mär 22 10:52:25 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh script btrfs-balance.sh for uninstall 
    Mär 22 10:52:25 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh script btrfs-trim.sh for uninstall 
    Mär 22 10:52:25 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh timer btrfs-scrub for monthly 
    Mär 22 10:52:25 tablet systemd[1]: Started Scrub btrfs filesystem, verify block checksums. 
    Mär 22 10:52:25 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh timer btrfs-defrag for none 
    Mär 22 10:52:26 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh timer btrfs-balance for weekly 
    Mär 22 10:52:26 tablet systemd[1]: Started Balance block groups on a btrfs filesystem. 
    Mär 22 10:52:26 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh timer btrfs-trim for none 
    Mär 22 10:52:27 tablet systemd[1]: btrfsmaintenance-refresh.service: Succeeded. 
    Mär 22 10:52:27 tablet systemd[1]: Started Update cron periods from /etc/sysconfig/btrfsmaintenance. 
    tablet:/home/hk #

  2. #12
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    1,273

    Default Re: /boot/efi is not mounted

    Quote Originally Posted by hkottmann View Post
    Here my log, looks similar as yours:

    Code:
    tablet:/home/hk # journalctl -b -u btrfs* 
    -- Logs begin at Sat 2020-02-01 21:27:37 CET, end at Sun 2020-03-22 11:49:35 CET. -- 
    Mär 22 10:52:25 tablet systemd[1]: Started Watch /etc/sysconfig/btrfsmaintenance. 
    Mär 22 10:52:25 tablet systemd[1]: Starting Update cron periods from /etc/sysconfig/btrfsmaintenance... 
    Mär 22 10:52:25 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh script btrfs-scrub.sh for uninstall 
    Mär 22 10:52:25 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh script btrfs-defrag.sh for uninstall 
    Mär 22 10:52:25 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh script btrfs-balance.sh for uninstall 
    Mär 22 10:52:25 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh script btrfs-trim.sh for uninstall 
    Mär 22 10:52:25 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh timer btrfs-scrub for monthly 
    Mär 22 10:52:25 tablet systemd[1]: Started Scrub btrfs filesystem, verify block checksums. 
    Mär 22 10:52:25 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh timer btrfs-defrag for none 
    Mär 22 10:52:26 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh timer btrfs-balance for weekly 
    Mär 22 10:52:26 tablet systemd[1]: Started Balance block groups on a btrfs filesystem. 
    Mär 22 10:52:26 tablet btrfsmaintenance-refresh-cron.sh[900]: Refresh timer btrfs-trim for none 
    Mär 22 10:52:27 tablet systemd[1]: btrfsmaintenance-refresh.service: Succeeded. 
    Mär 22 10:52:27 tablet systemd[1]: Started Update cron periods from /etc/sysconfig/btrfsmaintenance. 
    tablet:/home/hk #
    You have a problem: btrfsmaintenance-refresh-cron.sh gets invoked during boot. To help debugging provide:


    Code:
    erlangen:~ # systemctl cat btrfsmaintenance-refresh.path 
    # /usr/lib/systemd/system/btrfsmaintenance-refresh.path
    [Unit]
    Description=Watch /etc/sysconfig/btrfsmaintenance
    
    [Path]
    PathChanged=/etc/sysconfig/btrfsmaintenance
    
    [Install]
    WantedBy=multi-user.target
    
    # /etc/systemd/system/btrfsmaintenance-refresh.path.d/override.conf
    [Unit]
    After=local-fs.target
    
    erlangen:~ #

    and:

    Code:
    erlangen:~ # systemctl list-unit-files btrfs*
    UNIT FILE                        STATE   
    btrfsmaintenance-refresh.path    enabled 
    btrfs-balance.service            static  
    btrfs-defrag.service             static  
    btrfs-scrub.service              static  
    btrfs-trim.service               static  
    btrfsmaintenance-refresh.service disabled
    btrfs-balance.timer              enabled 
    btrfs-defrag.timer               enabled 
    btrfs-scrub.timer                enabled 
    btrfs-trim.timer                 disabled
    
    10 unit files listed.
    erlangen:~ #
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

  3. #13

    Default Re: /boot/efi is not mounted

    Quote Originally Posted by karlmistelberger View Post
    You have a problem: btrfsmaintenance-refresh-cron.sh gets invoked during boot. To help debugging provide:
    Thank you for your quick answer, here the results from my system:

    Code:
    tablet:/home/hk # systemctl cat btrfsmaintenance-refresh.path  
    # /usr/lib/systemd/system/btrfsmaintenance-refresh.path 
    [Unit] 
    Description=Watch /etc/sysconfig/btrfsmaintenance 
     
    [Path] 
    PathChanged=/etc/sysconfig/btrfsmaintenance 
     
    [Install] 
    WantedBy=multi-user.target 
     
    # /etc/systemd/system/btrfsmaintenance-refresh.path.d/override.conf 
    [Unit] 
    After=local-fs.target 
     
    tablet:/home/hk #
    and

    Code:
    tablet:/home/hk # systemctl list-unit-files btrfs* 
    UNIT FILE                        STATE    
    btrfsmaintenance-refresh.path    enabled  
    btrfs-balance.service            static   
    btrfs-defrag.service             static   
    btrfs-scrub.service              static   
    btrfs-trim.service               static   
    btrfsmaintenance-refresh.service enabled  
    btrfs-balance.timer              enabled  
    btrfs-defrag.timer               disabled 
    btrfs-scrub.timer                enabled  
    btrfs-trim.timer                 disabled 
     
    10 unit files listed. 
    tablet:/home/hk #

  4. #14
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    1,273

    Default Re: /boot/efi is not mounted

    Quote Originally Posted by hkottmann View Post
    Thank you for your quick answer, here the results from my system:

    Code:
    tablet:/home/hk # systemctl cat btrfsmaintenance-refresh.path  
    # /usr/lib/systemd/system/btrfsmaintenance-refresh.path 
    [Unit] 
    Description=Watch /etc/sysconfig/btrfsmaintenance 
     
    [Path] 
    PathChanged=/etc/sysconfig/btrfsmaintenance 
     
    [Install] 
    WantedBy=multi-user.target 
     
    # /etc/systemd/system/btrfsmaintenance-refresh.path.d/override.conf 
    [Unit] 
    After=local-fs.target 
     
    tablet:/home/hk #
    and

    Code:
    tablet:/home/hk # systemctl list-unit-files btrfs* 
    UNIT FILE                        STATE    
    btrfsmaintenance-refresh.path    enabled  
    btrfs-balance.service            static   
    btrfs-defrag.service             static   
    btrfs-scrub.service              static   
    btrfs-trim.service               static   
    btrfsmaintenance-refresh.service enabled  
    btrfs-balance.timer              enabled  
    btrfs-defrag.timer               disabled 
    btrfs-scrub.timer                enabled  
    btrfs-trim.timer                 disabled 
     
    10 unit files listed. 
    tablet:/home/hk #
    Run "systemctl disable btrfsmaintenance-refresh.service", reboot and check again: "journalctl -b -u btrfs*".
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

  5. #15

    Default Re: /boot/efi is not mounted

    Quote Originally Posted by karlmistelberger View Post
    Run "systemctl disable btrfsmaintenance-refresh.service", reboot and check again: "journalctl -b -u btrfs*".
    Thank for your help, now all partitions are mounted, here the output of journalctl -b -u btrfs*:

    Code:
    tablet:/home/hk # journalctl -b -u btrfs* 
    -- Logs begin at Sat 2020-02-01 21:27:37 CET, end at Sun 2020-03-22 14:24:38 CET. -- 
    Mär 22 14:23:43 tablet systemd[1]: Started Balance block groups on a btrfs filesystem. 
    Mär 22 14:23:43 tablet systemd[1]: Started Scrub btrfs filesystem, verify block checksums. 
    tablet:/home/hk #

  6. #16
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    1,273

    Default Re: /boot/efi is not mounted

    Quote Originally Posted by hkottmann View Post
    Thank for your help, now all partitions are mounted, here the output of journalctl -b -u btrfs*:

    Code:
    tablet:/home/hk # journalctl -b -u btrfs* 
    -- Logs begin at Sat 2020-02-01 21:27:37 CET, end at Sun 2020-03-22 14:24:38 CET. -- 
    Mär 22 14:23:43 tablet systemd[1]: Started Balance block groups on a btrfs filesystem. 
    Mär 22 14:23:43 tablet systemd[1]: Started Scrub btrfs filesystem, verify block checksums. 
    tablet:/home/hk #
    My machine has:

    Code:
    erlangen:~ # journalctl -b -u btrfs* -o short-monotonic 
    -- Logs begin at Thu 2020-02-06 15:16:08 CET, end at Sun 2020-03-22 19:21:54 CET. --
    [    5.607531] erlangen systemd[1]: Started Watch /etc/sysconfig/btrfsmaintenance.
    [   15.381285] erlangen systemd[1]: Started Balance block groups on a btrfs filesystem.
    [   15.381367] erlangen systemd[1]: Started Defragment file data and/or directory metadata.
    [   15.381452] erlangen systemd[1]: Started Scrub btrfs filesystem, verify block checksums.
    erlangen:~ #
    The bold unit is missing on your machine. You may want to check and enable:

    Code:
    erlangen:~ # systemctl status btrfsmaintenance-refresh.path 
    ● btrfsmaintenance-refresh.path - Watch /etc/sysconfig/btrfsmaintenance
         Loaded: loaded (/usr/lib/systemd/system/btrfsmaintenance-refresh.path; enabled; vendor preset: disabled)
        Drop-In: /etc/systemd/system/btrfsmaintenance-refresh.path.d
                 └─override.conf
         Active: active (waiting) since Sun 2020-03-22 19:11:54 CET; 12min ago
       Triggers: ● btrfsmaintenance-refresh.service
    
    Mar 22 19:11:54 erlangen systemd[1]: Started Watch /etc/sysconfig/btrfsmaintenance.
    erlangen:~ #
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

  7. #17

    Default Re: /boot/efi is not mounted

    Quote Originally Posted by karlmistelberger View Post
    My machine has:

    Code:
    erlangen:~ # journalctl -b -u btrfs* -o short-monotonic 
    -- Logs begin at Thu 2020-02-06 15:16:08 CET, end at Sun 2020-03-22 19:21:54 CET. --
    [    5.607531] erlangen systemd[1]: Started Watch /etc/sysconfig/btrfsmaintenance.
    [   15.381285] erlangen systemd[1]: Started Balance block groups on a btrfs filesystem.
    [   15.381367] erlangen systemd[1]: Started Defragment file data and/or directory metadata.
    [   15.381452] erlangen systemd[1]: Started Scrub btrfs filesystem, verify block checksums.
    erlangen:~ #
    I have enabled this service but what is it for and what is the one that is also missing on my system (bold marked above) and what is that one for?

  8. #18
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    1,273

    Default Re: /boot/efi is not mounted

    Quote Originally Posted by hkottmann View Post
    I have enabled this service but what is it for and what is the one that is also missing on my system (bold marked above) and what is that one for?
    There is comprehensive advice: https://github.com/kdave/btrfsmainte...ster/README.md

    Changes to settings are made in "Yast2 > Sysconfig Editor". To activate new settings btrfsmaintenance-refresh.service must run. This is triggered by btrfsmaintenance-refresh.path which senses changes of /etc/sysconfig/btrfsmaintenance.

    Typical settings of unit-files:

    Code:
    erlangen:~ # systemctl list-unit-files btrfs*
    UNIT FILE                        STATE   
    btrfsmaintenance-refresh.path    enabled 
    btrfs-balance.service            static  
    btrfs-defrag.service             static  
    btrfs-scrub.service              static  
    btrfs-trim.service               static  
    btrfsmaintenance-refresh.service disabled
    btrfs-balance.timer              enabled 
    btrfs-defrag.timer               enabled 
    btrfs-scrub.timer                enabled 
    btrfs-trim.timer                 disabled
    
    10 unit files listed.
    erlangen:~ #
    Timer settings, schedules and script parameters:

    Code:
    erlangen:~ # grep -v ^# /etc/sysconfig/btrfsmaintenance |grep -v ^\$
    BTRFS_LOG_OUTPUT="stdout"
    BTRFS_DEFRAG_PATHS="/"
    BTRFS_DEFRAG_PERIOD="daily"
    BTRFS_DEFRAG_MIN_SIZE="+1M"
    BTRFS_BALANCE_MOUNTPOINTS="/"
    BTRFS_BALANCE_PERIOD="weekly"
    BTRFS_BALANCE_DUSAGE="5 10"
    BTRFS_BALANCE_MUSAGE="3"
    BTRFS_SCRUB_MOUNTPOINTS="/"
    BTRFS_SCRUB_PERIOD="monthly"
    BTRFS_SCRUB_PRIORITY="idle"
    BTRFS_SCRUB_READ_ONLY="false"
    BTRFS_TRIM_PERIOD="none"
    BTRFS_TRIM_MOUNTPOINTS="/"
    erlangen:~ #
    Timer execution:

    Code:
    erlangen:~ # systemctl list-timers btrfs*
    NEXT                          LEFT                LAST                         PASSED             UNIT                ACTIVATES
    Tue 2020-03-24 00:00:00 CET   17h left            Mon 2020-03-23 03:41:28 CET  3h 17min ago       btrfs-defrag.timer  btrfs-defrag.service
    Mon 2020-03-30 00:00:00 CEST  6 days left         Mon 2020-03-23 03:41:28 CET  3h 17min ago       btrfs-balance.timer btrfs-balance.service
    Wed 2020-04-01 00:00:00 CEST  1 weeks 1 days left Sun 2020-03-01 04:10:04 CET  3 weeks 1 days ago btrfs-scrub.timer   btrfs-scrub.service
    
    3 timers listed.
    Pass --all to see loaded but inactive timers, too.
    erlangen:~ #
    Maintenance activity during boot:

    Code:
    erlangen:~ # journalctl -b -u btrfs* -o short-monotonic 
    -- Logs begin at Thu 2020-02-06 15:16:08 CET, end at Mon 2020-03-23 07:00:02 CET. --
    [    5.607531] erlangen systemd[1]: Started Watch /etc/sysconfig/btrfsmaintenance.
    [   15.381285] erlangen systemd[1]: Started Balance block groups on a btrfs filesystem.
    [   15.381367] erlangen systemd[1]: Started Defragment file data and/or directory metadata.
    [   15.381452] erlangen systemd[1]: Started Scrub btrfs filesystem, verify block checksums.
    erlangen:~ #
    Beware of btrfsmaintenance-refresh-cron.sh showing up during boot. You may experience serious trouble.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •