After login to SSB console the following error message appears on a red background:
Failed systemd units on boot firmware: fstrim.service
Fstrim is used on a mounted filesystem to discard blocks which are not in use by the filesystem.
This is useful for solid-state drives (SSDs) and thinly-provisioned storage.
The fstrim service is running on all SSB appliances even if no SSD device is used.
By default, fstrim runs every week on all mounted file systems. The only SSB appliance where fstrim is effective is a virtual appliance with 'SSD' type virtual disk.
lsblk -d /dev/sda -o name,rota
# Output of an SSD diskNAME ROTA
ROTA 0 = SSD
ROTA 1 = HDD
The fstrim daemon checks the accessibility of the mounted file systems. In case of any issue fstrim service fails.
These issues mostly indicate a disk or a virtual environment problem.
journalctl -u fstrim
Search for kernel logs in the 'local' logspace with the below search expression.
program:kernel OR program:fstrim
Example logs indicating a disk access issue.
kernel: [2101571.014968] sd 32:0:0:0: timing out command, waited 180s
kernel: [2101571.015024] sd 32:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK
kernel: [2101571.015032] sd 32:0:0:0: [sda] tag#0 CDB: Unmap/Read sub-channel 42 00 00 00 00 00 00 00 18 00
kernel: [2101571.015038] print_req_error: I/O error, dev sda, sector 8440120
fstrim: /mnt/drbd: FITRIM ioctl failed: Input/output error
fstrim: /initrd/mnt: FITRIM ioctl failed: Input/output error
Warning! If there is contstant disk access issue, the disk or the virtual environment must be checked.
systemctl restart fstrim
systemctl status fstrim
If the service still fails, open a support ticket and attached the follwing information: