Linux: Force a filesystem check (old and new way)
Systems with init.d:
1. touch /forcefsck
2. reboot
Systems with systemd:
1. check the current tune2fs setting
sudo tune2fs -l /dev/nvme0n1p3 | grep 'Maximum mount'
2. Set tune2fs to check
sudo tune2fs -c 1 /dev/nvme0n1p3
3. reboot
On reboot the drive partition will be scanned
4. After loggin back in set the system back:
sudo tune2fs -c -1 /dev/nvme0n1p2