Btrfs maintenance

What features of btrfs maintenance is enabled in Tumbleweed?

1 Like

Hi
You can check via YaST services to see which ones are active, or check the status via;


systemctl status btrfs*

[QUOTE=malcolmlewis;3120778]Hi
You can check via YaST services to see which ones are active, or check the status via;


systemctl status btrfs*

/QUOTE
I couldn’t find yast services

[quote="“rmsickler,post:3,topic:150603”]

Hi
If you fire up YaST2 then under System -> Service Manager?

https://forums.opensuse.org/attachment.php?attachmentid=1084&stc=1

Status and schedule information:

**erlangen:~ #** systemctl list-units btrfs*  
  UNIT                          LOAD   ACTIVE SUB     DESCRIPTION                                   
  btrfsmaintenance-refresh.path loaded active waiting Watch /etc/sysconfig/btrfsmaintenance         
  btrfs-balance.timer           loaded active waiting Balance block groups on a btrfs filesystem 
  btrfs-scrub.timer             loaded active waiting Scrub btrfs filesystem, verify block checksums 

LOAD   = Reflects whether the unit definition was properly loaded. 
ACTIVE = The high-level unit activation state, i.e. generalization of SUB. 
SUB    = The low-level unit activation state, values depend on unit type. 
**3 loaded units listed.** Pass --all to see loaded but inactive units, too. 
To show all installed unit files use 'systemctl list-unit-files'. 
**erlangen:~ #** systemctl list-timers btrfs*        
NEXT                         LEFT                LAST                         PASSED     UNIT                ACTIVATES            
Mon 2022-05-09 00:00:00 CEST 1 day 14h left      Mon 2022-05-02 03:16:51 CEST 5 days ago btrfs-balance.timer btrfs-balance.service 
Wed 2022-06-01 00:00:00 CEST 3 weeks 3 days left Sun 2022-05-01 04:42:51 CEST 6 days ago btrfs-scrub.timer   btrfs-scrub.service 

**2 timers listed.**
Pass --all to see loaded but inactive timers, too. 
**erlangen:~ #**

Logs:

**erlangen:~ #** journalctl -q -u btrfs* -p notice  
**erlangen:~ #**