fsck not working on second hdd mounted via fstab

Feb 3, 2022
64
5
13
28
Hello everyone,

the PBS should check periodic the filesystem of the Backup Store aswell as the root Disk.
For the Root-Disk it works normally but I checked when the last check of the Datastore was and its 2 Years ago. Which cant be right because the periodic check is enabled todo after all 2 Reboots or 2 weeks whatever comes first.
What did I miss?

Bash:
cat /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/pbs/root / ext4 errors=remount-ro 0 1
/dev/pbs/swap none swap sw 0 0
/dev/sdb1 /mnt/datastore/BackupStore ext4 defaults 0 2
proc /proc proc defaults 0 0

Bash:
tune2fs -l /dev/sdb1 | egrep -h 'Maximum mount count|Check interval|Last checked|Next check'
Maximum mount count:      2
Last checked:             Sun Aug  7 16:14:21 2022
Check interval:           1209600 (2 weeks)
Next check after:         Sun Aug 21 16:14:21 2022

Any help is really appreciated,

Kind regards
 
Hi,
what is the output of journalctl -u systemd-fsck@dev-sdb1?
 
Please try to run it manually by executing systemctl start systemd-fsck@dev-sdb1 and check the output of journalctl -u systemd-fsck@dev-sdb1 once again. According to man systemd-fsck your filesystems should be checked as passno is set to be non-zero in your fstab entry.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!