ada0 at ahcich0 bus 0 scbus0 target 0 lun 0ada0: ATA8-ACS SATA 3.x deviceada0: Serial Number 50026B7268061F0Dada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)ada0: Command Queueing enabledada0: 28626MB (58626288 512 byte sectors)Trying to mount root from ufs:/dev/gpt/rootfs [rw,noatime]...WARNING: /mnt was not properly dismountedWARNING: /mnt: mount pending error: blocks 224 files 3WARNING: /mnt: reload pending error: blocks 224 files 3WARNING: /mnt: reload pending error: blocks 224 files 3WARNING: /mnt: reload pending error: blocks 224 files 3
root@opnsense:~ # fsck -f /dev/gpt/rootfs** /dev/gpt/rootfs (NO WRITE)** Last Mounted on /mnt** Root file system** Phase 1 - Check Blocks and Sizes** Phase 2 - Check Pathnames** Phase 3 - Check Connectivity** Phase 4 - Check Reference Counts** Phase 5 - Check Cyl groups71629 files, 512368 used, 6327308 free (14868 frags, 789055 blocks, 0.2% fragmentation)root@opnsense:~ # fsck -f /dev/gpt/rootfs** /dev/gpt/rootfs (NO WRITE)** Last Mounted on /mnt** Root file system** Phase 1 - Check Blocks and Sizes** Phase 2 - Check Pathnames** Phase 3 - Check Connectivity** Phase 4 - Check Reference Counts** Phase 5 - Check Cyl groups71629 files, 512368 used, 6327308 free (14868 frags, 789055 blocks, 0.2% fragmentation)root@opnsense:~ # fsck -f /dev/gpt/rootfs** /dev/gpt/rootfs (NO WRITE)** Last Mounted on /mnt** Root file system** Phase 1 - Check Blocks and SizesINCORRECT BLOCK COUNT I=1605346 (8 should be 0)CORRECT? noINCORRECT BLOCK COUNT I=1605347 (120 should be 0)CORRECT? no** Phase 2 - Check Pathnames** Phase 3 - Check Connectivity** Phase 4 - Check Reference Counts** Phase 5 - Check Cyl groupsFREE BLK COUNT(S) WRONG IN SUPERBLKSALVAGE? noSUMMARY INFORMATION BADSALVAGE? noBLK(S) MISSING IN BIT MAPSSALVAGE? no71629 files, 512351 used, 6327292 free (14860 frags, 789054 blocks, 0.2% fragmentation)
Opnsense version 21.7 has a huge gap in disk management.
@lynixNEVER run fsck on a live read-write mounted filesystem. NEVER!You must connect a console, boot into single user mode an run fsck with the filesystem mounted read-only.