NZBGET: chown: changing ownership of '/mnt/dietpi_userdata/Pictures /Video / downloads': Read-only file system

Creating a bug report/issue

NZBGET: chown: changing ownership of ‘/mnt/dietpi_userdata/Pictures /Video / downloads’: Read-only file system

Required Information

  • DietPi version | cat /boot/dietpi/.version
    root@DietPi:~# cat /boot/dietpi/.version
    G_DIETPI_VERSION_CORE=8
    G_DIETPI_VERSION_SUB=12
    G_DIETPI_VERSION_RC=1
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘applied’
    root@DietPi:~#

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    root@DietPi:~# echo $G_DISTRO_NAME $G_RASPBIAN
    bullseye
    root@DietPi:~#

  • Kernel version | uname -a
    root@DietPi:~# uname -a
    Linux DietPi 5.15.80-rockchip64 #22.11.1 SMP PREEMPT Wed Nov 30 11:12:47 UTC 2022 aarch64 GNU/Linux
    root@DietPi:~#

  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
    root@DietPi:~# echo $G_HW_MODEL_NAME
    ROCKPro64 (aarch64)
    root@DietPi:~#

  • Power supply used | (EG: 5V 1A RAVpower)
    12V/5A

  • SD card used | (EG: SanDisk ultra)
    eMMC 16GB

Additional Information (if applicable)

Installation of NZBGET failure

  • Command:
chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video  ││ /mnt/dietpi_userdata/downloads
                                                                                       │
│  - Exit code: 1                                                                                                      │
│  - DietPi version: v8.12.1 (MichaIng/master) | HW_MODEL: 42 | HW_ARCH: 3 | DISTRO: 6                                 │
│  - Image creator: DietPi Core Team                                                                                   │
│  - Pre-image: from scratch                                                                                           │
│  - Error log:                                                                                                        │
│ chown: changing ownership of '/mnt/dietpi_userdata/Music': Read-only file system                                     │
│ chown: changing ownership of '/mnt/dietpi_userdata/Pictures': Read-only file system                                  │
│ chown: changing ownership of '/mnt/dietpi_userdata/Video': Read-only file system                                     │
│ chown: changing ownership of '/mnt/dietpi_userdata/downloads': Read-only file system

looks like your file system is not writable. You are running of a SD card? Can you check for kernel error messages

dmesg -l err,crit,alert,emerg

Goodmorning @Joulinar

Flashed DietPi to an 16GB eMMC card
Then did the standard DietPi setup

root@DietPi:~# dmesg -l err,crit,alert,emerg
[    1.457061] rockchip-usb2phy ff770000.syscon:usb2phy@e450: failed to create phy
[    1.458254] rockchip-usb2phy ff770000.syscon:usb2phy@e460: failed to create phy
[    4.264710] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    7.546181] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22
[ 2520.065605] ata1.00: exception Emask 0x10 SAct 0x20000 SErr 0x400000 action 0x6 frozen
[ 2520.065692] ata1.00: irq_stat 0x08000000, interface fatal error
[ 2520.065733] ata1: SError: { Handshk }
[ 2520.065782] ata1.00: failed command: WRITE FPDMA QUEUED
[ 2520.065819] ata1.00: cmd 61/c0:88:40:26:c0/02:00:04:00:00/40 tag 17 ncq dma 360448 out
                        res 40/00:88:40:26:c0/00:00:04:00:00/40 Emask 0x10 (ATA bus error)
[ 2520.065938] ata1.00: status: { DRDY }
[ 2530.066096] ata1: softreset failed (1st FIS failed)
[ 2540.066406] ata1: softreset failed (1st FIS failed)
[ 2575.066358] ata1: softreset failed (1st FIS failed)
[ 2580.065802] ata1: softreset failed (1st FIS failed)
[ 2580.065864] ata1: reset failed, giving up
[ 2580.066265] blk_update_request: I/O error, dev sda, sector 79701568 op 0x1:(WRITE) flags 0x800 phys_seg 88 prio class 0
[ 2580.066878] blk_update_request: I/O error, dev sda, sector 4882441624 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[ 2580.066989] Aborting journal on device sda1-8.
[ 2580.067201] blk_update_request: I/O error, dev sda, sector 4882434048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[ 2580.067276] blk_update_request: I/O error, dev sda, sector 4882434048 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[ 2580.067344] Buffer I/O error on dev sda1, logical block 610304000, lost sync page write
[ 2580.067428] JBD2: Error -5 detected when updating journal superblock for sda1-8.
[ 2585.314104] blk_update_request: I/O error, dev sda, sector 2088 op 0x1:(WRITE) flags 0x103000 phys_seg 1 prio class 0
[ 2585.314185] Buffer I/O error on dev sda1, logical block 5, lost async page write
[ 2867.098686] EXT4-fs error (device sda1): ext4_journal_check_start:83: comm chown: Detected aborted journal
[ 2867.098958] blk_update_request: I/O error, dev sda, sector 2048 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[ 2867.098989] blk_update_request: I/O error, dev sda, sector 2048 op 0x1:(WRITE) flags 0x3800 phys_seg 1 prio class 0
[ 2867.099011] Buffer I/O error on dev sda1, logical block 0, lost sync page write
[ 2867.099051] EXT4-fs (sda1): I/O error while writing superblock
[ 2867.099065] EXT4-fs (sda1): Remounting filesystem read-only
root@DietPi:~#

Before I installed NZBGet I connected the HDD, formatted it with EXT4
After formatting I moved the location of the User Data
And then I Set Swap to 1 > Auto size

DietPi-Drive_Manager
Mount target: /mnt/c46bc11d-3b25-4d6b-a4d7-286d3303672d
Mount source: /dev/sda1
Filesystem: ext4
UUID: c46bc11d-3b25-4d6b-a4d7-286d3303672d
Allocation: Capacity: 4.5TiB | Used: 48KiB (0%)
Status: Drive is online and ready for use
Read only: Enabled

Your external HDD seems to be corrupted and the system is trying to protect it by mounting the HDD read-only now. How is the HDD powered? Does it have an own PSU or just via SBC USB port. You could try using drive manager to check & repair your HDD.

Is that drive attached via USB or PCIe-SATA?

 e2fsck 1.46.2 (28-Feb-2021)                                                                                          │
                        │ e2fsck: Input/output error while trying to open /dev/sda1                                                            │
                        │                                                                                                                      │
                        │ The superblock could not be read or does not describe a valid ext2/ext3/ext4                                         │
                        │ filesystem.  If the device is valid and it really contains an ext2/ext3/ext4                                         │
                        │ filesystem (and not swap or ufs or something else), then the superblock                                              │
                        │ is corrupt, and you might try running e2fsck with an alternate superblock:                                           │
                        │     e2fsck -b 8193 <device>                                                                                          │
                        │  or                                                                                                                  │
                        │     e2fsck -b 32768 <device>
 Would you like to run an automated repair on the following drive now?                                                │
                        │ /dev/sda1                                                                                                            │
                        │                                                                                                                      │
                        │ NB:                                                                                                                  │
                        │ - Automated repair steps potentially lead to data loss, which would have been able to recover by professional drive  │
                        │ recovery services.                                                                                                   │
                        │ - If the data is extremely important and you don't have any backup, you might want to hand the drive to a recovery   │
                        │ service as is.                                                                                                       │
                        │ - These services are usually very expensive, but might be able to recover more data than (after) this automated      │
                        │ repair steps!
/tmp/sda          : /dev/sda | No filesystem / format required
                                                         │
                        │

Is that drive attached via USB or PCIe-SATA?

PCIe-SATA

Advise is NOT to move the location of the User Data
And NOT to Set Swap to 1 > Auto size

on a standard setup?

nobody told this. You have data corruption on your HDD. This could have various issues.

I needed to lookup and guess you use the PINE64 expansion card and power adapter cable: ROCKPro64 PCIe SATA Card - YouTube

Since all is powered by the SBC itself, stability relies on the PSU of the SBC. Do you use the official PSU or otherwise one which is assured to provide the required power at stable voltage?

EDIT: Generally it’s good to move userdata onto an external drive, especially if an SD card is used as system drive. But it adds additional power load to the system which may cause issues with bad quality or insufficient PSUs. The ATA kernel errors make me think that some powering or other controller issue is the underlying reason for the filesystem corruption.

just a question to my hero’s!

what is your advise?

strange that I noticed / experienced the HDD corruption after moving ands swapping…

Morning!

Back then I ordered the complete Pine64 NAS kit
But had from the beginning problems with there Pine PCI card
So they send me the “PCIe to sata 6G expansion card SU-SATA3-T2 v.005” wich I still use

The SBC incl. HDD is running on a 12V/5A AC/DC adapter

What about Swap?
A good idea or just neccesary?

this depends on individual system/memory usage

Since the ROCKPro64 has at least 2 GiB RAM, auto-size should result in no swap file at all :wink:. This setting sets the size so that 2 GiB overall memory is assured, which means zero swap if >= 2 GiB physical RAM is there. To check:

swapon

But if using a swap file, indeed it makes much sense on an external drive. Okay 12V/5A is more than sufficient. In theory there are PSUs which do not hold the voltage sufficiently stable, e.g. when designed for charging explicitly and not for powering devices, but unlikely in your case.

Repairing the drive did not work, right? It seems the superblock itself is damaged. Does this work?

e2fsck -b 32768 /dev/sda1

I just started all over again, flashing the eMMC and installing DietPi, formatting the HDD

Started with Nexcloud

again got a failure

Mount target: /mnt/c2464ab4-6613-435f-98ba-79bec89379de
Mount source: /dev/sda1
Filesystem:
UUID: c2464ab4-6613-435f-98ba-79bec89379de
Allocation: Capacity: 4.5TiB | Used: 1.2GiB (0%)
Status: Drive is online and ready for use
Read only: Enabled

Running check now
e2fsck -b 32768 /dev/sda1

root@hemertje:~# e2fsck -b 32768 /dev/sda1
e2fsck 1.46.2 (28-Feb-2021)
/dev/sda1 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes

root@hemertje:~# e2fsck -b 32768 /dev/sda1
e2fsck 1.46.2 (28-Feb-2021)
/dev/sda1 is mounted.
e2fsck: Cannot continue, aborting.


root@hemertje:~# dietpi-launcher
[ INFO ] DietPi-Drive_Manager | Detecting drives, please wait...
[ INFO ] DietPi-Drive_Manager |  - Detected mounted physical drive: /dev/mmcblk2p1 > /
[ INFO ] DietPi-Drive_Manager |  - Detected mounted physical drive: /dev/sda1 > /mnt/c2464ab4-6613-435f-98ba-79bec89379de
[  OK  ] DietPi-Drive_Manager | mv .fstab /etc/fstab
[  OK  ] DietPi-Drive_Manager | systemctl daemon-reload
[ INFO ] DietPi-Drive_Manager | Checking for required APT packages: e2fsprogs e2fsprogs
[  OK  ] DietPi-Drive_Manager | sync
[  OK  ] DietPi-Drive_Manager | umount /mnt/c2464ab4-6613-435f-98ba-79bec89379de
[  OK  ] DietPi-Drive_Manager | systemctl stop mnt-c2464ab4\x2d6613\x2d435f\x2d98ba\x2d79bec89379de.automount
[  OK  ] DietPi-Drive_Manager | rmdir /mnt/c2464ab4-6613-435f-98ba-79bec89379de
[ INFO ] DietPi-Drive_Manager | Detecting drives, please wait...
[ INFO ] DietPi-Drive_Manager |  - Detected mounted physical drive: /dev/mmcblk2p1 > /
[ INFO ] DietPi-Drive_Manager |  - Detected unmounted drive: /dev/sda1
[  OK  ] DietPi-Drive_Manager | mv .fstab /etc/fstab
[  OK  ] DietPi-Drive_Manager | systemctl daemon-reload
[  OK  ] DietPi-Drive_Manager | sync
root@hemertje:~# e2fsck -b 32768 /dev/sda1
e2fsck 1.46.2 (28-Feb-2021)
/dev/sda1 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inode 144310273 passes checks, but checksum does not match inode.  Fix<y>? yes
Inode 144310274 passes checks, but checksum does not match inode.  Fix<y>? yes
Inode 144310275 passes checks, but checksum does not match inode.  Fix<y>? yes
Inode 144310276 passes checks, but checksum does not match inode.  Fix<y>? yes
Inode 144310277 passes checks, but checksum does not match inode.  Fix<y>? yes
Pass 2: Checking directory structure
Directory inode 144310273, block #0: directory passes checks but fails checksum.
Fix<y>? yes
Directory inode 144310274, block #0: directory passes checks but fails checksum.
Fix<y>? yes
Directory inode 144310275, block #0: directory passes checks but fails checksum.
Fix<y>? yes
Directory inode 144310276, block #0: directory passes checks but fails checksum.
Fix<y>? yes
Directory inode 144310277, block #0: directory passes checks but fails checksum.
Fix ('a' enables 'yes' to all) <y>? yes to all
Pass 3: Checking directory connectivity
Unconnected directory inode 144310273 (/???)
Connect to /lost+found? yes

Pass 4: Checking reference counts
Inode 2 ref count is 4, should be 5.  Fix? yes

Inode 144310273 ref count is 7, should be 6.  Fix? yes

Pass 5: Checking group summary information
Block bitmap differences:  +(163840--165447) +(229376--230983) +(294912--296519) +(819200--820807) +(884736--886343) +(1605632--1607239) +(2654208--2655815) +(4096000--4097607) +(7962624--7964231) +(11239424--11241031) +(20480000--20481607) +(23887872--23889479) +(71663616--71665223) +(78675968--78677575) +(102400000--102401607) +(214990848--214992455) +(512000000--512001607) +(550731776--550733383) +(644972544--644974151) +(1154486304--1154486308)
Fix? yes

Free blocks count wrong for group #0 (27026, counted=23954).
Fix? yes

Free blocks count wrong for group #1 (31160, counted=2159).
Fix? yes

Free blocks count wrong for group #2 (32768, counted=3169).
Fix? yes

Free blocks count wrong for group #3 (31160, counted=6415).
Fix? yes

Free blocks count wrong for group #127 (32768, counted=18848).
Fix? yes

Free blocks count wrong for group #255 (32768, counted=32747).
Fix? yes

Free blocks count wrong for group #383 (32768, counted=32750).
Fix? yes

Free blocks count wrong for group #511 (32768, counted=32739).
Fix? yes

Free blocks count wrong for group #639 (32768, counted=32745).
Fix? yes

Free blocks count wrong for group #767 (32768, counted=32748).
Fix? yes

Free blocks count wrong for group #895 (32768, counted=32747).
Fix? yes

Free blocks count wrong for group #1023 (32768, counted=32692).
Fix? yes

Free blocks count wrong for group #1151 (32768, counted=32717).
Fix? yes

Free blocks count wrong for group #1279 (32768, counted=32669).
Fix? yes

Free blocks count wrong for group #1407 (32768, counted=32750).
Fix? yes

Free blocks count wrong for group #1535 (32768, counted=32747).
Fix? yes

Free blocks count wrong for group #1663 (32768, counted=32747).
Fix? yes

Free blocks count wrong for group #1791 (32768, counted=32744).
Fix? yes

Free blocks count wrong for group #1919 (32768, counted=32729).
Fix? yes

Free blocks count wrong for group #2047 (32768, counted=32681).
Fix? yes

Free blocks count wrong for group #2175 (32768, counted=32728).
Fix? yes

Free blocks count wrong for group #2303 (32768, counted=32734).
Fix? yes

Free blocks count wrong for group #2431 (32768, counted=32732).
Fix? yes

Free blocks count wrong for group #2559 (32768, counted=32746).
Fix? yes

Free blocks count wrong for group #2687 (32768, counted=32749).
Fix? yes

Free blocks count wrong for group #2815 (32768, counted=32747).
Fix? yes

Free blocks count wrong for group #2943 (32768, counted=32723).
Fix? yes

Free blocks count wrong for group #3071 (32768, counted=32737).
Fix? yes

Free blocks count wrong for group #3199 (32768, counted=32733).
Fix? yes

Free blocks count wrong for group #3327 (32768, counted=32734).
Fix? yes

Free blocks count wrong for group #3455 (32768, counted=32735).
Fix? yes

Free blocks count wrong for group #3583 (32768, counted=32732).
Fix? yes

Free blocks count wrong for group #3711 (32768, counted=32750).
Fix? yes

Free blocks count wrong for group #3839 (32768, counted=32747).
Fix? yes

Free blocks count wrong for group #3967 (32768, counted=32716).
Fix? yes

Free blocks count wrong for group #4095 (32768, counted=32728).
Fix? yes

Free blocks count wrong for group #4223 (32768, counted=32726).
Fix? yes

Free blocks count wrong for group #4351 (32768, counted=32725).
Fix? yes

Free blocks count wrong for group #4479 (32768, counted=32690).
Fix? yes

Free blocks count wrong for group #4607 (32768, counted=32714).
Fix? yes

Free blocks count wrong for group #4735 (32768, counted=32726).
Fix? yes

Free blocks count wrong for group #4863 (32768, counted=32687).
Fix? yes

Free blocks count wrong for group #4991 (32768, counted=32714).
Fix? yes

Free blocks count wrong for group #5119 (32768, counted=32711).
Fix? yes

Free blocks count wrong for group #5247 (32768, counted=32726).
Fix? yes

Free blocks count wrong for group #5375 (32768, counted=32739).
Fix? yes

Free blocks count wrong for group #5503 (32768, counted=32676).
Fix? yes

Free blocks count wrong for group #5631 (32768, counted=32708).
Fix? yes

Free blocks count wrong for group #5759 (32768, counted=32722).
Fix? yes

Free blocks count wrong for group #5887 (32768, counted=32728).
Fix? yes

Free blocks count wrong for group #6015 (32768, counted=32705).
Fix? yes

Free blocks count wrong for group #6143 (32768, counted=32733).
Fix? yes

Free blocks count wrong for group #6271 (32768, counted=32741).
Fix? yes

Free blocks count wrong for group #6399 (32768, counted=32713).
Fix? yes

Free blocks count wrong for group #6527 (32768, counted=32733).
Fix? yes

Free blocks count wrong for group #6655 (32768, counted=32703).
Fix? yes

Free blocks count wrong for group #6783 (32768, counted=32701).
Fix? yes

Free blocks count wrong for group #6911 (32768, counted=32687).
Fix? yes

Free blocks count wrong for group #7039 (32768, counted=32709).
Fix? yes

Free blocks count wrong for group #7167 (32768, counted=32738).
Fix? yes

Free blocks count wrong for group #7295 (32768, counted=32666).
Fix? yes

Free blocks count wrong for group #7423 (32768, counted=32740).
Fix? yes

Free blocks count wrong for group #7551 (32768, counted=32738).
Fix? yes

Free blocks count wrong for group #7679 (32768, counted=32725).
Fix? yes

Free blocks count wrong for group #7807 (32768, counted=32727).
Fix? yes

Free blocks count wrong for group #7935 (32768, counted=32673).
Fix? yes

Free blocks count wrong for group #8063 (32768, counted=32734).
Fix? yes

Free blocks count wrong for group #8191 (32768, counted=32098).
Fix? yes

Free blocks count wrong for group #8319 (32768, counted=32038).
Fix? yes

Free blocks count wrong for group #8447 (32768, counted=32251).
Fix? yes

Free blocks count wrong for group #8575 (32768, counted=31965).
Fix? yes

Free blocks count wrong for group #8703 (32768, counted=32412).
Fix? yes

Free blocks count wrong for group #8831 (32768, counted=32626).
Fix? yes

Free blocks count wrong for group #8959 (32768, counted=32076).
Fix? yes

Free blocks count wrong for group #9087 (32768, counted=32711).
Fix? yes

Free blocks count wrong for group #9215 (32768, counted=32726).
Fix? yes

Free blocks count wrong for group #9343 (32768, counted=32743).
Fix? yes

Free blocks count wrong for group #9471 (32768, counted=32744).
Fix? yes

Free blocks count wrong for group #9599 (32768, counted=32698).
Fix? yes

Free blocks count wrong for group #9727 (32768, counted=32713).
Fix? yes

Free blocks count wrong for group #9855 (32768, counted=32745).
Fix? yes

Free blocks count wrong for group #9983 (32768, counted=32713).
Fix? yes

Free blocks count wrong for group #10111 (32768, counted=32727).
Fix? yes

Free blocks count wrong for group #10239 (32768, counted=32614).
Fix? yes

Free blocks count wrong for group #10367 (32768, counted=32738).
Fix? yes

Free blocks count wrong for group #10495 (32768, counted=32738).
Fix? yes

Free blocks count wrong for group #10623 (32768, counted=32709).
Fix? yes

Free blocks count wrong for group #10751 (32768, counted=32733).
Fix? yes

Free blocks count wrong for group #10879 (32768, counted=32729).
Fix? yes

Free blocks count wrong for group #11007 (32768, counted=32669).
Fix? yes

Free blocks count wrong for group #11135 (32768, counted=32715).
Fix? yes

Free blocks count wrong for group #11263 (32768, counted=32522).
Fix? yes

Free blocks count wrong for group #11391 (32768, counted=32737).
Fix? yes

Free blocks count wrong for group #11519 (32768, counted=32734).
Fix? yes

Free blocks count wrong for group #11647 (32768, counted=32725).
Fix? yes

Free blocks count wrong for group #11775 (32768, counted=32723).
Fix? yes

Free blocks count wrong for group #11903 (32768, counted=32710).
Fix? yes

Free blocks count wrong for group #12031 (32768, counted=32669).
Fix? yes

Free blocks count wrong for group #12159 (32768, counted=32669).
Fix? yes

Free blocks count wrong for group #12287 (32768, counted=32669).
Fix? yes

Free blocks count wrong for group #12415 (32768, counted=32669).
Fix? yes

Free blocks count wrong for group #12543 (32768, counted=32669).
Fix? yes

Free blocks count wrong for group #12671 (32768, counted=32669).
Fix? yes

Free blocks count wrong for group #12799 (32768, counted=32669).
Fix? yes

Free blocks count wrong for group #12927 (32768, counted=32669).
Fix? yes

Free blocks count wrong for group #13055 (32768, counted=32669).
Fix? yes

Free blocks count wrong for group #13183 (32768, counted=32669).
Fix? yes

Free blocks count wrong for group #13311 (32768, counted=32696).
Fix? yes

Free blocks count wrong for group #13439 (32768, counted=32658).
Fix? yes

Free blocks count wrong for group #13567 (32768, counted=32709).
Fix? yes

Free blocks count wrong for group #13695 (32768, counted=32682).
Fix? yes

Free blocks count wrong for group #13823 (32768, counted=32714).
Fix? yes

Free blocks count wrong for group #13951 (32768, counted=32714).
Fix? yes

Free blocks count wrong for group #14079 (32768, counted=32743).
Fix? yes

Free blocks count wrong for group #14207 (32768, counted=32714).
Fix? yes

Free blocks count wrong for group #14335 (32768, counted=32704).
Fix? yes

Free blocks count wrong for group #14463 (32768, counted=32715).
Fix? yes

Free blocks count wrong for group #14591 (32768, counted=32720).
Fix? yes

Free blocks count wrong for group #14719 (32768, counted=32711).
Fix? yes

Free blocks count wrong for group #14847 (32768, counted=32737).
Fix? yes

Free blocks count wrong for group #14975 (32768, counted=32691).
Fix? yes

Free blocks count wrong for group #15103 (32768, counted=32742).
Fix? yes

Free blocks count wrong for group #15231 (32768, counted=32688).
Fix? yes

Free blocks count wrong for group #15359 (32768, counted=32739).
Fix? yes

Free blocks count wrong for group #15487 (32768, counted=32720).
Fix? yes

Free blocks count wrong for group #15615 (32768, counted=32659).
Fix? yes

Free blocks count wrong for group #15743 (32768, counted=32739).
Fix? yes

Free blocks count wrong for group #15871 (32768, counted=32733).
Fix? yes

Free blocks count wrong for group #15999 (32768, counted=32680).
Fix? yes

Free blocks count wrong for group #16127 (32768, counted=32743).
Fix? yes

Free blocks count wrong for group #16255 (32768, counted=32717).
Fix? yes

Free blocks count wrong for group #16383 (32768, counted=32729).
Fix? yes

Free blocks count wrong for group #16511 (32768, counted=32713).
Fix? yes

Free blocks count wrong for group #16639 (32768, counted=32745).
Fix? yes

Free blocks count wrong for group #16767 (32768, counted=32742).
Fix? yes

Free blocks count wrong for group #16895 (32768, counted=32696).
Fix? yes

Free blocks count wrong for group #17023 (32768, counted=32719).
Fix? yes

Free blocks count wrong for group #17151 (32768, counted=32743).
Fix? yes

Free blocks count wrong for group #17279 (32768, counted=32712).
Fix? yes

Free blocks count wrong for group #17407 (32768, counted=32743).
Fix? yes

Free blocks count wrong for group #17535 (32768, counted=32714).
Fix? yes

Free blocks count wrong for group #17663 (32768, counted=32713).
Fix? yes

Free blocks count wrong for group #17791 (32768, counted=32734).
Fix? yes

Free blocks count wrong for group #17919 (32768, counted=32691).
Fix? yes

Free blocks count wrong for group #18047 (32768, counted=32745).
Fix? yes

Free blocks count wrong for group #18175 (32768, counted=32712).
Fix? yes

Free blocks count wrong for group #18303 (32768, counted=32712).
Fix? yes

Free blocks count wrong for group #18431 (32768, counted=32719).
Fix? yes

Free blocks count wrong for group #18559 (32768, counted=32695).
Fix? yes

Free blocks count wrong for group #18687 (32768, counted=32651).
Fix? yes

Free blocks count wrong for group #18815 (32768, counted=32741).
Fix? yes

Free blocks count wrong for group #18943 (32768, counted=32743).
Fix? yes

Free blocks count wrong for group #19071 (32768, counted=32743).
Fix? yes

Free blocks count wrong for group #19199 (32768, counted=32717).
Fix? yes

Free blocks count wrong for group #19327 (32768, counted=32743).
Fix? yes

Free blocks count wrong for group #19455 (32768, counted=32729).
Fix? yes

Free blocks count wrong for group #19583 (32768, counted=32743).
Fix? yes

Free blocks count wrong for group #19711 (32768, counted=32708).
Fix? yes

Free blocks count wrong for group #19839 (32768, counted=32697).
Fix? yes

Free blocks count wrong for group #19967 (32768, counted=32711).
Fix? yes

Free blocks count wrong for group #20095 (32768, counted=32741).
Fix? yes

Free blocks count wrong for group #20223 (32768, counted=32663).
Fix? yes

Free blocks count wrong for group #20351 (32768, counted=32713).
Fix? yes

Free blocks count wrong for group #20479 (32768, counted=32724).
Fix? yes

Free blocks count wrong for group #20607 (32768, counted=32715).
Fix? yes

Free blocks count wrong for group #20735 (32768, counted=32682).
Fix? yes

Free blocks count wrong for group #20863 (32768, counted=32610).
Fix? yes

Free blocks count wrong for group #20991 (32768, counted=32738).
Fix? yes

Free blocks count wrong for group #21119 (32768, counted=32737).
Fix? yes

Free blocks count wrong for group #21247 (32768, counted=32727).
Fix? yes

Free blocks count wrong for group #21375 (32768, counted=32662).
Fix? yes

Free blocks count wrong for group #21503 (32768, counted=31663).
Fix? yes

Free blocks count wrong for group #21631 (32768, counted=32741).
Fix? yes

Free blocks count wrong for group #21759 (32768, counted=32727).
Fix? yes

Free blocks count wrong for group #21887 (32768, counted=31941).
Fix? yes

Free blocks count wrong for group #22015 (32768, counted=32496).
Fix? yes

Free blocks count wrong for group #22143 (32768, counted=32714).
Fix? yes

Free blocks count wrong for group #22271 (32768, counted=32726).
Fix? yes

Free blocks count wrong for group #22399 (32768, counted=32711).
Fix? yes

Free blocks count wrong for group #22527 (32768, counted=32728).
Fix? yes

Free blocks count wrong for group #22655 (32768, counted=32711).
Fix? yes

Free blocks count wrong for group #22783 (32768, counted=32694).
Fix? yes

Free blocks count wrong for group #22911 (32768, counted=32616).
Fix? yes

Free blocks count wrong for group #23039 (32768, counted=32709).
Fix? yes

Free blocks count wrong for group #23167 (32768, counted=32745).
Fix? yes

Free blocks count wrong for group #23295 (32768, counted=32737).
Fix? yes

Free blocks count wrong for group #23423 (32768, counted=32745).
Fix? yes

Free blocks count wrong for group #23551 (32768, counted=32704).
Fix? yes

Free blocks count wrong for group #23679 (32768, counted=32733).
Fix? yes

Free blocks count wrong for group #23807 (32768, counted=32726).
Fix? yes

Free blocks count wrong for group #23935 (32768, counted=32714).
Fix? yes

Free blocks count wrong for group #24063 (32768, counted=32649).
Fix? yes

Free blocks count wrong for group #24191 (32768, counted=32720).
Fix? yes

Free blocks count wrong for group #24319 (32768, counted=32729).
Fix? yes

Free blocks count wrong for group #24447 (32768, counted=32741).
Fix? yes

Free blocks count wrong for group #24575 (32768, counted=32703).
Fix? yes

Free blocks count wrong for group #24703 (32768, counted=32678).
Fix? yes

Free blocks count wrong for group #24831 (32768, counted=32729).
Fix? yes

Free blocks count wrong for group #24959 (32768, counted=32729).
Fix? yes

Free blocks count wrong for group #25087 (32768, counted=32638).
Fix? yes

Free blocks count wrong for group #25215 (32768, counted=32706).
Fix? yes

Free blocks count wrong for group #25343 (32768, counted=32727).
Fix? yes

Free blocks count wrong for group #25471 (32768, counted=32676).
Fix? yes

Free blocks count wrong for group #25599 (32768, counted=32710).
Fix? yes

Free blocks count wrong for group #25727 (32768, counted=32654).
Fix? yes

Free blocks count wrong for group #25855 (32768, counted=32705).
Fix? yes

Free blocks count wrong for group #25952 (28640, counted=26630).
Fix? yes

Free blocks count wrong for group #25953 (32768, counted=605).
Fix? yes

Free blocks count wrong for group #25957 (32768, counted=121).
Fix? yes

Free blocks count wrong for group #25968 (28640, counted=28544).
Fix? yes

Free blocks count wrong for group #25969 (32768, counted=26342).
Fix? yes

Free blocks count wrong for group #25970 (32768, counted=32256).
Fix? yes

Free blocks count wrong for group #25983 (32768, counted=32658).
Fix? yes

Free blocks count wrong for group #26111 (32768, counted=32712).
Fix? yes

Free blocks count wrong for group #26239 (32768, counted=32716).
Fix? yes

Free blocks count wrong for group #26367 (32768, counted=32729).
Fix? yes

Free blocks count wrong for group #26495 (32768, counted=32683).
Fix? yes

Free blocks count wrong for group #26623 (32768, counted=32739).
Fix? yes

Free blocks count wrong for group #26751 (32768, counted=32734).
Fix? yes

Free blocks count wrong for group #26879 (32768, counted=32739).
Fix? yes

Free blocks count wrong for group #27007 (32768, counted=32727).
Fix? yes

Free blocks count wrong for group #27135 (32768, counted=32744).
Fix? yes

Free blocks count wrong for group #27263 (32768, counted=32675).
Fix? yes

Free blocks count wrong for group #27391 (32768, counted=32726).
Fix? yes

Free blocks count wrong for group #27519 (32768, counted=32708).
Fix? yes

Free blocks count wrong for group #27647 (32768, counted=32681).
Fix? yes

Free blocks count wrong for group #27775 (32768, counted=32695).
Fix? yes

Free blocks count wrong for group #27808 (28640, counted=27009).
Fix? yes

Free blocks count wrong for group #27809 (32768, counted=1241).
Fix? yes

Free blocks count wrong for group #27810 (32768, counted=615).
Fix? yes

Free blocks count wrong for group #27813 (32768, counted=6493).
Fix? yes

Free blocks count wrong for group #27824 (28640, counted=26389).
Fix? yes

Free blocks count wrong for group #27827 (32768, counted=11422).
Fix? yes

Free blocks count wrong for group #27903 (32768, counted=32720).
Fix? yes

Free blocks count wrong for group #28031 (32768, counted=32633).
Fix? yes

Free blocks count wrong for group #28159 (32768, counted=32689).
Fix? yes

Free blocks count wrong for group #28287 (32768, counted=32727).
Fix? yes

Free blocks count wrong for group #28415 (32768, counted=32712).
Fix? yes

Free blocks count wrong for group #28543 (32768, counted=32714).
Fix? yes

Free blocks count wrong for group #28671 (32768, counted=32711).
Fix? yes

Free blocks count wrong for group #28799 (32768, counted=32716).
Fix? yes

Free blocks count wrong for group #28927 (32768, counted=32711).
Fix? yes

Free blocks count wrong for group #29055 (32768, counted=32745).
Fix? yes

Free blocks count wrong for group #29183 (32768, counted=32711).
Fix? yes

Free blocks count wrong for group #29311 (32768, counted=32728).
Fix? yes

Free blocks count wrong for group #29439 (32768, counted=32711).
Fix? yes

Free blocks count wrong for group #29567 (32768, counted=32686).
Fix? yes

Free blocks count wrong for group #29695 (32768, counted=32711).
Fix? yes

Free blocks count wrong for group #29823 (32768, counted=32739).
Fix? yes

Free blocks count wrong for group #29951 (32768, counted=32740).
Fix? yes

Free blocks count wrong for group #30079 (32768, counted=32695).
Fix? yes

Free blocks count wrong for group #30207 (32768, counted=32662).
Fix? yes

Free blocks count wrong for group #30335 (32768, counted=32745).
Fix? yes

Free blocks count wrong for group #30463 (32768, counted=32709).
Fix? yes

Free blocks count wrong for group #30591 (32768, counted=32729).
Fix? yes

Free blocks count wrong for group #30719 (32768, counted=32678).
Fix? yes

Free blocks count wrong for group #30847 (32768, counted=32701).
Fix? yes

Free blocks count wrong for group #30975 (32768, counted=32727).
Fix? yes

Free blocks count wrong for group #31103 (32768, counted=32714).
Fix? yes

Free blocks count wrong for group #31231 (32768, counted=32729).
Fix? yes

Free blocks count wrong for group #31359 (32768, counted=32728).
Fix? yes

Free blocks count wrong for group #31487 (32768, counted=32680).
Fix? yes

Free blocks count wrong for group #31615 (32768, counted=32725).
Fix? yes

Free blocks count wrong for group #31743 (32768, counted=32707).
Fix? yes

Free blocks count wrong for group #35232 (28640, counted=28635).
Fix? yes

Free blocks count wrong (1211031471, counted=1210722906).
Fix? yes

Free inodes count wrong for group #25952 (4096, counted=0).
Fix? yes

Directories count wrong for group #25952 (0, counted=584).
Fix? yes

Free inodes count wrong for group #25953 (4096, counted=0).
Fix? yes

Directories count wrong for group #25953 (0, counted=598).
Fix? yes

Free inodes count wrong for group #25954 (4096, counted=0).
Fix? yes

Directories count wrong for group #25954 (0, counted=437).
Fix? yes

Free inodes count wrong for group #25955 (4096, counted=0).
Fix? yes

Directories count wrong for group #25955 (0, counted=255).
Fix? yes

Free inodes count wrong for group #25956 (4096, counted=2863).
Fix? yes

Free inodes count wrong for group #25968 (4096, counted=2302).
Fix? yes

Directories count wrong for group #25968 (0, counted=86).
Fix? yes

Free inodes count wrong for group #27808 (4096, counted=0).
Fix? yes

Directories count wrong for group #27808 (0, counted=480).
Fix? yes

Free inodes count wrong for group #27809 (4096, counted=0).
Fix? yes

Directories count wrong for group #27809 (0, counted=438).
Fix? yes

Free inodes count wrong for group #27810 (4096, counted=0).
Fix? yes

Directories count wrong for group #27810 (0, counted=295).
Fix? yes

Free inodes count wrong for group #27811 (4096, counted=0).
Fix? yes

Directories count wrong for group #27811 (0, counted=396).
Fix? yes

Free inodes count wrong for group #27812 (4096, counted=4069).
Fix? yes

Free inodes count wrong for group #27824 (4096, counted=0).
Fix? yes

Directories count wrong for group #27824 (0, counted=440).
Fix? yes

Free inodes count wrong for group #27825 (4096, counted=0).
Fix? yes

Directories count wrong for group #27825 (0, counted=958).
Fix? yes

Free inodes count wrong for group #27826 (4096, counted=1358).
Fix? yes

Directories count wrong for group #27826 (0, counted=838).
Fix? yes

Free inodes count wrong for group #35232 (4096, counted=4091).
Fix? yes

Directories count wrong for group #35232 (0, counted=5).
Fix? yes

Free inodes count wrong (152621045, counted=152574288).
Fix? yes

Padding at end of inode bitmap is not set. Fix? yes


/dev/sda1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda1: 46768/152621056 files (0.1% non-contiguous), 10219430/1220942336 blocks
root@hemertje:~#

The drive was freshly formatted before? Are there still those ata1 errors in

dmesg -l 0,1,2,3

? Those look like controller issues to me. Or the physical connection of either the PCIe card or the drive isn’t good.